Posted March 28, 20214 yr No matter what version of forge I try, the example mod always crashes when I join the world. 1.16.5 log: https://pastebin.com/rVQGWGzf Log 2 (diff version): https://pastebin.com/D7Lsg1Tp I tired: cleaning gradle chache, deleting the contents of .gradle in users, using different mdk versions, using different java binaries I would appreciate it if anyone could help me out here. Edited March 28, 20214 yr by Dawjaw
March 28, 20214 yr Author 16 minutes ago, diesieben07 said: That is not a 1.16.5 log. i prob should have uploaded both logs here is the 1.16.5 one https://pastebin.com/rVQGWGzf
March 28, 20214 yr Author 26 minutes ago, diesieben07 said: That shows you connecting to Hypixel, hypixel sending a bunch of invalid scoreboard packets which cause errors and then the game shutting down. Ok i wasnt sure if that was related since its the first time that i've seen happen. I have a PlayerInteractEvent and a BreakEvent that for some reason only works on singleplayer worlds and not in multiplayer ones. @SubscribeEvent public void onPlayerEvent(PlayerInteractEvent event) { Minecraft mc = Minecraft.getInstance(); ITextComponent m = new TranslationTextComponent("test"); mc.player.sendMessage(m, mc.player.getUUID()); } @SubscribeEvent public void onBreakEvent(BlockEvent.BreakEvent event) { Minecraft mc = Minecraft.getInstance(); mc.player.sendMessage(new TranslationTextComponent(event.getState().toString()), mc.player.getUUID()); } (the Listener is also registered) 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); MinecraftForge.EVENT_BUS.register(new BlockListener()); } I have no clue why that would not work, considering that there are a ton of mods for hypixel that do the same Edited March 28, 20214 yr by Dawjaw
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.