@SideOnly(Side.CLIENT) @Override public void registerModels() { ModelLoader.setCustomStateMapper( this, (new StateMap.Builder()).ignore(getTypeProperty()).build()); ModelHandler.registerCustomItemblock( this, EnumDyeColor.values().length, i -> "glimmering_flower_" + EnumDyeColor.byMetadata(i).getName()); }
@SideOnly(Side.CLIENT) @Override public void registerModels() { ModelHandler.registerBlockToState( this, BotaniaStateProps.PAVEMENT_COLOR.getAllowedValues().size()); }