Package net.minecraft.world.level
Class LevelInfo
java.lang.Object
net.minecraft.world.level.LevelInfo
- Mappings:
Namespace Name official aydintermediary net/minecraft/class_1156named net/minecraft/world/level/LevelInfo
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate booleanprivate JsonElementprivate final GameModeprivate 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()booleanbooleanbooleanmethod_16395(JsonElement jsonElement) static GameModemethod_3754(int int2)
-
Field Details
-
seed
private final long seed- Mappings:
Namespace Name Mixin selector official aLayd;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 bLayd;b:Laxv;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 cLayd;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 dLayd;d:Zintermediary field_4568Lnet/minecraft/class_1156;field_4568:Znamed hardcoreLnet/minecraft/world/level/LevelInfo;hardcore:Z
-
generatorType
- Mappings:
Namespace Name Mixin selector official eLayd;e:Layg;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 fLayd;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 gLayd;g:Zintermediary field_4571Lnet/minecraft/class_1156;field_4571:Znamed bonusChestLnet/minecraft/world/level/LevelInfo;bonusChest:Z
-
field_17504
- Mappings:
Namespace Name Mixin selector official hLayd;h:Lcom/google/gson/JsonElement;intermediary field_17504Lnet/minecraft/class_1156;field_17504:Lcom/google/gson/JsonElement;named field_17504Lnet/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
- Mappings:
Namespace Name Mixin selector official <init>Layd;<init>(Lccb;)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 aLayd;a()Layd;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 bLayd;b()Layd;intermediary method_3755Lnet/minecraft/class_1156;method_3755()Lnet/minecraft/class_1156;named enableCommandsLnet/minecraft/world/level/LevelInfo;enableCommands()Lnet/minecraft/world/level/LevelInfo;
-
method_16395
- Mappings:
Namespace Name Mixin selector official aLayd;a(Lcom/google/gson/JsonElement;)Layd;intermediary method_16395Lnet/minecraft/class_1156;method_16395(Lcom/google/gson/JsonElement;)Lnet/minecraft/class_1156;named method_16395Lnet/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 cLayd;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 dLayd;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 eLayd;e()Laxv;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 fLayd;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 gLayd;g()Zintermediary method_3760Lnet/minecraft/class_1156;method_3760()Znamed hasStructuresLnet/minecraft/world/level/LevelInfo;hasStructures()Z
-
getGeneratorType
- Mappings:
Namespace Name Mixin selector official hLayd;h()Layg;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 iLayd;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 aLayd;a(I)Laxv;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;
-
method_4695
- Mappings:
Namespace Name Mixin selector official jLayd;j()Lcom/google/gson/JsonElement;intermediary method_4695Lnet/minecraft/class_1156;method_4695()Lcom/google/gson/JsonElement;named method_4695Lnet/minecraft/world/level/LevelInfo;method_4695()Lcom/google/gson/JsonElement;
-