逗游网:值得大家信赖的游戏下载站!
发布时间:2020-09-18 09:36 来源:我的世界中文论坛 编辑:潘东子
技术性修改-Add-On和脚本引擎
收起技术性修改-Add-On和脚本引擎
Added 'minecraft:placement_filter' component which allows you to set conditions for where this block can be placed This component will also kick in whenever neighboring blocks change and pop it's loot if it is no longer in a valid location
添加了 'minecraft:placement_filter' 组件,允许你设置这个方块可以被放置的条件。这个组件也会在相邻方块更新时启动,并在其不再在有效位置时被破坏
Added serialization to Block Descriptor
向 Block Descriptor 添加了序列化
Added static anyMatch functions to BlockDescriptor to compare a list of BlockDescriptors against: Block*, BlockLegacy, or BlockDescriptor
向 BlockDescriptor 添加了静态的 anyMatch 函数,来比较 BlockDescriptor 的列表: Block*, BlockLegacy, 或 BlockDescriptor
Added a function to compare two BlockDescriptors. This covers: matching blocks, any tag of either descriptor match, block states with matching permutations
添加了一个函数来对比两个 BlockDescriptor 。这包括:匹配的方块,任何两个描述符的标签相匹配,具有匹配的组合方式的方块状态。
Changed the BlockDescriptor BlockLegacy member variable to a Block* so we can set the block states during deferred block resolution and get the block with the states set
将 BlockDescriptor 的 BlockLegacy 组成部分的变量改为 Block* 这样我们就可以延迟方块解析时设置方块状态,并获得设置完毕的方块
Removed all the existing Block* json parsing
删除了所有现有的Block*的json解析
Added unit tests to verify parsing and serializing block descriptors
添加了单元测试来验证 BlockDescriptor 的解析和序列化
Added unit tests to verify comparing a BlockDescriptors against each other
添加了单元测试来验证 BlockDescriptor 之间的比较
Added unit tests to verify getting a block from BlockDescriptor with the states set
添加了单元测试来验证从 BlockDescriptor 获得一个已经设定完状态的方块
上一篇: 人类一败涂地新地图高尔夫通关流程攻略
下一篇: 美国卡车模拟科罗拉多州DLC地标汇总