@Override
public void initRenderers() {
ClientRegistry.bindTileEntitySpecialRenderer(TileEntityPhantomLight.class, new TileEntityPhantomLightRenderer());
RenderUtil.setupColors();
minecraft.getBlockColors().registerBlockColorHandler(new IBlockColor() {
@Override
public int colorMultiplier(IBlockState state, IBlockAccess worldIn, BlockPos pos, int renderPass) {
return getColorAsInt(state.getValue(BlockFLColorableMachine.COLOR));
}
},ModBlocks.blockCarbonLight,ModBlocks.blockElectricLight,ModBlocks.blockSmallElectricLight);
}
ClientProxy.java 文件源码
java
阅读 23
收藏 0
点赞 0
评论 0
项目:FloodLights
作者:
评论列表
文章目录