添加了一个用于领域展开的框架(以及毫无理由地加入红牛),并提供了一种(非常烦人)的方式,通过将此模组作为库来添加它们。如果你试图以任何有意义的方式使用它,我深表歉意。
领域:
领域通过生成新的领域实体(Domain Entity)来创建。在生成之前使用 of() 方法可以更改其关联的变量。例如:
new DomainEntity().of(size (半径), effect, effectLength, etc)
这包括领域的主题(除非你使用自定义冲突实体制作冲突,否则冲突不能有自定义音效)。
这意味着只要正确生成,你几乎可以通过任何方法(物品、快捷键等)实现领域展开。
领域光影:
可以通过使用 DomainRenderTypeRegistrationCallback 添加领域光影,其工作方式与其他回调类似。只需注册名称、纹理碎片(TextureShard)和 ShaderInstance 即可正常工作。
领域效果:
领域效果是普通的 Minecraft 生物药水效果。当然你也可以使用自定义效果。
领域冲突:
领域冲突目前存在一些漏洞,但对于自定义领域来说应该能正常工作。目前没有更改冲突进度条颜色的方法。
领域冲突当前有一个我自己创作的占位主题曲,因为我不想使用受版权保护的歌曲。
游戏规则:
目前该模组只有 2 个游戏规则。
- Clash Length 控制如果没有获胜者,领域冲突持续的时间(默认 2400 tick 或 2 分钟)。
- Clash Win Score 决定赢得一次领域冲突需要多少次命中(默认 20 次命中)。
简单领域:
该库确实内置了一个允许简单类领域效果的系统。通过在创建效果时扩展 SimpleDomainEffect 类,你可以添加一些阻止该领域效果应用于拥有该效果的实体的功能。
未来可能的特性:
领域声音配置:
添加开启/关闭领域主题的选项。(以及一个单独的“领域冲突主题”选项)
可破坏的领域:
添加使领域方块被破坏的方法。例如用 TNT 破坏它,然后缓慢再生屏障。
自定义领域内部:
目前无法在领域内部添加由方块结构组成的领域内部。
(Minecraft 的结构非常奇怪,因此短期内不太可能添加此功能)
(这些都不保证会添加到模组中。))
Adding a framework (and redbull for no apparent reason) for domain expansions and a (really annoying) way to add them by using this mod as a library. I am so sorry if you try to use this in any meaningful way.
Domains:
Domains are created by spawning new Domain Entities. Using the of() method before spawning one in changes the variables that it's tied to. e.g.
new DomainEntity().of(size (radius), effect, effectLength, etc)
This Includes Domain Themes for Domains (Clashes cannot have custom sounds unless you make the clash using a Custom Clash Entity)
This means so long as it's spawned correctly, you can pretty much make a Domain Expansion through whatever method (Item, Keybind, etc).
Domain Shaders:
Domain Shaders can be added by using the DomainRenderTypeRegistrationCallback which works like any other callback. Just register the name, TextureShard and ShaderInstance and it should work.
Domain Effects:
Domain Effects are normal Minecraft Mob Effects. You can of course use custom ones as well.
Domain Clashes:
Domain Clashes are pretty buggy at the moment, but should work fine for custom domains. There's not currently a way to change the clash progress bar colour.
The Domain Clashes currently have a placeholder theme song that I created myself as I didn't want to use a copywritten song.
Game Rules:
Currently there are only 2 Game Rules for this mod.
- Clash Length controls how long domain clashes last if there's no winner (Default 2400 ticks or 2 minutes).
- Clash Win Score determines how many hits it takes for someone to win a Domain Clash (Default 20 hits).
Simple Domains:
This library does have an in-built system for allowing simple domain-like effects. By the extending SimpleDomainEffect class when creating effects you can add something that stops the Domain Effect from being applied to the entity with that effect.
Future Possible Features:
Domain Sound Configs:
Adding options to turn on/off the Domain Themes. (And a seperate option for The Domain Clash Theme)
Destructible Domains:
Adding ways for Domain blocks to be broken. e.g. breaking it with TNT and then slowly regenerating the barrier.
Custom Domain Interiors:
You can't currently add Domain Interiors with block structures on the inside.
(Minecraft's structures are really weird and this is unlikely to be added soon)
(None of these are guaranteed to be added to the mod.)
评论 0
登录后参与评分
还没有评论,来抢沙发吧