Class ClientWorld

java.lang.Object
com.viaversion.viaversion.api.minecraft.ClientWorld
All Implemented Interfaces:
StorableObject

public class ClientWorld extends Object implements StorableObject
Stored up until 1.14 to be used in chunk sending.
  • Constructor Details

    • ClientWorld

      public ClientWorld()
    • ClientWorld

      public ClientWorld(Environment environment)
  • Method Details

    • getEnvironment

      public Environment 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