ClientProxy.java 文件源码

java
阅读 23 收藏 0 点赞 0 评论 0

项目:FloodLights 作者:
@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);
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号