这是一个 API/库模组,单独使用时不会为玩家提供任何实用性功能。
新增两项配置:
TARDIS 基础速度 - 管理以每秒方块数为单位的基准速度
热键栏手动模式 - 客户端配置,启用后将在整个热键栏中查找手册,而不仅仅是手持物品栏。
新增三项物品标签(Item Tags):
Sonic(声波)- 用于自定义物品的标签,可将物品放入声波端口。你仍需使用 SonicPutEvent 来为你的自定义物品添加任何功能。原生支持 Temporal Additions(Data Drive)和 ASEOHA(Fourteenth's Sonic Screwdriver)。
Manual(手册)- 用于自定义手册的标签,控制哪些物品可用于显示控制按钮名称。原生支持 Temporal Additions 和 ASEOHA。
新增三项进度触发器(Advancement Triggers):
Takeoff(起飞)- 'tardis:tardis_takeoff',传递参数 'dimension',表示 TARDIS 起飞的维度。
Land(着陆)- 'tardis:tardis_landed',传递两个参数 - 'dimension' 表示 TARDIS 着陆的维度,以及 'crashed' - 一个布尔值,表示 TARDIS 是否坠毁。
FlightEvent(飞行事件)- 'tardis:succeed_flight_event',传递两个参数 - 'flight_event' 表示飞行事件的注册表键名,以及 'success',一个布尔值,表示该事件是否成功通过。
实现的 Forge 事件:
ComponentEvent(组件事件):
ComponentChanged - 当玩家在引擎槽位中切换物品时触发。
ControlEvent(控制事件):
ControlHitEvent - 当玩家使用或按下 TARDIS 控制台上的按钮时触发,可取消以阻止任何交互。
SonicPutEvent - 当玩家将物品放入声波端口时触发,可取消以阻止任何交互。
SonicTakeEvent - 当玩家从声波端口取出物品时触发,可取消以阻止玩家移除该物品。
FlightEventEvent(飞行事件事件):
StartFlightEvent - 当随机飞行事件即将应用于 TARDIS 时触发,可取消以不设置该事件。
SuccessFlightEvent - 当飞行事件成功完成时触发
FailFlightEvent - 当飞行事件失败时触发;
MinigameStartEvent(小游戏开始事件)- 当物品被放入引擎槽位且电线小游戏即将开始时触发,可取消以不让小游戏进行。
TardisEvent(TARDIS 事件):
TakeoffEvent - 在任何起飞代码运行之前触发,可取消
LandEvent - 在任何着陆代码运行之前触发,可取消
SpeedCalculationEvent - 在 TARDIS 计算其每刻飞行速度(以方块为单位)后触发,不可取消。
FuelUseCalculationEvent - 在 TARDIS 计算其每刻飞行燃料消耗(以 AU 为单位)后触发,不可取消。
EngineFillEvent - 在 TARDIS 获得随机漏电容器的瞬间触发,可取消。
贡献者:
SGUDestiny - Logo
This is an API/Library mod, on it's own, it adds nothing of usefulness to the player.
Adds two Configurations:
TARDIS base Speed - manages the base speed in blocks per second
Hotbar Manual - Clientside config, if enabled, will look for a manual in the entire hotbar instead of just the hands.
Adds two Item Tags:
Sonic - an Item Tag for custom items that can be placed into the Sonic Port, you still need to use the SonicPutEvent to have it add any functionality to your custom items. Natively supports Temporal Additions(Data Drive) and ASEOHA(Fourteenth's Sonic Screwdriver)
Manual - an Item Tag for custom Manuals, controls what items can be used to display control button names. Natively supports Temporal Additions and ASEOHA.
Adds Three Advancement Triggers:
Takeoff - 'tardis:tardis_takeoff', passes a parameter 'dimension' which is the dimension the TARDIS took off from.
Land - 'tardis:tardis_landed', passes two parameters - 'dimension' for the dimension the TARDIS landed at, and, 'crashed' - a boolean for whether the TARDIS Crashlanded or not.
FlightEvent - 'tardis:succeed_flight_event', passses two parameters - 'flight_event' for the registry key of the flight event, and, 'success', a boolean for whether the event was passed correctly or not.
Implemented Forge Events:
ComponentEvent:
ComponentChanged - when the player switches an item within an Engine Slot.
ControlEvent:
ControlHitEvent - when the player uses or hits a button on the TARDIS Console, can be canceled to stop any interaction.
SonicPutEvent - when the player inputs something into the Sonic Port, can be canceled to stop any interaction.
SonicTakeEvent - when the player takes out an item from the Sonic Port, can be canceled to stop the player from removing the item.
FlightEventEvent:
StartFlightEvent - fired when a random Flight Event is being applied to the TARDIS, can be canceled to not set the event.
SuccessFlightEvent - when the Flight Event is successfully finished
FailFlightEvent - when the Flight Event is failed;
MinigameStartEvent - fired when an item is placed in the engine slot and the wires minigame is about to be fired, can be canceled to not let the minigame play out.
TardisEvent:
TakeoffEvent - fired just before any take off code is ran, can be canceled
LandEvent - fired just befored any landing code is ran, can be canceled
SpeedCalculationEvent - fired after TARDIS Calculates it's flight speed in blocks per tick, cannot be canceled.
FuelUseCalculationEvent - fired after TARDIS Calculates it's flight fuel use in AU per tick, cannot be canceled.
EngineFillEvent - fired right before the TARDIS gets it's random Leaky Capacitors, can be canceled.
Contributors:
SGUDestiny - Logo
评论 0
登录后参与评分
还没有评论,来抢沙发吧