toad132 Posted July 13, 2022 Share Posted July 13, 2022 (edited) Hi! I have created a custom grass block and want it to be coloured like the normal one. How to make this? This is my Leaves Class public class FlameBlock extends Block { public FlameBlock(Properties Properties) { super(Properties); } @Override public int getFlammability(BlockState state, IBlockReader world, BlockPos pos, Direction face) { { return 75; } } @Override public boolean isFlammable(BlockState state, IBlockReader world, BlockPos pos, Direction face) { return true; } @Override public int getFireSpreadSpeed(BlockState state, IBlockReader world, BlockPos pos, Direction face) { return 30; } @Override public void catchFire(BlockState state, World world, BlockPos pos, @Nullable Direction face, @Nullable LivingEntity igniter) { super.catchFire(state, world, pos, face, igniter); } @Override public boolean isBurning(BlockState state, IBlockReader world, BlockPos pos) { return true; } } English is not my native language Edited July 13, 2022 by toad132 Link to comment Share on other sites More sharing options...
Recommended Posts