Timewarp

需要 Fabric API。同时兼容 NeoForge,需使用 Sinytra Connector,并需要 Forgified Fabric API。
Timewarp 是一款 Minecraft 模组,以有趣的方式重现了经典的游戏机制!它添加了带有旧版玩法的随机挑战,并允许你创建可以启用复古机制的区域。自定义所有内容,找回老版本 Minecraft 的感觉。
模组数据保存在世界根文件夹下的 timewarp_data.json 中。这包括所有配置设置、时空扭曲区域(timewarp areas)和切换设置,使你的 Timewarp 设置专属于当前世界。
使用方法
要设置一个 Timewarp 区域:
- 使用 Timewarp Axe 选择角点:
- 左键点击 方块以设置第一个角点。
- 右键点击 方块以设置第二个角点。
- 运行
/timewarp create [name] 使用选定的角点创建区域。将 [name] 替换为你区域的自定义名称,例如 /timewarp create "Minecraft Alpha"。
如果你手持 Timewarp Axe,你将能够视觉上看到渲染距离内的区域。
旧版机制
概览
allowStacking:防止食物物品堆叠。
oldMinecart:玩家头部跟随矿车的方向移动。
oldAnimalBehavior:绵羊、鸡和牛不再掉落食物。击打绵羊会掉落羊毛。
allowSprinting:切换是否允许冲刺,如同早期 Minecraft 版本。
versionText:在屏幕上显示经典的版本文本。
oldGUI:模仿经典的玩家 HUD。启用旧的进食系统,其中食物直接恢复生命值(没有饥饿值条),并移除进食动画。
noFrontView:禁用正面视角的玩家视图,如同早期版本。
noSneaking:禁用潜行。
noSwimming:禁用游泳,如同 1.13 之前的版本。
oldCombat:将战斗机制恢复到早期版本,移除攻击冷却。
noTrading:禁用与村民的交易。
oldLook:使用旧版纹理。
noSmoothLighting:禁用平滑光照。
命令
/timewarp - 访问 Timewarp 功能的通用命令
- 授予 玩家一把 Timewarp Axe,允许操作 Timewarp 区域。
/timewarp create [name] - 创建 Timewarp 区域
- 创建 一个由两个选定角点定义的 Timewarp 区域。
- 参数:
name - 区域的名称。
- 示例:
/timewarp create "Minecraft Alpha"
/timewarp edit [id] [feature] [enabled] - 编辑 Timewarp 区域中的功能
- 编辑 特定 ID 区域的功能。
- 参数:
id:区域的 ID。
feature:要编辑的功能名称。
enabled:true/false 用于启用或禁用该功能。
- 功能列表:
allowStacking, oldMinecart, oldAnimalBehavior, allowSprinting, versionText, oldGUI, noFrontView, noSneaking, noSwimming, oldCombat, noTrading, oldLook, noSmoothLighting
- 示例:
/timewarp edit 1 oldCombat true
/timewarp delete [id] - 删除 Timewarp 区域
- 删除 指定 ID 的 Timewarp 区域。
- 示例:
/timewarp delete 2
/timewarp trigger [player] - 触发时间切换
- 强制 对指定玩家进行时间切换,应用随机的旧版机制。
- 示例:
/timewarp trigger Player1
/timewarp tp [id] - 传送至 Timewarp 区域
- 传送 玩家到指定 ID 的区域。
- 示例:
/timewarp tp 2
/timewarp config [reload|edit] - 管理 Timewarp 配置
- reload:从数据文件重新加载所有配置设置。
- edit:修改特定的配置变量。
edit 的 参数:
variable:要编辑的设置(shiftDurationMin, shiftDurationMax, timeUntilShiftMin, timeUntilShiftMax, saveInterval, opCommandLevel, enableTriggering, debugMode)
value:变量的新值。
- 示例:
/timewarp config edit shiftDurationMax 300
配置
自定义选项可用于更改时间切换的工作方式。在 config 命令中使用这些配置,或直接在世界文件夹中的 timewarp_data.json 文件中编辑。
切换持续时间
shiftDurationMin - 时间切换的最小持续时间。
shiftDurationMax - 时间切换的最大持续时间。
切换间隔时间
timeUntilShiftMin - 新切换开始前的最小时间。
timeUntilShiftMax - 新切换开始前的最大时间。
保存间隔
saveInterval - 自动保存数据的频率。
权限与触发器
opCommandLevel - 命令所需的最低权限等级。
enableTriggering - 启用或禁用玩家的自动时间切换触发器。
Timewarp

Requires Fabric API. Also compatible with NeoForge, using Sinytra Connector, requires Forgified Fabric API.
Timewarp is a Minecraft mod that brings back classic game mechanics with a fun twist! It adds random challenges with old gameplay and lets you create areas where old-school mechanics can be enabled. Customize everything to bring back the feel of older Minecraft versions.
The mod’s data is saved in the world’s root folder as timewarp_data.json. This includes all configuration settings, timewarp areas, and shift settings, making your Timewarp setup world-specific.
Usage
To set up a Timewarp area:
- Use the Timewarp Axe to select corners:
- Left-click on a block to set the first corner.
- Right-click on a block to set the second corner.
- Run
/timewarp create [name] to create the area using the selected corners. Replace [name] with a custom name for your area, e.g., /timewarp create "Minecraft Alpha".
If you hold the Timewarp Axe, you will visually see areas that are within your render distance.
Old Mechanics
Overview
allowStacking: Prevents stacking of food items.
oldMinecart: The player’s head moves according to the minecart's direction.
oldAnimalBehavior: Sheep, chickens, and cows don’t drop food. Punching sheep drops wool.
allowSprinting: Toggles whether sprinting is allowed, as in early Minecraft versions.
versionText: Displays classic version text on the screen.
oldGUI: Mimics the classic player HUD. Enables the old eating system where food replenishes health directly (no hunger bar) and removes the eating animation.
noFrontView: Disables the front-facing player view, as in early versions.
noSneaking: Disables sneaking.
noSwimming: Disables swimming, as in pre-1.13 versions.
oldCombat: Reverts combat mechanics to earlier versions, removing the attack cooldown.
noTrading: Disables trading with villagers.
oldLook: Uses old textures.
noSmoothLighting: Disables smooth lighting.
Commands
/timewarp - General command to access Timewarp functions
- Grants the player a Timewarp Axe, allowing manipulation of Timewarp areas.
/timewarp create [name] - Create a Timewarp Area
- Creates a Timewarp area using two selected corners.
- Parameters:
name - the name of the area.
- Example:
/timewarp create "Minecraft Alpha"
/timewarp edit [id] [feature] [enabled] - Edit a feature in a Timewarp Area
- Edits specific features of an area by ID.
- Parameters:
id: ID of the area.
feature: Name of the feature to edit.
enabled: true/false to enable or disable the feature.
- Features:
allowStacking, oldMinecart, oldAnimalBehavior, allowSprinting, versionText, oldGUI, noFrontView, noSneaking, noSwimming, oldCombat, noTrading, oldLook, noSmoothLighting
- Example:
/timewarp edit 1 oldCombat true
/timewarp delete [id] - Delete a Timewarp Area
- Deletes a Timewarp area by its ID.
- Example:
/timewarp delete 2
/timewarp trigger [player] - Trigger a Time Shift
- Forces a time shift on a specified player, applying random old mechanics.
- Example:
/timewarp trigger Player1
/timewarp tp [id] - Teleport to a Timewarp Area
- Teleports the player to the specified area by ID.
- Example:
/timewarp tp 2
/timewarp config [reload|edit] - Manage Timewarp Configuration
- reload: Reloads all configuration settings from the data file.
- edit: Modify specific config variables.
- Parameters for
edit:
variable: Setting to edit (shiftDurationMin, shiftDurationMax, timeUntilShiftMin, timeUntilShiftMax, saveInterval, opCommandLevel, enableTriggering, debugMode)
value: New value for the variable.
- Example:
/timewarp config edit shiftDurationMax 300
Configuration
Customization options are available to change how the time shifts work. Use these configurations in the config command or edit directly in the timewarp_data.json file in the world folder.
Shift Duration
shiftDurationMin - Minimum duration of a time shift.
shiftDurationMax - Maximum duration of a time shift.
Time Until Shift
timeUntilShiftMin - Minimum time before a new shift starts.
timeUntilShiftMax - Maximum time before a new shift starts.
Save Interval
saveInterval - Frequency to save data automatically.
Permissions and Triggers
opCommandLevel - Minimum permission level for commands.
enableTriggering - Enable or disable automatic time shift triggers for players.
评论 0
登录后参与评分
还没有评论,来抢沙发吧