Posted October 10, 20187 yr @SubscribeEvent public void missingMapping(RegistryEvent.MissingMappings<Item> event) { for (MissingMappings.Mapping<Item> entry : event.getAllMappings()) { if (entry.key.toString().equals(DragonMounts.MODID + ":ender_dragonscales")) { ResourceLocation newTotem = new ResourceLocation(DragonMounts.MODID + ":ender_dragonscales1"); entry.remap(ForgeRegistries.ITEMS.getValue(newTotem)); } } } I renamed an item fro an experiment, I clearly have no idea how to use RegistryEvent.MissingMappings
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.