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
named net/minecraft/client/realms/dto/RealmsWorldOptions
intermediary net/minecraft/class_4883
official fio
  • Field Details

    • field_32100

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

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

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

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

      private static final boolean field_32106
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_32106 Lnet/minecraft/client/realms/dto/RealmsWorldOptions;field_32106:Z
      intermediary field_32106 Lnet/minecraft/class_4883;field_32106:Z
      official s Lfio;s:Z
    • DEFAULT_DIFFICULTY

      private static final int DEFAULT_DIFFICULTY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named DEFAULT_DIFFICULTY Lnet/minecraft/client/realms/dto/RealmsWorldOptions;DEFAULT_DIFFICULTY:I
      intermediary field_32107 Lnet/minecraft/class_4883;field_32107:I
      official t Lfio;t:I
    • field_32108

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

      private static final boolean field_54385
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_54385 Lnet/minecraft/client/realms/dto/RealmsWorldOptions;field_54385:Z
      intermediary field_54385 Lnet/minecraft/class_4883;field_54385:Z
      official v Lfio;v:Z
    • DEFAULT_SLOT_NAME

      private static final String DEFAULT_SLOT_NAME
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named DEFAULT_SLOT_NAME Lnet/minecraft/client/realms/dto/RealmsWorldOptions;DEFAULT_SLOT_NAME:Ljava/lang/String;
      intermediary field_32109 Lnet/minecraft/class_4883;field_32109:Ljava/lang/String;
      official w Lfio;w:Ljava/lang/String;
    • field_46845

      private static final String field_46845
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_46845 Lnet/minecraft/client/realms/dto/RealmsWorldOptions;field_46845:Ljava/lang/String;
      intermediary field_46845 Lnet/minecraft/class_4883;field_46845:Ljava/lang/String;
      official x Lfio;x:Ljava/lang/String;
    • DEFAULT_COMPATIBILITY

      private static final RealmsServer.Compatibility DEFAULT_COMPATIBILITY
      Mappings:
      Namespace Name Mixin selector
      named DEFAULT_COMPATIBILITY Lnet/minecraft/client/realms/dto/RealmsWorldOptions;DEFAULT_COMPATIBILITY:Lnet/minecraft/client/realms/dto/RealmsServer$Compatibility;
      intermediary field_46842 Lnet/minecraft/class_4883;field_46842:Lnet/minecraft/class_4877$class_8842;
      official y Lfio;y:Lfii$a;
    • DEFAULT_WORLD_TEMPLATE_ID

      private static final long DEFAULT_WORLD_TEMPLATE_ID
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named DEFAULT_WORLD_TEMPLATE_ID Lnet/minecraft/client/realms/dto/RealmsWorldOptions;DEFAULT_WORLD_TEMPLATE_ID:J
      intermediary field_32110 Lnet/minecraft/class_4883;field_32110:J
      official z Lfio;z:J
    • DEFAULT_WORLD_TEMPLATE_IMAGE

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

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

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

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

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

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

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

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

      public final boolean hardcore
      Mappings:
      Namespace Name Mixin selector
      named hardcore Lnet/minecraft/client/realms/dto/RealmsWorldOptions;hardcore:Z
      intermediary field_54384 Lnet/minecraft/class_4883;field_54384:Z
      official h Lfio;h:Z
    • slotName

      private final String slotName
      Mappings:
      Namespace Name Mixin selector
      named slotName Lnet/minecraft/client/realms/dto/RealmsWorldOptions;slotName:Ljava/lang/String;
      intermediary field_22641 Lnet/minecraft/class_4883;field_22641:Ljava/lang/String;
      official n Lfio;n:Ljava/lang/String;
    • version

      public final String version
      Mappings:
      Namespace Name Mixin selector
      named version Lnet/minecraft/client/realms/dto/RealmsWorldOptions;version:Ljava/lang/String;
      intermediary field_46843 Lnet/minecraft/class_4883;field_46843:Ljava/lang/String;
      official i Lfio;i:Ljava/lang/String;
    • compatibility

      public final RealmsServer.Compatibility compatibility
      Mappings:
      Namespace Name Mixin selector
      named compatibility Lnet/minecraft/client/realms/dto/RealmsWorldOptions;compatibility:Lnet/minecraft/client/realms/dto/RealmsServer$Compatibility;
      intermediary field_46844 Lnet/minecraft/class_4883;field_46844:Lnet/minecraft/class_4877$class_8842;
      official j Lfio;j:Lfii$a;
    • templateId

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

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

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

    • RealmsWorldOptions

      public RealmsWorldOptions(boolean pvp, boolean spawnAnimals, int spawnProtection, boolean commandBlocks, int difficulty, int gameMode, boolean hardcore, boolean forceGameMode, String slotName, String version, RealmsServer.Compatibility compatibility)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/realms/dto/RealmsWorldOptions;<init>(ZZIZIIZZLjava/lang/String;Ljava/lang/String;Lnet/minecraft/client/realms/dto/RealmsServer$Compatibility;)V
      intermediary <init> Lnet/minecraft/class_4883;<init>(ZZIZIIZZLjava/lang/String;Ljava/lang/String;Lnet/minecraft/class_4877$class_8842;)V
      official <init> Lfio;<init>(ZZIZIIZZLjava/lang/String;Ljava/lang/String;Lfii$a;)V
  • Method Details

    • getDefaults

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

      public static RealmsWorldOptions create(GameMode gameMode, Difficulty difficulty, boolean hardcore, String version, String slotName)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/client/realms/dto/RealmsWorldOptions;create(Lnet/minecraft/world/GameMode;Lnet/minecraft/world/Difficulty;ZLjava/lang/String;Ljava/lang/String;)Lnet/minecraft/client/realms/dto/RealmsWorldOptions;
      intermediary method_64352 Lnet/minecraft/class_4883;method_64352(Lnet/minecraft/class_1934;Lnet/minecraft/class_1267;ZLjava/lang/String;Ljava/lang/String;)Lnet/minecraft/class_4883;
      official a Lfio;a(Ldhe;Lbtf;ZLjava/lang/String;Ljava/lang/String;)Lfio;
    • create

      public static RealmsWorldOptions create(LevelInfo levelInfo, String version)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/client/realms/dto/RealmsWorldOptions;create(Lnet/minecraft/world/level/LevelInfo;Ljava/lang/String;)Lnet/minecraft/client/realms/dto/RealmsWorldOptions;
      intermediary method_64353 Lnet/minecraft/class_4883;method_64353(Lnet/minecraft/class_1940;Ljava/lang/String;)Lnet/minecraft/class_4883;
      official a Lfio;a(Ldhl;Ljava/lang/String;)Lfio;
    • getEmptyDefaults

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

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

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

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

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

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

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