java - Minecraft Modding Forge .isRemote() and worldObj -


i new minecraft modding , part understand lot of it, reason, can't grasp worldobj.isremote() means.

isremote() returns if world client or server sided. mean? don't understand.

usually, when remote, means on other end of network, or not on client side. did little coding forge, , if remember correctly, world.isremote() used tell if world on server client connected to, or if on computer minecraft running on(the client). example, playing singleplayer. none of available worlds remote because on client, isremote() never return true these. if, however, logged in server, worlds remote worlds. hope made sense!


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -