# Pastebin 5JsVoGXF @SubscribeEvent public void onModelBakeEvent(ModelBakeEvent event) { //Register all blocks Game.blocks().registry.forEach(blockFactory -> { Object blockObj = Game.natives().toNative(blockFactory.getDummy()); if (blockObj instanceof FWBlock) { FWBlock block = (FWBlock) blockObj; ResourceLocation objRL = (ResourceLocation) net.minecraft.block.Block.blockRegistry.getNameForObject(block); ModelResourceLocation blockLocation = new ModelResourceLocation(objRL, "normal"); ModelResourceLocation itemLocation = new ModelResourceLocation(objRL, "inventory"); System.out.println("Bind Block: " + objRL); event.modelRegistry.putObject(blockLocation, new FWSmartModel(null)); event.modelRegistry.putObject(itemLocation, new FWSmartModel(null)); } });