Class ClientWorld
java.lang.Object
com.viaversion.viaversion.api.minecraft.ClientWorld
- All Implemented Interfaces:
StorableObject
Stored up until 1.14 to be used in chunk sending.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
setEnvironment
(int environmentId) Sets the environment of the world and returns whether the environment was changed.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.viaversion.viaversion.api.connection.StorableObject
clearOnServerSwitch, onRemove
-
Constructor Details
-
ClientWorld
public ClientWorld() -
ClientWorld
-
-
Method Details
-
getEnvironment
-
setEnvironment
public boolean setEnvironment(int environmentId) Sets the environment of the world and returns whether the environment was changed.- Parameters:
environmentId
- the id of the environment to set- Returns:
- whether the environment was changed
-