()
| 30 | }; |
| 31 | |
| 32 | public static void setup() { |
| 33 | IEventBus bus = MinecraftForge.EVENT_BUS; |
| 34 | bus.addListener(Ores::onBiomeLoadingEvent); |
| 35 | bus.addGenericListener(Entity.class, ManaEvents::onAttachCapabilitiesPlayer); |
| 36 | bus.addListener(ManaEvents::onPlayerCloned); |
| 37 | bus.addListener(ManaEvents::onRegisterCapabilities); |
| 38 | bus.addListener(ManaEvents::onWorldTick); |
| 39 | } |
| 40 | |
| 41 | public static void init(FMLCommonSetupEvent event) { |
| 42 | event.enqueueWork(() -> { |