Tweaked map colors

This commit is contained in:
Forstride 2018-04-21 04:26:33 -04:00
parent ec2e483467
commit f17f5523be
3 changed files with 8 additions and 2 deletions

View File

@ -13,6 +13,7 @@ import java.util.Random;
import biomesoplenty.api.block.BOPBlocks;
import net.minecraft.block.Block;
import net.minecraft.block.SoundType;
import net.minecraft.block.material.MapColor;
import net.minecraft.block.material.Material;
import net.minecraft.block.properties.IProperty;
import net.minecraft.block.properties.PropertyInteger;
@ -161,6 +162,11 @@ public class BlockBOPBamboo extends BlockBOPDecoration
this.setBlockBoundsByRadiusAndHeight(0.2F, 1.0F);
}*/
@Override
public MapColor getMapColor(IBlockState state, IBlockAccess worldIn, BlockPos pos)
{
return MapColor.LIME;
}
@Override
public boolean canSustainLeaves(IBlockState state, IBlockAccess world, BlockPos pos)

View File

@ -153,7 +153,7 @@ public class BlockBOPFlower extends BlockBOPDecoration implements IShearable, IH
return MapColor.YELLOW;
case LAVENDER:
return MapColor.PURPLE;
return MapColor.MAGENTA;
default:
return this.blockMapColor;

View File

@ -205,7 +205,7 @@ public class BlockBOPPlant extends BlockBOPDecoration implements IShearable, IHo
return MapColor.ORANGE_STAINED_HARDENED_CLAY;
case THORN:
return MapColor.WHITE_STAINED_HARDENED_CLAY;
return MapColor.SILVER_STAINED_HARDENED_CLAY;
case BARLEY:
return MapColor.YELLOW;