Eric12324
如何通过一个string来创建itemStack?例如“minecraft:mutton”


海螺螺
String id = "minecraft:mutton";
ItemType type = Sponge.getRegistry().getType(ItemType.class, id).get();
ItemStack stack = ItemStack.of(type);

第一页 上一页 下一页 最后一页