本模组添加了一系列不同的内容,旨在协助由 SlightlyShorter 主持的私人 Origin SMP。
新增内容
物品
-
Shattered Orb of Origin | originscontent:shattered_orb_of_origin
一种可以消耗以随机化你的起源(Origin)的物品。若无随附的数据包,则无功能。
-
Obscurer | originscontent:obscurer
一种可用于隐藏你名字旁边代表你起源的图标的物品(将其随机化)。若无数据包,则无功能。
-
Enchanted Book Bundle | originscontent:enchanted_book_bundle
一种可用于获取随机超高等级附魔书的物品。若无数据包,则无功能。
-
Perkeo | originscontent:perkeo
一个可以通过将下界合金块扔进虚空来合成的玩笑物品。以物品形态漂浮并产生酷炫粒子效果!还能造成极高的击退效果,并且可以用击退附魔使其拥有更强的击退力。快速连续说五遍试试。
-
Placeholder Item 1 thru 9 | originscontent:placeholder_item_*
一组在数据包中使用的占位符。第 6 至第 9 号分别可在头盔、胸甲、护腿和靴子槽位装备。
-
Achievement Item & Achievement Item Use | originscontent:achievement_item & originscontent:achievement_item_use
两个用于起源成就的物品。若无数据包,两者均无功能。
-
Blueprint | originscontent:blueprint
一个基于 ARC Raiders 的起源所使用的物品。
命令
其他更改
- 对 Arsenal 进行了多项补丁,有望防止 99% 的后排插槽复制漏洞,并为该插槽添加了轮廓线,以便更好地传达其用途。
轮廓会在多种武器之间循环。
- Origins 中的临时蛛网方块持续时间由 3 秒延长至 30 秒。
- Faithful Mace 的风之充能现在可以在发射器中使用,同时也修复了其他一些杂项错误。
- 任何物品都可以拥有以下 NBT 标签:
标签
方块
物品
Origins / Apoli 集成
有关更多信息,请参阅 Origins wiki。
力量类型
-
取消图腾 | originscontent:cancel_totems
阻止图腾在死亡时激活。使用者直接死亡。
-
禁用副手 | originscontent:disable_offhand
禁用使用者的副手,阻止其在该槽位放置任何物品,并在重新获得该力量时将槽位内的所有物品返还给使用者。(如果使用者的背包已满,物品将被丢弃为仅他们可拾取的掉落物。)激活期间,默认盾牌轮廓纹理将替换为十字形。
-
取消库存操作 | originscontent:cancel_inventory_actions
取消不同的库存操作。选项:
change_hotbar_slot (布尔值) 取消切换快捷栏槽位。
move_item_in_gui (布尔值) 阻止在任何具有库存的图形用户界面中点击物品。
drop_items (布尔值) 阻止拥有能力者丢弃物品。
pickup_items (布尔值) 阻止拥有能力者拾取物品。
pick_block (布尔值) 阻止拥有能力者使用“选择方块”键。
- 格挡 |
originscontent:parry
允许持有者进行格挡。提供多种选项:
-
parry_window (int) 按下按键后,格挡窗口持续的刻数。必填。
-
key (key) 触发格挡窗口的按键。必填。
-
reflect (object) 伤害反射选项:必填。
should_reflect (boolean) 是否应该反射伤害。如果为 false,则此对象中的其他属性均非必填。必填。
damage_condition (damage condition) 伤害必须满足的条件才能被反射。可选。
damage_modifier (modifier) 应用于反射伤害的修正器。可选。
damage_type (damage type identifier) 反射伤害的类型。可选。如果未指定,将使用 minecraft:player_attack 伤害类型。
-
damage_condition (damage condition) 格挡成功所需满足的伤害条件。可选。
-
immune (boolean) 力量持有者是否会受到该伤害的保护。可选,默认为 true。
-
cooldown (int) 冷却持续的时间(刻)。必填。
hud_render (hud render) 如何渲染冷却计时器。可选,默认不渲染。
-
cooldown_on_whiff (boolean) 如果在格挡窗口内未受到伤害,是否触发冷却。可选,默认为 true。
-
action_on_parry (bientity action) 格挡成功时执行的动作。行为者是力量持有者。可选。
-
action_on_whiff (entity action) 如果在格挡窗口内未受到伤害,执行的动作。可选。
-
Reflect Damage | originscontent:reflect_dmg
基本上与格挡力量类型相同,但窗口始终处于激活状态,因此完全基于条件判定。
reflect (object) 与上述相同,除了 should_reflect 始终为 true。(且不应指定)
damage_condition (damage condition) 伤害必须满足的条件才能被反射。
immune (boolean) 力量持有者是否会受到该伤害的保护。可选,默认为 true。
action_on_parry (bientity action) 当伤害被反射时执行的动作。行为者是力量持有者。可选。
-
Override Hotbar | originscontent:override_hotbar
一种用于覆盖 HUD 上显示的快捷栏的力量类型。在任何时候,你实际上都没有持有或拥有这些物品。不建议将此力量给予非玩家角色。此外,出于某种原因,同一时间只能有一个此类效果生效。我可以让它支持多个,但我太懒了,所以不行。
hotbar_1 到 hotbar_9,以及 offhand (object) 将使用的物品。
variants (list of objects)
stack (item stack) 此变体的物品堆栈。
condition (entity condition) 力量持有者必须满足的条件,以便显示此变体。
列表从上到下依次检查,因此如果满足多个条件,将显示优先级最高的那个。
- 此力量类型支持一个条件,用于控制整个力量的整体生效情况,这与上面的物品变体条件是分开的。
-
Ticking Entity | originscontent:ticking_entity
使力量持有者成为一个每刻刷新的实体。我不太确定是什么灵感让我制作了这个功能。
Actions
Entity Actions
Conditions
Entity Conditions
This mod adds a collection of different things to assist the private Origin SMP hosted by SlightlyShorter.
Additions
Items
-
Shattered Orb of Origin | originscontent:shattered_orb_of_origin
An item that can be consumed to randomise your Origin. Has no functionality without the datapack not included in this mod.
-
Obscurer | originscontent:obscurer
An item that can be used to hide (randomise) the icon next to your name that represents your Origin. Has no functionality without the datapack.
-
Enchanted Book Bundle | originscontent:enchanted_book_bundle
An item that can be used to get a random overleveled enchanted book. Has no functionality without the datapack.
-
Perkeo | originscontent:perkeo
A joke item that can be crafted by throwing a netherite block into the void. Floats in item form and produces cool particles! Also does insane knockback, and you can enchant it with knockback for even more knockback. Say that 5 times fast.
-
Placeholder Item 1 thru 9 | originscontent:placeholder_item_*
A collection of placeholders used in the datapack. 6 thru 9 are equippable in the helmet, chestplate, leggings, and boots slots respectively.
-
Achievement Item & Achievement Item Use | originscontent:achievement_item & originscontent:achievement_item_use
Two items used for Origin Achievements. Neither have any functionality without the datapack.
-
Blueprint | originscontent:blueprint
An item used in an Origin based off ARC Raiders.
Commands
-
/wiki
A command that returns a link to the SMP wiki, with info about the origins.
-
/map
A command that returns a link to the SMP map, powered by Bluemap.
Both are configurable in the config.
Other Changes
-
Multiple patches to Arsenal, hopefully preventing 99% of back slot dupes, and adding an outline to the slot to better convey its use.
The outline cycles between multiple weapons.
-
The temporary cobweb block in Origins lasts 30 seconds instead of 3.
-
Wind charges from Faithful Mace now work in dispensers, as well as some other miscellaneous bugs being patched.
-
Any item can have any of the following NBT tags:
Tags
Blocks
Items
Origins / Apoli Integration
See the Origins wiki for more info.
Power Types
-
Cancel Totems | originscontent:cancel_totems
Cancels totems from activating on death. The user just dies.
-
Disable Offhand | originscontent:disable_offhand
Disables the user's offhand, stopping them from placing any items there, and giving any items in the slot when the power is gained back to them. (If the user's inventory is full, it is dropped as an item only they can pick up.) Replaces the default shield outline texture with a cross while active.
-
Cancel Inventory Actions | originscontent:cancel_inventory_actions
Cancels different inventory actions. Options:
change_hotbar_slot (boolean) Cancels changing selected slot.
move_item_in_gui (boolean) Prevents clicking on items in any GUI with an inventory.
drop_items (boolean) Stops the power holder from dropping items.
pickup_items (boolean) Stops the power holder from picking up items.
pick_block (boolean) Stops the power holder from using their Pick Block key.
-
Parry | originscontent:parry
Allows the holder to parry. Many options:
parry_window (int) Ticks that you will parry after pressing the key. Required.
key (key) The key that will trigger the parry window. Required.
reflect (object) Damage reflection options: Required.
should_reflect (boolean) Whether damage should be reflected at all. If false, nothing else in this object is required. Required.
damage_condition (damage condition) The condition the damage has to meet for the damage to be reflected. Optional.
damage_modifier (modifier) The modifier applied to the damage reflected. Optional.
damage_type (damage type identifier) The type that the reflected damage will be. Optional. If unspecified will use the minecraft:player_attack damage type.
damage_condition (damage condition) The condition the damage has to meet for the parry to succeed. Optional.
immune (boolean) Whether the power holder will be protected from the damage. Optional, default true.
cooldown (int) Ticks that the cooldown will last for. Required.
hud_render (hud render) How to render the cooldown. Optional, default no render.
cooldown_on_whiff (boolean) Whether to trigger the cooldown if no damage is taken in the parry window. Optional, default true.
action_on_parry (bientity action) The action to be executed on a successful parry. The actor is the power holder. Optional.
action_on_whiff (entity action) The action to be executed if no damage is taken in the parry window. Optional.
-
Reflect Damage | originscontent:reflect_dmg
Basically the parry power type, but the window is always active, so it's entirely based on conditions.
reflect (object) Same as above, except should_reflect is always true. (and shouldn't be specified)
damage_condition (damage condition) The condition the damage has to meet for the damage to be reflected.
immune (boolean) Whether the power holder will be protected from the damage. Optional, default true.
action_on_parry (bientity action) The action to be executed when damage is reflected. The actor is the power holder. Optional.
-
Override Hotbar | originscontent:override_hotbar
A power type to override the hotbar that appears on the HUD. At no point are you actually holding / in possession of these items. I would not recommend giving this power to non-players. Also, only one of these can be effective at a time for some reason. I could make it work but I'm too lazy so no.
hotbar_1 through hotbar_9, and offhand (object) The items that will be used.
variants (list of objects)
stack (item stack) This variant's item stack.
condition (entity condition) The condition the power holder must meet for this variant to be displayed.
The list is worked through from top to bottom, so if multiple conditions are met the highest one will display.
- This power type supports a condition, seperate from above for the overall power.
-
Ticking Entity | originscontent:ticking_entity
Makes the power holder a ticking entity. I'm not exactly sure what inspired me to make this.
Actions
Entity Actions
Conditions
Entity Conditions
评论 0
登录后参与评分
还没有评论,来抢沙发吧