Posted March 7, 201312 yr Now that both client and server are servers (world.isRemote()) how can we detect if we are running from server?
March 7, 201312 yr Some methods in Minecraft instance might get handy: Minecraft.getMinecraft().isSingleplayer() && !Minecraft.getMinecraft().getIntegratedServer().getPublic() This condition is met when playing "Singleplayer" and the server you're running is not opened to LAN.
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.