chore: removed example from template

This commit is contained in:
əlemi 2023-02-15 21:43:33 +01:00
parent 956781f3af
commit c2455718f9
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -151,15 +151,4 @@ public class BoSCoVicino implements ICommons {
LOGGER.error("Local player is NULL"); LOGGER.error("Local player is NULL");
} }
} }
// You can use EventBusSubscriber to automatically subscribe events on the contained class (this is subscribing to the MOD
// Event bus for receiving Registry Events)
@Mod.EventBusSubscriber(bus=Mod.EventBusSubscriber.Bus.MOD)
public static class RegistryEvents {
@SubscribeEvent
public static void onBlocksRegistry(final RegistryEvent.Register<Block> blockRegistryEvent) {
// register a new block here
LOGGER.info("HELLO from Register Block");
}
}
} }