跳到正文

Date, Time, And Useful Commands

Adds some commands, for Dynamic Times,

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

Version: 1.0.0

Platform: NeoForge 1.21.1

Developer: Created using MCreator

This utility mod adds administrative commands and entity attributes to enhance gameplay control and information accessibility. It focuses on movement manipulation, time logging, and combat mechanics.


### Key Features

1. Utility Commands

  • /boost: Instantly launches the executing entity into the air.

    • Functionality: Applies a vertical velocity (Y-axis) of 1 while keeping X and Z movement at 0.

    • Permission: No requirement (available to all players by default).

  • //Current-Time: A diagnostic command that displays the real-world date and time.

    • Functionality: Sends a chat message in a bold, dark-gray format (#333333).

    • Format: Day of week, Month Day, Year - HH:mm followed by the name of the entity who ran the command.

2. Combat Attributes

  • Entity Swing No Cooldown: A custom attribute added to the game (CUSTOM:EntitySwingCooldown).

    • Logic: If this attribute value is set to 1, the mod automatically resets the attack cooldown for the item in the entity’s hand to 0 ticks.

    • Affected Entities: This attribute is applied to all Players and Bats by default.


### Technical Details

  • Namespace: datetime_and_useful_commands

  • Language Support: English (US) included.

  • Procedures:

    • BoostFunction: Handles the logic for the entity push.

    • CurrentTimeFunction: Handles the time-to-string formatting and chat broadcasting.

    • SwingCooldown: A conditional check that runs to bypass weapon swing delays based on the custom attribute.

 

常见问题

Date, Time, And Useful Commands 支持哪些 Minecraft 版本?

Date, Time, And Useful Commands 支持 Minecraft Java 版 1.21.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。

Date, Time, And Useful Commands 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

Lucas_the_Cool 的其他作品

查看全部 →