Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Dawjaw

Members
  • Posts

    3
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Dawjaw's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. 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
  2. i prob should have uploaded both logs here is the 1.16.5 one https://pastebin.com/rVQGWGzf
  3. 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.
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.