Class LevelInfo

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

public final class LevelInfo extends Object
Mappings:
Namespace Name
official ahw
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 Lahw;a:J
      intermediary field_4565 Lnet/minecraft/class_1156;field_4565:J
      named seed Lnet/minecraft/world/level/LevelInfo;seed:J
    • gameMode

      private final LevelInfo.GameMode gameMode
      Mappings:
      Namespace Name Mixin selector
      official b Lahw;b:Lahw$a;
      intermediary field_4566 Lnet/minecraft/class_1156;field_4566:Lnet/minecraft/class_1156$class_1157;
      named gameMode Lnet/minecraft/world/level/LevelInfo;gameMode:Lnet/minecraft/world/level/LevelInfo$GameMode;
    • structures

      private final boolean structures
      Mappings:
      Namespace Name Mixin selector
      official c Lahw;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 Lahw;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 Lahw;e:Lahy;
      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 Lahw;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 Lahw;g:Z
      intermediary field_4571 Lnet/minecraft/class_1156;field_4571:Z
      named bonusChest Lnet/minecraft/world/level/LevelInfo;bonusChest:Z
    • generatorOptions

      private String generatorOptions
      Mappings:
      Namespace Name Mixin selector
      official h Lahw;h:Ljava/lang/String;
      intermediary field_5469 Lnet/minecraft/class_1156;field_5469:Ljava/lang/String;
      named generatorOptions Lnet/minecraft/world/level/LevelInfo;generatorOptions:Ljava/lang/String;
  • Constructor Details

    • LevelInfo

      public LevelInfo(long seed, LevelInfo.GameMode gameMode, boolean structures, boolean hardcore, LevelGeneratorType generatorType)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lahw;<init>(JLahw$a;ZZLahy;)V
      intermediary <init> Lnet/minecraft/class_1156;<init>(JLnet/minecraft/class_1156$class_1157;ZZLnet/minecraft/class_1160;)V
      named <init> Lnet/minecraft/world/level/LevelInfo;<init>(JLnet/minecraft/world/level/LevelInfo$GameMode;ZZLnet/minecraft/world/level/LevelGeneratorType;)V
    • LevelInfo

      public LevelInfo(LevelProperties levelProperties)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lahw;<init>(Lazh;)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 Lahw;a()Lahw;
      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 Lahw;b()Lahw;
      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;
    • setGeneratorOptions

      public LevelInfo setGeneratorOptions(String generatorOptions)
      Mappings:
      Namespace Name Mixin selector
      official a Lahw;a(Ljava/lang/String;)Lahw;
      intermediary method_4694 Lnet/minecraft/class_1156;method_4694(Ljava/lang/String;)Lnet/minecraft/class_1156;
      named setGeneratorOptions Lnet/minecraft/world/level/LevelInfo;setGeneratorOptions(Ljava/lang/String;)Lnet/minecraft/world/level/LevelInfo;
    • hasBonusChest

      public boolean hasBonusChest()
      Mappings:
      Namespace Name Mixin selector
      official c Lahw;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 Lahw;d()J
      intermediary method_3757 Lnet/minecraft/class_1156;method_3757()J
      named getSeed Lnet/minecraft/world/level/LevelInfo;getSeed()J
    • getGameMode

      public LevelInfo.GameMode getGameMode()
      Mappings:
      Namespace Name Mixin selector
      official e Lahw;e()Lahw$a;
      intermediary method_3758 Lnet/minecraft/class_1156;method_3758()Lnet/minecraft/class_1156$class_1157;
      named getGameMode Lnet/minecraft/world/level/LevelInfo;getGameMode()Lnet/minecraft/world/level/LevelInfo$GameMode;
    • isHardcore

      public boolean isHardcore()
      Mappings:
      Namespace Name Mixin selector
      official f Lahw;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 Lahw;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 Lahw;h()Lahy;
      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 Lahw;i()Z
      intermediary method_3762 Lnet/minecraft/class_1156;method_3762()Z
      named allowCommands Lnet/minecraft/world/level/LevelInfo;allowCommands()Z
    • getGameModeById

      public static LevelInfo.GameMode getGameModeById(int id)
      Mappings:
      Namespace Name Mixin selector
      official a Lahw;a(I)Lahw$a;
      intermediary method_3754 Lnet/minecraft/class_1156;method_3754(I)Lnet/minecraft/class_1156$class_1157;
      named getGameModeById Lnet/minecraft/world/level/LevelInfo;getGameModeById(I)Lnet/minecraft/world/level/LevelInfo$GameMode;
    • getGeneratorOptions

      public String getGeneratorOptions()
      Mappings:
      Namespace Name Mixin selector
      official j Lahw;j()Ljava/lang/String;
      intermediary method_4695 Lnet/minecraft/class_1156;method_4695()Ljava/lang/String;
      named getGeneratorOptions Lnet/minecraft/world/level/LevelInfo;getGeneratorOptions()Ljava/lang/String;