Class LevelInfo

java.lang.Object
net.minecraft.world.level.LevelInfo

public final class LevelInfo extends Object
Mappings:
Namespace Name
official ayd
intermediary net/minecraft/class_1156
named net/minecraft/world/level/LevelInfo
  • Field Details

    • seed

      private final long seed
      Mappings:
      Namespace Name Mixin selector
      official a Layd;a:J
      intermediary field_4565 Lnet/minecraft/class_1156;field_4565:J
      named seed Lnet/minecraft/world/level/LevelInfo;seed:J
    • field_4566

      private final GameMode field_4566
      Mappings:
      Namespace Name Mixin selector
      official b Layd;b:Laxv;
      intermediary field_4566 Lnet/minecraft/class_1156;field_4566:Lnet/minecraft/class_1157;
      named field_4566 Lnet/minecraft/world/level/LevelInfo;field_4566:Lnet/minecraft/world/GameMode;
    • structures

      private final boolean structures
      Mappings:
      Namespace Name Mixin selector
      official c Layd;c:Z
      intermediary field_4567 Lnet/minecraft/class_1156;field_4567:Z
      named structures Lnet/minecraft/world/level/LevelInfo;structures:Z
    • hardcore

      private final boolean hardcore
      Mappings:
      Namespace Name Mixin selector
      official d Layd;d:Z
      intermediary field_4568 Lnet/minecraft/class_1156;field_4568:Z
      named hardcore Lnet/minecraft/world/level/LevelInfo;hardcore:Z
    • generatorType

      private final LevelGeneratorType generatorType
      Mappings:
      Namespace Name Mixin selector
      official e Layd;e:Layg;
      intermediary field_4569 Lnet/minecraft/class_1156;field_4569:Lnet/minecraft/class_1160;
      named generatorType Lnet/minecraft/world/level/LevelInfo;generatorType:Lnet/minecraft/world/level/LevelGeneratorType;
    • commands

      private boolean commands
      Mappings:
      Namespace Name Mixin selector
      official f Layd;f:Z
      intermediary field_4570 Lnet/minecraft/class_1156;field_4570:Z
      named commands Lnet/minecraft/world/level/LevelInfo;commands:Z
    • bonusChest

      private boolean bonusChest
      Mappings:
      Namespace Name Mixin selector
      official g Layd;g:Z
      intermediary field_4571 Lnet/minecraft/class_1156;field_4571:Z
      named bonusChest Lnet/minecraft/world/level/LevelInfo;bonusChest:Z
    • field_17504

      private JsonElement field_17504
      Mappings:
      Namespace Name Mixin selector
      official h Layd;h:Lcom/google/gson/JsonElement;
      intermediary field_17504 Lnet/minecraft/class_1156;field_17504:Lcom/google/gson/JsonElement;
      named field_17504 Lnet/minecraft/world/level/LevelInfo;field_17504:Lcom/google/gson/JsonElement;
  • Constructor Details

    • LevelInfo

      public LevelInfo(long long2, GameMode gameMode, boolean bool, boolean bool2, LevelGeneratorType levelGeneratorType)
    • LevelInfo

      public LevelInfo(LevelProperties levelProperties)
      Mappings:
      Namespace Name Mixin selector
      official <init> Layd;<init>(Lccb;)V
      intermediary <init> Lnet/minecraft/class_1156;<init>(Lnet/minecraft/class_100;)V
      named <init> Lnet/minecraft/world/level/LevelInfo;<init>(Lnet/minecraft/world/level/LevelProperties;)V
  • Method Details

    • setBonusChest

      public LevelInfo setBonusChest()
      Mappings:
      Namespace Name Mixin selector
      official a Layd;a()Layd;
      intermediary method_3753 Lnet/minecraft/class_1156;method_3753()Lnet/minecraft/class_1156;
      named setBonusChest Lnet/minecraft/world/level/LevelInfo;setBonusChest()Lnet/minecraft/world/level/LevelInfo;
    • enableCommands

      @Environment(CLIENT) public LevelInfo enableCommands()
      Mappings:
      Namespace Name Mixin selector
      official b Layd;b()Layd;
      intermediary method_3755 Lnet/minecraft/class_1156;method_3755()Lnet/minecraft/class_1156;
      named enableCommands Lnet/minecraft/world/level/LevelInfo;enableCommands()Lnet/minecraft/world/level/LevelInfo;
    • method_16395

      public LevelInfo method_16395(JsonElement jsonElement)
      Mappings:
      Namespace Name Mixin selector
      official a Layd;a(Lcom/google/gson/JsonElement;)Layd;
      intermediary method_16395 Lnet/minecraft/class_1156;method_16395(Lcom/google/gson/JsonElement;)Lnet/minecraft/class_1156;
      named method_16395 Lnet/minecraft/world/level/LevelInfo;method_16395(Lcom/google/gson/JsonElement;)Lnet/minecraft/world/level/LevelInfo;
    • hasBonusChest

      public boolean hasBonusChest()
      Mappings:
      Namespace Name Mixin selector
      official c Layd;c()Z
      intermediary method_3756 Lnet/minecraft/class_1156;method_3756()Z
      named hasBonusChest Lnet/minecraft/world/level/LevelInfo;hasBonusChest()Z
    • getSeed

      public long getSeed()
      Mappings:
      Namespace Name Mixin selector
      official d Layd;d()J
      intermediary method_3757 Lnet/minecraft/class_1156;method_3757()J
      named getSeed Lnet/minecraft/world/level/LevelInfo;getSeed()J
    • method_3758

      public GameMode method_3758()
      Mappings:
      Namespace Name Mixin selector
      official e Layd;e()Laxv;
      intermediary method_3758 Lnet/minecraft/class_1156;method_3758()Lnet/minecraft/class_1157;
      named method_3758 Lnet/minecraft/world/level/LevelInfo;method_3758()Lnet/minecraft/world/GameMode;
    • isHardcore

      public boolean isHardcore()
      Mappings:
      Namespace Name Mixin selector
      official f Layd;f()Z
      intermediary method_3759 Lnet/minecraft/class_1156;method_3759()Z
      named isHardcore Lnet/minecraft/world/level/LevelInfo;isHardcore()Z
    • hasStructures

      public boolean hasStructures()
      Mappings:
      Namespace Name Mixin selector
      official g Layd;g()Z
      intermediary method_3760 Lnet/minecraft/class_1156;method_3760()Z
      named hasStructures Lnet/minecraft/world/level/LevelInfo;hasStructures()Z
    • getGeneratorType

      public LevelGeneratorType getGeneratorType()
      Mappings:
      Namespace Name Mixin selector
      official h Layd;h()Layg;
      intermediary method_3761 Lnet/minecraft/class_1156;method_3761()Lnet/minecraft/class_1160;
      named getGeneratorType Lnet/minecraft/world/level/LevelInfo;getGeneratorType()Lnet/minecraft/world/level/LevelGeneratorType;
    • allowCommands

      public boolean allowCommands()
      Mappings:
      Namespace Name Mixin selector
      official i Layd;i()Z
      intermediary method_3762 Lnet/minecraft/class_1156;method_3762()Z
      named allowCommands Lnet/minecraft/world/level/LevelInfo;allowCommands()Z
    • method_3754

      public static GameMode method_3754(int int2)
      Mappings:
      Namespace Name Mixin selector
      official a Layd;a(I)Laxv;
      intermediary method_3754 Lnet/minecraft/class_1156;method_3754(I)Lnet/minecraft/class_1157;
      named method_3754 Lnet/minecraft/world/level/LevelInfo;method_3754(I)Lnet/minecraft/world/GameMode;
    • method_4695

      public JsonElement method_4695()
      Mappings:
      Namespace Name Mixin selector
      official j Layd;j()Lcom/google/gson/JsonElement;
      intermediary method_4695 Lnet/minecraft/class_1156;method_4695()Lcom/google/gson/JsonElement;
      named method_4695 Lnet/minecraft/world/level/LevelInfo;method_4695()Lcom/google/gson/JsonElement;