Posted August 29, 201510 yr Is there a way to have my custom leaves use a different Colormap/Colorizer in the overworld than the standard green one?
August 29, 201510 yr Hi Yes. In BlockLeaves and derived classes, check out: @SideOnly(Side.CLIENT) public int getBlockColor() { return ColorizerFoliage.getFoliageColor(0.5D, 1.0D); } @SideOnly(Side.CLIENT) public int getRenderColor(IBlockState state) { return ColorizerFoliage.getFoliageColorBasic(); } @SideOnly(Side.CLIENT) public int colorMultiplier(IBlockAccess worldIn, BlockPos pos, int renderPass) { return BiomeColorHelper.getFoliageColorAtPos(worldIn, pos); } - TGG
August 30, 201510 yr Author I have it working but my leaves appear gray in the inventory, how do I fix that?
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.