Jump to content

WhiteBear60

Members
  • Posts

    9
  • Joined

  • Last visited

Everything posted by WhiteBear60

  1. Can I get server IP from this event or check if it is singleplayer or dedicated server?
  2. Good afternoon. I'm trying to write the functionality that I described in the title - for example, when the player logs in, he should automatically greet everyone with /say Hello. I have wrote the following: @Mod.EventBusSubscriber(bus = Mod.EventBusSubscriber.Bus.FORGE,value = Dist.CLIENT,modid = "examplemod") public static class PlayerEvents { @SubscribeEvent public static void onPlayerLoggedIn(PlayerEvent.PlayerLoggedInEvent event) { Minecraft.getInstance().player.chat("/say Test message"); } } but when I trying to load a world, it kicks me with an error that Minecraft.getInstance().player is null. What I'm doing wrong?
  3. I think that Java version was too new for OSX 10.10.0, on Java 1.8.0_222 everything works fine You can close this thread.
  4. The forge installer crashes when I'm trying to start it with doubleclick or via command in terminal: open forge-1.16.5-36.0.22-installer.jar Here is logs: "Problem Details and System Configuration" log that is shown by OSX after crash: https://pastebin.com/dsiV06Zn Forge installer log is attached. System: MacBook Pro 2011 CPU: 2,4 GHz Intel Core i5 RAM: 16GB 1600 MHz DDR3 GPU: Intel HD Graphics 3000 512 MB OSX 10.10 Yosemite forge-1.16.5-36.0.22-installer.jar.log
  5. To report this to Mojang I need to test it on a vanilla server, I have thinking before that it's Forge issue. I will write here about the results of my test.
  6. I think that Forge need some kind of notification that we must remove built-in resourcepack (aka resources.zip) from save folder when moving it to the server and use the resource pack parameter in server.properties. But, for now, this issue is solved, you may close this thread.
  7. I'm blind hasn't read client logs, thank you. Will write here if it will work for now.
  8. I have set a resource-pack in server.properties and Minecraft doesn't load it automatically when I login to server. Server resource packs is set to "Prompt". debug.log latest-1.log server.properties
×
×
  • Create New...

Important Information

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