向实体添加自定义战利品
const loot = new CustomEntityLoot("minecraft:zombie", "entity/custom_table");new CustomLootServer().addLoot(loot); Copy
const loot = new CustomEntityLoot("minecraft:zombie", "entity/custom_table");new CustomLootServer().addLoot(loot);
要添加自定义战利品的实体类型 ID
战利品表的路径
战利品表对应的路径
Readonly
战利品对应的唯一标识符
生成指定的战利品表
向实体添加自定义战利品
Example