docs: static IBlockState applyColour(IBlockState state, Colour colour)
  	{
  	    for (IProperty prop : state.getProperties().keySet())
  	    {
  	        if (prop.getName().equals("color") && prop.getValueClass() == net.minecraft.item.EnumDyeColor.class)
  	        {
  	            net.minecraft.item.EnumDyeColor current = (net.minecraft.item.EnumDyeColor)state.getValue(prop);
  	            if (!current.getName().equalsIgnoreCase(colour.name()))
  	            {
  	                return state.withProperty(prop, EnumDyeColor.valueOf(colour.name()));
  	            }
  	        }
  	    }
  	    return state;
  	}