SpecialItem(String n, byte c, short m, @Nullable String t) {
name = n;
amount = c;
meta = m;
if (t != null) {
NBTTagCompound nbt;
try {
nbt = JsonToNBT.getTagFromJson(t);
} catch (NBTException e) {
MCFluxReport.sendException(e, "NBT Decoding");
nbt = null;
}
tag = nbt;
} else
tag = null;
item = Item.getByNameOrId(name);
}
SpecialEvent.java 文件源码
java
阅读 22
收藏 0
点赞 0
评论 0
项目:Minecraft-Flux
作者:
评论列表
文章目录