Package net.minecraft.world.level
Class LevelInfo
java.lang.Object
net.minecraft.world.level.LevelInfo
- Mappings:
Namespace Name official ahwintermediary net/minecraft/class_1156named net/minecraft/world/level/LevelInfo
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate booleanprivate final LevelInfo.GameModeprivate Stringprivate final LevelGeneratorTypeprivate final booleanprivate final longprivate final boolean -
Constructor Summary
ConstructorsConstructorDescriptionLevelInfo(long seed, LevelInfo.GameMode gameMode, boolean structures, boolean hardcore, LevelGeneratorType generatorType) LevelInfo(LevelProperties levelProperties) -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic LevelInfo.GameModegetGameModeById(int id) longgetSeed()booleanbooleanbooleansetGeneratorOptions(String generatorOptions)
-
Field Details
-
seed
private final long seed- Mappings:
Namespace Name Mixin selector official aLahw;a:Jintermediary field_4565Lnet/minecraft/class_1156;field_4565:Jnamed seedLnet/minecraft/world/level/LevelInfo;seed:J
-
gameMode
- Mappings:
Namespace Name Mixin selector official bLahw;b:Lahw$a;intermediary field_4566Lnet/minecraft/class_1156;field_4566:Lnet/minecraft/class_1156$class_1157;named gameModeLnet/minecraft/world/level/LevelInfo;gameMode:Lnet/minecraft/world/level/LevelInfo$GameMode;
-
structures
private final boolean structures- Mappings:
Namespace Name Mixin selector official cLahw;c:Zintermediary field_4567Lnet/minecraft/class_1156;field_4567:Znamed structuresLnet/minecraft/world/level/LevelInfo;structures:Z
-
hardcore
private final boolean hardcore- Mappings:
Namespace Name Mixin selector official dLahw;d:Zintermediary field_4568Lnet/minecraft/class_1156;field_4568:Znamed hardcoreLnet/minecraft/world/level/LevelInfo;hardcore:Z
-
generatorType
- Mappings:
Namespace Name Mixin selector official eLahw;e:Lahy;intermediary field_4569Lnet/minecraft/class_1156;field_4569:Lnet/minecraft/class_1160;named generatorTypeLnet/minecraft/world/level/LevelInfo;generatorType:Lnet/minecraft/world/level/LevelGeneratorType;
-
commands
private boolean commands- Mappings:
Namespace Name Mixin selector official fLahw;f:Zintermediary field_4570Lnet/minecraft/class_1156;field_4570:Znamed commandsLnet/minecraft/world/level/LevelInfo;commands:Z
-
bonusChest
private boolean bonusChest- Mappings:
Namespace Name Mixin selector official gLahw;g:Zintermediary field_4571Lnet/minecraft/class_1156;field_4571:Znamed bonusChestLnet/minecraft/world/level/LevelInfo;bonusChest:Z
-
generatorOptions
- Mappings:
Namespace Name Mixin selector official hLahw;h:Ljava/lang/String;intermediary field_5469Lnet/minecraft/class_1156;field_5469:Ljava/lang/String;named generatorOptionsLnet/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;)Vintermediary <init>Lnet/minecraft/class_1156;<init>(JLnet/minecraft/class_1156$class_1157;ZZLnet/minecraft/class_1160;)Vnamed <init>Lnet/minecraft/world/level/LevelInfo;<init>(JLnet/minecraft/world/level/LevelInfo$GameMode;ZZLnet/minecraft/world/level/LevelGeneratorType;)V
-
LevelInfo
- Mappings:
Namespace Name Mixin selector official <init>Lahw;<init>(Lazh;)Vintermediary <init>Lnet/minecraft/class_1156;<init>(Lnet/minecraft/class_100;)Vnamed <init>Lnet/minecraft/world/level/LevelInfo;<init>(Lnet/minecraft/world/level/LevelProperties;)V
-
-
Method Details
-
setBonusChest
- Mappings:
Namespace Name Mixin selector official aLahw;a()Lahw;intermediary method_3753Lnet/minecraft/class_1156;method_3753()Lnet/minecraft/class_1156;named setBonusChestLnet/minecraft/world/level/LevelInfo;setBonusChest()Lnet/minecraft/world/level/LevelInfo;
-
enableCommands
- Mappings:
Namespace Name Mixin selector official bLahw;b()Lahw;intermediary method_3755Lnet/minecraft/class_1156;method_3755()Lnet/minecraft/class_1156;named enableCommandsLnet/minecraft/world/level/LevelInfo;enableCommands()Lnet/minecraft/world/level/LevelInfo;
-
setGeneratorOptions
- Mappings:
Namespace Name Mixin selector official aLahw;a(Ljava/lang/String;)Lahw;intermediary method_4694Lnet/minecraft/class_1156;method_4694(Ljava/lang/String;)Lnet/minecraft/class_1156;named setGeneratorOptionsLnet/minecraft/world/level/LevelInfo;setGeneratorOptions(Ljava/lang/String;)Lnet/minecraft/world/level/LevelInfo;
-
hasBonusChest
public boolean hasBonusChest()- Mappings:
Namespace Name Mixin selector official cLahw;c()Zintermediary method_3756Lnet/minecraft/class_1156;method_3756()Znamed hasBonusChestLnet/minecraft/world/level/LevelInfo;hasBonusChest()Z
-
getSeed
public long getSeed()- Mappings:
Namespace Name Mixin selector official dLahw;d()Jintermediary method_3757Lnet/minecraft/class_1156;method_3757()Jnamed getSeedLnet/minecraft/world/level/LevelInfo;getSeed()J
-
getGameMode
- Mappings:
Namespace Name Mixin selector official eLahw;e()Lahw$a;intermediary method_3758Lnet/minecraft/class_1156;method_3758()Lnet/minecraft/class_1156$class_1157;named getGameModeLnet/minecraft/world/level/LevelInfo;getGameMode()Lnet/minecraft/world/level/LevelInfo$GameMode;
-
isHardcore
public boolean isHardcore()- Mappings:
Namespace Name Mixin selector official fLahw;f()Zintermediary method_3759Lnet/minecraft/class_1156;method_3759()Znamed isHardcoreLnet/minecraft/world/level/LevelInfo;isHardcore()Z
-
hasStructures
public boolean hasStructures()- Mappings:
Namespace Name Mixin selector official gLahw;g()Zintermediary method_3760Lnet/minecraft/class_1156;method_3760()Znamed hasStructuresLnet/minecraft/world/level/LevelInfo;hasStructures()Z
-
getGeneratorType
- Mappings:
Namespace Name Mixin selector official hLahw;h()Lahy;intermediary method_3761Lnet/minecraft/class_1156;method_3761()Lnet/minecraft/class_1160;named getGeneratorTypeLnet/minecraft/world/level/LevelInfo;getGeneratorType()Lnet/minecraft/world/level/LevelGeneratorType;
-
allowCommands
public boolean allowCommands()- Mappings:
Namespace Name Mixin selector official iLahw;i()Zintermediary method_3762Lnet/minecraft/class_1156;method_3762()Znamed allowCommandsLnet/minecraft/world/level/LevelInfo;allowCommands()Z
-
getGameModeById
- Mappings:
Namespace Name Mixin selector official aLahw;a(I)Lahw$a;intermediary method_3754Lnet/minecraft/class_1156;method_3754(I)Lnet/minecraft/class_1156$class_1157;named getGameModeByIdLnet/minecraft/world/level/LevelInfo;getGameModeById(I)Lnet/minecraft/world/level/LevelInfo$GameMode;
-
getGeneratorOptions
- Mappings:
Namespace Name Mixin selector official jLahw;j()Ljava/lang/String;intermediary method_4695Lnet/minecraft/class_1156;method_4695()Ljava/lang/String;named getGeneratorOptionsLnet/minecraft/world/level/LevelInfo;getGeneratorOptions()Ljava/lang/String;
-