code: @Override
  	public IBlockState getStateFromMeta(Block block, IBlockState state, int meta)
  	{
  		return state.withProperty(getProperty(), EnumDyeColor.byMetadata(meta));
  	}
docs: Get the {@link IBlockState} from the metadata
  
  @param block the block
  @param state the state
  @param meta the meta
  @return the state from meta