public static float getUses(NBTTagCompound tag) {
NBTBase value = tag.getTag(TAG_USES);
if (value == null) return 0;
if (value instanceof NBTPrimitive) return ((NBTPrimitive)value).getFloat();
throw new IllegalStateException("Invalid tag type: " + value);
}
ItemImaginary.java 文件源码
java
阅读 22
收藏 0
点赞 0
评论 0
项目:OpenBlocks
作者:
评论列表
文章目录