Class RealmsWorldOptions

java.lang.Object
net.minecraft.client.realms.dto.ValueObject
net.minecraft.client.realms.dto.RealmsWorldOptions

@Environment(CLIENT) public class RealmsWorldOptions extends ValueObject
Mappings:
Namespace Name
official drv
intermediary net/minecraft/class_4883
named net/minecraft/client/realms/dto/RealmsWorldOptions
  • Field Details

    • field_32100

      private static final boolean field_32100
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official n Ldrv;n:Z
      intermediary field_32100 Lnet/minecraft/class_4883;field_32100:Z
      named field_32100 Lnet/minecraft/client/realms/dto/RealmsWorldOptions;field_32100:Z
    • field_32101

      private static final boolean field_32101
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official o Ldrv;o:Z
      intermediary field_32101 Lnet/minecraft/class_4883;field_32101:Z
      named field_32101 Lnet/minecraft/client/realms/dto/RealmsWorldOptions;field_32101:Z
    • field_32102

      private static final boolean field_32102
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official p Ldrv;p:Z
      intermediary field_32102 Lnet/minecraft/class_4883;field_32102:Z
      named field_32102 Lnet/minecraft/client/realms/dto/RealmsWorldOptions;field_32102:Z
    • field_32103

      private static final boolean field_32103
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official q Ldrv;q:Z
      intermediary field_32103 Lnet/minecraft/class_4883;field_32103:Z
      named field_32103 Lnet/minecraft/client/realms/dto/RealmsWorldOptions;field_32103:Z
    • field_32104

      private static final boolean field_32104
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official r Ldrv;r:Z
      intermediary field_32104 Lnet/minecraft/class_4883;field_32104:Z
      named field_32104 Lnet/minecraft/client/realms/dto/RealmsWorldOptions;field_32104:Z
    • field_32105

      private static final int field_32105
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official s Ldrv;s:I
      intermediary field_32105 Lnet/minecraft/class_4883;field_32105:I
      named field_32105 Lnet/minecraft/client/realms/dto/RealmsWorldOptions;field_32105:I
    • field_32106

      private static final boolean field_32106
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official t Ldrv;t:Z
      intermediary field_32106 Lnet/minecraft/class_4883;field_32106:Z
      named field_32106 Lnet/minecraft/client/realms/dto/RealmsWorldOptions;field_32106:Z
    • field_32107

      private static final int field_32107
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official u Ldrv;u:I
      intermediary field_32107 Lnet/minecraft/class_4883;field_32107:I
      named field_32107 Lnet/minecraft/client/realms/dto/RealmsWorldOptions;field_32107:I
    • field_32108

      private static final int field_32108
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official v Ldrv;v:I
      intermediary field_32108 Lnet/minecraft/class_4883;field_32108:I
      named field_32108 Lnet/minecraft/client/realms/dto/RealmsWorldOptions;field_32108:I
    • field_32109

      private static final String field_32109
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official w Ldrv;w:Ljava/lang/String;
      intermediary field_32109 Lnet/minecraft/class_4883;field_32109:Ljava/lang/String;
      named field_32109 Lnet/minecraft/client/realms/dto/RealmsWorldOptions;field_32109:Ljava/lang/String;
    • field_32110

      private static final long field_32110
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official x Ldrv;x:J
      intermediary field_32110 Lnet/minecraft/class_4883;field_32110:J
      named field_32110 Lnet/minecraft/client/realms/dto/RealmsWorldOptions;field_32110:J
    • DEFAULT_WORLD_TEMPLATE_IMAGE

      private static final String DEFAULT_WORLD_TEMPLATE_IMAGE
      Mappings:
      Namespace Name Mixin selector
      official y Ldrv;y:Ljava/lang/String;
      intermediary field_22646 Lnet/minecraft/class_4883;field_22646:Ljava/lang/String;
      named DEFAULT_WORLD_TEMPLATE_IMAGE Lnet/minecraft/client/realms/dto/RealmsWorldOptions;DEFAULT_WORLD_TEMPLATE_IMAGE:Ljava/lang/String;
    • pvp

      public final boolean pvp
      Mappings:
      Namespace Name Mixin selector
      official a Ldrv;a:Z
      intermediary field_22632 Lnet/minecraft/class_4883;field_22632:Z
      named pvp Lnet/minecraft/client/realms/dto/RealmsWorldOptions;pvp:Z
    • spawnAnimals

      public final boolean spawnAnimals
      Mappings:
      Namespace Name Mixin selector
      official b Ldrv;b:Z
      intermediary field_22633 Lnet/minecraft/class_4883;field_22633:Z
      named spawnAnimals Lnet/minecraft/client/realms/dto/RealmsWorldOptions;spawnAnimals:Z
    • spawnMonsters

      public final boolean spawnMonsters
      Mappings:
      Namespace Name Mixin selector
      official c Ldrv;c:Z
      intermediary field_22634 Lnet/minecraft/class_4883;field_22634:Z
      named spawnMonsters Lnet/minecraft/client/realms/dto/RealmsWorldOptions;spawnMonsters:Z
    • spawnNpcs

      public final boolean spawnNpcs
      Mappings:
      Namespace Name Mixin selector
      official d Ldrv;d:Z
      intermediary field_22635 Lnet/minecraft/class_4883;field_22635:Z
      named spawnNpcs Lnet/minecraft/client/realms/dto/RealmsWorldOptions;spawnNpcs:Z
    • spawnProtection

      public final int spawnProtection
      Mappings:
      Namespace Name Mixin selector
      official e Ldrv;e:I
      intermediary field_22636 Lnet/minecraft/class_4883;field_22636:I
      named spawnProtection Lnet/minecraft/client/realms/dto/RealmsWorldOptions;spawnProtection:I
    • commandBlocks

      public final boolean commandBlocks
      Mappings:
      Namespace Name Mixin selector
      official f Ldrv;f:Z
      intermediary field_22637 Lnet/minecraft/class_4883;field_22637:Z
      named commandBlocks Lnet/minecraft/client/realms/dto/RealmsWorldOptions;commandBlocks:Z
    • forceGameMode

      public final boolean forceGameMode
      Mappings:
      Namespace Name Mixin selector
      official g Ldrv;g:Z
      intermediary field_22638 Lnet/minecraft/class_4883;field_22638:Z
      named forceGameMode Lnet/minecraft/client/realms/dto/RealmsWorldOptions;forceGameMode:Z
    • difficulty

      public final int difficulty
      Mappings:
      Namespace Name Mixin selector
      official h Ldrv;h:I
      intermediary field_22639 Lnet/minecraft/class_4883;field_22639:I
      named difficulty Lnet/minecraft/client/realms/dto/RealmsWorldOptions;difficulty:I
    • gameMode

      public final int gameMode
      Mappings:
      Namespace Name Mixin selector
      official i Ldrv;i:I
      intermediary field_22640 Lnet/minecraft/class_4883;field_22640:I
      named gameMode Lnet/minecraft/client/realms/dto/RealmsWorldOptions;gameMode:I
    • slotName

      @Nullable private final @Nullable String slotName
      Mappings:
      Namespace Name Mixin selector
      official m Ldrv;m:Ljava/lang/String;
      intermediary field_22641 Lnet/minecraft/class_4883;field_22641:Ljava/lang/String;
      named slotName Lnet/minecraft/client/realms/dto/RealmsWorldOptions;slotName:Ljava/lang/String;
    • templateId

      public long templateId
      Mappings:
      Namespace Name Mixin selector
      official j Ldrv;j:J
      intermediary field_22642 Lnet/minecraft/class_4883;field_22642:J
      named templateId Lnet/minecraft/client/realms/dto/RealmsWorldOptions;templateId:J
    • templateImage

      @Nullable public @Nullable String templateImage
      Mappings:
      Namespace Name Mixin selector
      official k Ldrv;k:Ljava/lang/String;
      intermediary field_22643 Lnet/minecraft/class_4883;field_22643:Ljava/lang/String;
      named templateImage Lnet/minecraft/client/realms/dto/RealmsWorldOptions;templateImage:Ljava/lang/String;
    • empty

      public boolean empty
      Mappings:
      Namespace Name Mixin selector
      official l Ldrv;l:Z
      intermediary field_22645 Lnet/minecraft/class_4883;field_22645:Z
      named empty Lnet/minecraft/client/realms/dto/RealmsWorldOptions;empty:Z
  • Constructor Details

    • RealmsWorldOptions

      public RealmsWorldOptions(boolean pvp, boolean spawnAnimals, boolean spawnMonsters, boolean spawnNpcs, int spawnProtection, boolean commandBlocks, int difficulty, int gameMode, boolean forceGameMode, @Nullable @Nullable String slotName)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldrv;<init>(ZZZZIZIIZLjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_4883;<init>(ZZZZIZIIZLjava/lang/String;)V
      named <init> Lnet/minecraft/client/realms/dto/RealmsWorldOptions;<init>(ZZZZIZIIZLjava/lang/String;)V
  • Method Details

    • getDefaults

      public static RealmsWorldOptions getDefaults()
      Mappings:
      Namespace Name Mixin selector
      official a Ldrv;a()Ldrv;
      intermediary method_25076 Lnet/minecraft/class_4883;method_25076()Lnet/minecraft/class_4883;
      named getDefaults Lnet/minecraft/client/realms/dto/RealmsWorldOptions;getDefaults()Lnet/minecraft/client/realms/dto/RealmsWorldOptions;
    • getEmptyDefaults

      public static RealmsWorldOptions getEmptyDefaults()
      Mappings:
      Namespace Name Mixin selector
      official b Ldrv;b()Ldrv;
      intermediary method_25080 Lnet/minecraft/class_4883;method_25080()Lnet/minecraft/class_4883;
      named getEmptyDefaults Lnet/minecraft/client/realms/dto/RealmsWorldOptions;getEmptyDefaults()Lnet/minecraft/client/realms/dto/RealmsWorldOptions;
    • setEmpty

      public void setEmpty(boolean empty)
      Mappings:
      Namespace Name Mixin selector
      official a Ldrv;a(Z)V
      intermediary method_25079 Lnet/minecraft/class_4883;method_25079(Z)V
      named setEmpty Lnet/minecraft/client/realms/dto/RealmsWorldOptions;setEmpty(Z)V
    • parse

      public static RealmsWorldOptions parse(JsonObject json)
      Mappings:
      Namespace Name Mixin selector
      official a Ldrv;a(Lcom/google/gson/JsonObject;)Ldrv;
      intermediary method_25078 Lnet/minecraft/class_4883;method_25078(Lcom/google/gson/JsonObject;)Lnet/minecraft/class_4883;
      named parse Lnet/minecraft/client/realms/dto/RealmsWorldOptions;parse(Lcom/google/gson/JsonObject;)Lnet/minecraft/client/realms/dto/RealmsWorldOptions;
    • getSlotName

      public String getSlotName(int index)
      Mappings:
      Namespace Name Mixin selector
      official a Ldrv;a(I)Ljava/lang/String;
      intermediary method_25077 Lnet/minecraft/class_4883;method_25077(I)Ljava/lang/String;
      named getSlotName Lnet/minecraft/client/realms/dto/RealmsWorldOptions;getSlotName(I)Ljava/lang/String;
    • getDefaultSlotName

      public String getDefaultSlotName(int index)
      Mappings:
      Namespace Name Mixin selector
      official b Ldrv;b(I)Ljava/lang/String;
      intermediary method_25081 Lnet/minecraft/class_4883;method_25081(I)Ljava/lang/String;
      named getDefaultSlotName Lnet/minecraft/client/realms/dto/RealmsWorldOptions;getDefaultSlotName(I)Ljava/lang/String;
    • toJson

      public String toJson()
      Mappings:
      Namespace Name Mixin selector
      official c Ldrv;c()Ljava/lang/String;
      intermediary method_25082 Lnet/minecraft/class_4883;method_25082()Ljava/lang/String;
      named toJson Lnet/minecraft/client/realms/dto/RealmsWorldOptions;toJson()Ljava/lang/String;
    • clone

      public RealmsWorldOptions clone()
      Overrides:
      clone in class Object
      Mappings:
      Namespace Name Mixin selector
      official d Ldrv;d()Ldrv;
      intermediary method_25083 Lnet/minecraft/class_4883;method_25083()Lnet/minecraft/class_4883;
      named clone Lnet/minecraft/client/realms/dto/RealmsWorldOptions;clone()Lnet/minecraft/client/realms/dto/RealmsWorldOptions;