Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Mod.EventBusSubscriber
- public class Registerer {
- @SubscribeEvent
- public static void onItemRegister(RegistryEvent.Register<Item> event) {
- event.getRegistry().register(ITEM); // Repeat this for every item
- }
- @SubscribeEvent
- public static void onBlockRegister(RegistryEvent.Register<Block> event) {
- event.getRegistry().register(BLOCK); // Repeat this for every block
- }
- @SubscribeEvent
- public static void onModelRegister(ModelRegistryEvent event) {
- // Register your models like you would normally
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment