private static void registerFluid(BlockFluidClassic fluid) {
final ModelResourceLocation location = new ModelResourceLocation(TRConstants.MOD_ID + ":fluids", fluid.getFluid().getName().toLowerCase());
ModelLoader.setCustomStateMapper(fluid, new StateMapperBase() {
protected ModelResourceLocation getModelResourceLocation(IBlockState state) { return location; }
});
}
TechRebornClient.java 文件源码
java
阅读 17
收藏 0
点赞 0
评论 0
项目:TechReborn3
作者:
评论列表
文章目录