private IBakedModel handleBlockState(IBlockState state) {
if (state instanceof IExtendedBlockState) {
IExtendedBlockState ext = (IExtendedBlockState) state;
IBlockState camoState = ext.getValue(BlockPneumaticCraftCamo.CAMO_STATE);
if (camoState != null && !(camoState.getBlock() instanceof BlockPneumaticCraftCamo)) {
BlockModelShapes blockModelShapes = Minecraft.getMinecraft().getBlockRendererDispatcher().getBlockModelShapes();
return blockModelShapes.getModelForState(camoState);
}
}
return originalModel;
}
CamoModel.java 文件源码
java
阅读 26
收藏 0
点赞 0
评论 0
项目:pnc-repressurized
作者:
评论列表
文章目录