Skip to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Ugdhar

Moderators
  • Joined

  • Last visited

Everything posted by Ugdhar

  1. 1.12 is no longer supported due to age. Please update to a modern version if you wish to receive support here. See the LTS link at the top of every page for more information on supported versions. On a side note, make sure you do NOT download mods from places like 9 minecraft, I would suggest only using curseforge.com, otherwise mods may be outdated and/or packed with malware/viruses. See https://stopmodreposts.org/ for more information on which sites to avoid. If you have downloaded from these sites, I would delete the downloads.
  2. 1.12 is no longer supported due to age. Please update to a modern version if you wish to receive support here. See the LTS link at the top of every page for more information on supported versions.
  3. 1.12 is no longer supported due to age. Please update to a modern version to receive support. More information on supported versions can be found at the LTS link at the top of every page.
  4. Please keep this forum in english I would guess it is one or both of these mods, try making sure they are the latest version, or try removing them to see if the crashing stops. If it does, then that's the problem, and I would report it to the mod author(s).
  5. 1.12 is no longer supported due to age. Please update to a modern version to receive support. See the LTS link at the top of every page for more information on supported versions.
  6. If you read the posts above, these questions are answered. The AxeItem name change is explained, and there is a link to a migration guide, it says 1.13, but it is largely applicable to all the newer versions. If you have issues working on your mod, make sure your code is posted as a working github repository (easiest way to get people to help debug), start a new thread, and post any logs from crashes in their entirety, or explain what you are trying to do, and what is not working.
  7. Can you get a world object to check if your world isRemote? I would imagine that the render thread doesn't run on the server and/or is not the one you're looking for.
  8. I would try to make it work for 1.15.1 or .2, and also make sure your code is a working github repository. This will make it so if someone wants, they can clone your repository and build it themselves to help debug it if they have the time and/or inclination. Then link to it here with errors you get that you cannot figure out, and post logs if it runs but crashes. I did find the link that describes many of the changes that came after 1.12, so it may help. https://gist.github.com/williewillus/353c872bcf1a6ace9921189f6100d09a
  9. Your issue is probably different, make a new thread and post logs as described in the EAQ
  10. Please use English on these forums. 1.7 isno longer supported due to age. Please update to a modern version to receive support. Information on supported versions can be found in the LTS link at the top of every page.
  11. 1.7.10 is no longer supported due to age. Please update to a modern version to receive support. More information on supported versions can be found at the LTS link at the top of every page.
  12. 1.8.9 is no longer supported due to age. Please update to a modern version to receive support. More information on supported versions can be found in the LTS found at the top of every page.
  13. I hate bumping topics, but I'm genuinely curious about this. No input from anyone huh?
  14. Make sure it's the latest Java 8, and not the latest version of Java (Which I believe is Java 13)
  15. Old versions are no longer supported, see the LTS link at the top of every page for more information.
  16. Does it work if you use vanilla? Please post logs as described in the EAQ (pinned post in support forums index)
  17. 1.12.2 is no longer supported on these forums due to age. Please update to a modern version to receive support. See the LTS link at the top of every page for more information.
  18. 1.11.2 is no longer supported on these forums due to age. Please update to a modern version to receive support. See the LTS link at the top of every page for more information.
  19. Can you post the output of ./gradlew eclipse Hopefully it will contain some information of use in solving your issue!
  20. Since you already have a github, you should post your code there. Much easier to read on there than pasted here, and as long as you keep updating it, no need to post updated code here. Making a guess based on the crash without seeing code, you're trying to register something that has not been initialized, so it's trying to register something that is null. *edit: Pretty sure it's an item, since the crash looks to be coming from ModItems.
  21. In the Referenced Libraries within your IDE, there should be a forge jarfile that you can browse the Forge and Vanilla classes, many of them have comments/javadocs to peruse. Sorry that I haven't got an answer for the first question, not something I've ever tried to do!
  22. You need Java installed to run the forge installer. I believe Java 8-10 will work for the supported versions of Forge. https://adoptopenjdk.net/
  23. Just in case anyone doesn't feel like opening the MDK to check out the example, this is the one packaged with 1.15.1-30.0.41): package com.example.examplemod; import net.minecraft.block.Block; import net.minecraft.block.Blocks; import net.minecraftforge.common.MinecraftForge; import net.minecraftforge.event.RegistryEvent; import net.minecraftforge.eventbus.api.SubscribeEvent; import net.minecraftforge.fml.InterModComms; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.event.lifecycle.FMLClientSetupEvent; import net.minecraftforge.fml.event.lifecycle.FMLCommonSetupEvent; import net.minecraftforge.fml.event.lifecycle.InterModEnqueueEvent; import net.minecraftforge.fml.event.lifecycle.InterModProcessEvent; import net.minecraftforge.fml.event.server.FMLServerStartingEvent; import net.minecraftforge.fml.javafmlmod.FMLJavaModLoadingContext; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import java.util.stream.Collectors; // The value here should match an entry in the META-INF/mods.toml file @Mod("examplemod") public class ExampleMod { // Directly reference a log4j logger. private static final Logger LOGGER = LogManager.getLogger(); public ExampleMod() { // Register the setup method for modloading FMLJavaModLoadingContext.get().getModEventBus().addListener(this::setup); // Register the enqueueIMC method for modloading FMLJavaModLoadingContext.get().getModEventBus().addListener(this::enqueueIMC); // Register the processIMC method for modloading FMLJavaModLoadingContext.get().getModEventBus().addListener(this::processIMC); // Register the doClientStuff method for modloading FMLJavaModLoadingContext.get().getModEventBus().addListener(this::doClientStuff); // Register ourselves for server and other game events we are interested in MinecraftForge.EVENT_BUS.register(this); } private void setup(final FMLCommonSetupEvent event) { // some preinit code LOGGER.info("HELLO FROM PREINIT"); LOGGER.info("DIRT BLOCK >> {}", Blocks.DIRT.getRegistryName()); } private void doClientStuff(final FMLClientSetupEvent event) { // do something that can only be done on the client LOGGER.info("Got game settings {}", event.getMinecraftSupplier().get().gameSettings); } private void enqueueIMC(final InterModEnqueueEvent event) { // some example code to dispatch IMC to another mod InterModComms.sendTo("examplemod", "helloworld", () -> { LOGGER.info("Hello world from the MDK"); return "Hello world";}); } private void processIMC(final InterModProcessEvent event) { // some example code to receive and process InterModComms from other mods LOGGER.info("Got IMC {}", event.getIMCStream(). map(m->m.getMessageSupplier().get()). collect(Collectors.toList())); } // You can use SubscribeEvent and let the Event Bus discover methods to call @SubscribeEvent public void onServerStarting(FMLServerStartingEvent event) { // do something when the server starts LOGGER.info("HELLO from server starting"); } // 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"); } } }
  24. Just out of curiosity, what happens if you change the icon in your FlatTilesItemGroup to a vanilla item, instead of one of your modded items? I'm just curious if the issue is arising because your item is not registered yet, therefore does not exist, so your tab isn't getting setup? Check out https://mcforge.readthedocs.io/en/1.14.x/concepts/registries/#injecting-registry-values-into-fields for info on ObjectHolders. Also. . . . .
  25. Then I would question if the items are even being registered. I guess post logs?

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.