案例 - 限制区块火红莲数量
运用事件 :BlockBreakEvent && BlockPlaceEvent
//火红莲的IData输出,浮空和非浮空的IData区别仅限为ID
{
x: -85,
subTileCmp: {
passiveDecayTicks: 0,
mana: 0,
ticksExisted: 0,
burnTime: 0,
collectorZ: 0,
collectorY: -1,
collectorX: 0
},
y: 43,
subTileName: "endoflame",
z: -43,
id: "botania:specialflower"
}
最后更新于