Class RealmsWorldOptions

java.lang.Object
com.mojang.realmsclient.dto.ValueObject
com.mojang.realmsclient.dto.RealmsWorldOptions

public class RealmsWorldOptions extends ValueObject
  • Field Details

    • pvp

      public Boolean pvp
    • spawnAnimals

      public Boolean spawnAnimals
    • spawnMonsters

      public Boolean spawnMonsters
    • spawnNPCs

      public Boolean spawnNPCs
    • spawnProtection

      public Integer spawnProtection
    • commandBlocks

      public Boolean commandBlocks
    • forceGameMode

      public Boolean forceGameMode
    • difficulty

      public Integer difficulty
    • gameMode

      public Integer gameMode
    • slotName

      public String slotName
    • templateId

      public long templateId
    • templateImage

      public String templateImage
    • adventureMap

      public boolean adventureMap
    • empty

      public boolean empty
    • DEFAULT_TEMPLATE_IMAGE

      private static final String DEFAULT_TEMPLATE_IMAGE
  • Constructor Details

  • Method Details

    • createDefaults

      public static RealmsWorldOptions createDefaults()
    • createEmptyDefaults

      public static RealmsWorldOptions createEmptyDefaults()
    • setEmpty

      public void setEmpty(boolean p_230789_1_)
    • parse

      public static RealmsWorldOptions parse(com.google.gson.JsonObject p_230788_0_)
    • getSlotName

      public String getSlotName(int p_230787_1_)
    • getDefaultSlotName

      public String getDefaultSlotName(int p_230790_1_)
    • toJson

      public String toJson()
    • clone

      public RealmsWorldOptions clone()
      Overrides:
      clone in class Object