MCPcopy Create free account
hub / github.com/McJty/TutorialV3 / setup

Method setup

src/main/java/com/example/tutorialv3/setup/ModSetup.java:32–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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(() -> {

Callers 1

TutorialV3Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected