Posted October 15, 20231 yr when trying to find through the command, this structure does not exist public ExampleMod() { { IEventBus eventBus = FMLJavaModLoadingContext.get().getModEventBus(); FMLJavaModLoadingContext.get().getModEventBus().addListener(this::doClientStuff); ModStructures.register(eventBus); ModBlocks.BLOCK.register(eventBus); eventBus.addListener(this::setup); MinecraftForge.EVENT_BUS.register(this); } private void setup(final FMLCommonSetupEvent event) { { event.enqueueWork(() -> { ModStructures.setupStructures(); ModConfiguredFeatures.registerConfiguredStructures(); }); } Edited October 15, 20231 yr by Elemental
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.