Package net.minecraft.world.level
Class LevelInfo
java.lang.Object
net.minecraft.world.level.LevelInfo
- Mappings:
Namespace Name official amxintermediary net/minecraft/class_1156named net/minecraft/world/level/LevelInfo
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate booleanprivate final GameModeprivate Stringprivate final LevelGeneratorTypeprivate final booleanprivate final longprivate final boolean -
Constructor Summary
ConstructorsConstructorDescriptionLevelInfo(long long2, GameMode gameMode, boolean bool, boolean bool2, LevelGeneratorType levelGeneratorType) LevelInfo(LevelProperties levelProperties) -
Method Summary
Modifier and TypeMethodDescriptionbooleanlonggetSeed()booleanbooleanbooleanstatic GameModemethod_3754(int int2) setGeneratorOptions(String generatorOptions)
-
Field Details
-
seed
private final long seed- Mappings:
Namespace Name Mixin selector official aLamx;a:Jintermediary field_4565Lnet/minecraft/class_1156;field_4565:Jnamed seedLnet/minecraft/world/level/LevelInfo;seed:J
-
field_4566
- Mappings:
Namespace Name Mixin selector official bLamx;b:Lams;intermediary field_4566Lnet/minecraft/class_1156;field_4566:Lnet/minecraft/class_1157;named field_4566Lnet/minecraft/world/level/LevelInfo;field_4566:Lnet/minecraft/world/GameMode;
-
structures
private final boolean structures- Mappings:
Namespace Name Mixin selector official cLamx;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 dLamx;d:Zintermediary field_4568Lnet/minecraft/class_1156;field_4568:Znamed hardcoreLnet/minecraft/world/level/LevelInfo;hardcore:Z
-
generatorType
- Mappings:
Namespace Name Mixin selector official eLamx;e:Lamz;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 fLamx;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 gLamx;g:Zintermediary field_4571Lnet/minecraft/class_1156;field_4571:Znamed bonusChestLnet/minecraft/world/level/LevelInfo;bonusChest:Z
-
generatorOptions
- Mappings:
Namespace Name Mixin selector official hLamx;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 long2, GameMode gameMode, boolean bool, boolean bool2, LevelGeneratorType levelGeneratorType) -
LevelInfo
- Mappings:
Namespace Name Mixin selector official <init>Lamx;<init>(Lbfd;)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 aLamx;a()Lamx;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 bLamx;b()Lamx;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 aLamx;a(Ljava/lang/String;)Lamx;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 cLamx;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 dLamx;d()Jintermediary method_3757Lnet/minecraft/class_1156;method_3757()Jnamed getSeedLnet/minecraft/world/level/LevelInfo;getSeed()J
-
method_3758
- Mappings:
Namespace Name Mixin selector official eLamx;e()Lams;intermediary method_3758Lnet/minecraft/class_1156;method_3758()Lnet/minecraft/class_1157;named method_3758Lnet/minecraft/world/level/LevelInfo;method_3758()Lnet/minecraft/world/GameMode;
-
isHardcore
public boolean isHardcore()- Mappings:
Namespace Name Mixin selector official fLamx;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 gLamx;g()Zintermediary method_3760Lnet/minecraft/class_1156;method_3760()Znamed hasStructuresLnet/minecraft/world/level/LevelInfo;hasStructures()Z
-
getGeneratorType
- Mappings:
Namespace Name Mixin selector official hLamx;h()Lamz;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 iLamx;i()Zintermediary method_3762Lnet/minecraft/class_1156;method_3762()Znamed allowCommandsLnet/minecraft/world/level/LevelInfo;allowCommands()Z
-
method_3754
- Mappings:
Namespace Name Mixin selector official aLamx;a(I)Lams;intermediary method_3754Lnet/minecraft/class_1156;method_3754(I)Lnet/minecraft/class_1157;named method_3754Lnet/minecraft/world/level/LevelInfo;method_3754(I)Lnet/minecraft/world/GameMode;
-
getGeneratorOptions
- Mappings:
Namespace Name Mixin selector official jLamx;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;
-