Package net.minecraft.world.level
Class LevelProperties
java.lang.Object
net.minecraft.world.level.LevelProperties
- Direct Known Subclasses:
ReadOnlyLevelProperties
- Mappings:
Namespace Name official axdintermediary net/minecraft/class_100named net/minecraft/world/level/LevelProperties
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate intprivate GameModeprivate GameRuleManagerprivate Stringprivate booleanprivate booleanprivate longprivate LevelGeneratorTypeprivate Stringprivate NbtCompoundprivate booleanprivate intprivate longprivate longprivate intprivate intprivate intprivate booleanprivate booleanprivate intprivate longprivate longprivate int -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedLevelProperties(NbtCompound worldNbt) LevelProperties(LevelInfo info, String name) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddToCrashReport(CrashReportSection section) booleanlonggetNbt()intlonggetSeed()longintintintintlonggetTime()longintbooleanbooleanbooleanbooleanbooleanvoidmethod_203(int int2, int int3, int int4) voidmethod_207(GameMode gameMode) intprivate voidputNbt(NbtCompound worldNbt, NbtCompound playerData) voidsetDayTime(long time) voidsetInitialized(boolean initialized) voidvoidsetLevelName(String name) voidsetRaining(boolean raining) voidsetRainTime(int rainTime) voidsetSpawnX(int spawnX) voidsetSpawnY(int spawnY) voidsetSpawnZ(int spawnZ) voidsetThundering(boolean thundering) voidsetThunderTime(int time) voidsetTime(long time) voidsetVersion(int version) toNbt()toNbt(NbtCompound nbt)
-
Field Details
-
seed
private long seed- Mappings:
Namespace Name Mixin selector official aLaxd;a:Jintermediary field_233Lnet/minecraft/class_100;field_233:Jnamed seedLnet/minecraft/world/level/LevelProperties;seed:J
-
levelGeneratorType
- Mappings:
Namespace Name Mixin selector official bLaxd;b:Lafx;intermediary field_234Lnet/minecraft/class_100;field_234:Lnet/minecraft/class_1160;named levelGeneratorTypeLnet/minecraft/world/level/LevelProperties;levelGeneratorType:Lnet/minecraft/world/level/LevelGeneratorType;
-
generatorOptions
- Mappings:
Namespace Name Mixin selector official cLaxd;c:Ljava/lang/String;intermediary field_4985Lnet/minecraft/class_100;field_4985:Ljava/lang/String;named generatorOptionsLnet/minecraft/world/level/LevelProperties;generatorOptions:Ljava/lang/String;
-
spawnX
private int spawnX- Mappings:
Namespace Name Mixin selector official dLaxd;d:Iintermediary field_235Lnet/minecraft/class_100;field_235:Inamed spawnXLnet/minecraft/world/level/LevelProperties;spawnX:I
-
spawnY
private int spawnY- Mappings:
Namespace Name Mixin selector official eLaxd;e:Iintermediary field_236Lnet/minecraft/class_100;field_236:Inamed spawnYLnet/minecraft/world/level/LevelProperties;spawnY:I
-
spawnZ
private int spawnZ- Mappings:
Namespace Name Mixin selector official fLaxd;f:Iintermediary field_237Lnet/minecraft/class_100;field_237:Inamed spawnZLnet/minecraft/world/level/LevelProperties;spawnZ:I
-
time
private long time- Mappings:
Namespace Name Mixin selector official gLaxd;g:Jintermediary field_4986Lnet/minecraft/class_100;field_4986:Jnamed timeLnet/minecraft/world/level/LevelProperties;time:J
-
timeOfDay
private long timeOfDay- Mappings:
Namespace Name Mixin selector official hLaxd;h:Jintermediary field_238Lnet/minecraft/class_100;field_238:Jnamed timeOfDayLnet/minecraft/world/level/LevelProperties;timeOfDay:J
-
lastPlayed
private long lastPlayed- Mappings:
Namespace Name Mixin selector official iLaxd;i:Jintermediary field_239Lnet/minecraft/class_100;field_239:Jnamed lastPlayedLnet/minecraft/world/level/LevelProperties;lastPlayed:J
-
sizeOnDisk
private long sizeOnDisk- Mappings:
Namespace Name Mixin selector official jLaxd;j:Jintermediary field_240Lnet/minecraft/class_100;field_240:Jnamed sizeOnDiskLnet/minecraft/world/level/LevelProperties;sizeOnDisk:J
-
playerNbt
- Mappings:
Namespace Name Mixin selector official kLaxd;k:Ldg;intermediary field_241Lnet/minecraft/class_100;field_241:Lnet/minecraft/class_322;named playerNbtLnet/minecraft/world/level/LevelProperties;playerNbt:Lnet/minecraft/nbt/NbtCompound;
-
dimension
private int dimension- Mappings:
Namespace Name Mixin selector official lLaxd;l:Iintermediary field_242Lnet/minecraft/class_100;field_242:Inamed dimensionLnet/minecraft/world/level/LevelProperties;dimension:I
-
levelName
- Mappings:
Namespace Name Mixin selector official mLaxd;m:Ljava/lang/String;intermediary field_243Lnet/minecraft/class_100;field_243:Ljava/lang/String;named levelNameLnet/minecraft/world/level/LevelProperties;levelName:Ljava/lang/String;
-
version
private int version- Mappings:
Namespace Name Mixin selector official nLaxd;n:Iintermediary field_244Lnet/minecraft/class_100;field_244:Inamed versionLnet/minecraft/world/level/LevelProperties;version:I
-
raining
private boolean raining- Mappings:
Namespace Name Mixin selector official oLaxd;o:Zintermediary field_245Lnet/minecraft/class_100;field_245:Znamed rainingLnet/minecraft/world/level/LevelProperties;raining:Z
-
rainTime
private int rainTime- Mappings:
Namespace Name Mixin selector official pLaxd;p:Iintermediary field_246Lnet/minecraft/class_100;field_246:Inamed rainTimeLnet/minecraft/world/level/LevelProperties;rainTime:I
-
thundering
private boolean thundering- Mappings:
Namespace Name Mixin selector official qLaxd;q:Zintermediary field_247Lnet/minecraft/class_100;field_247:Znamed thunderingLnet/minecraft/world/level/LevelProperties;thundering:Z
-
thunderTime
private int thunderTime- Mappings:
Namespace Name Mixin selector official rLaxd;r:Iintermediary field_248Lnet/minecraft/class_100;field_248:Inamed thunderTimeLnet/minecraft/world/level/LevelProperties;thunderTime:I
-
field_249
- Mappings:
Namespace Name Mixin selector official sLaxd;s:Lafv;intermediary field_249Lnet/minecraft/class_100;field_249:Lnet/minecraft/class_1157;named field_249Lnet/minecraft/world/level/LevelProperties;field_249:Lnet/minecraft/world/GameMode;
-
structures
private boolean structures- Mappings:
Namespace Name Mixin selector official tLaxd;t:Zintermediary field_250Lnet/minecraft/class_100;field_250:Znamed structuresLnet/minecraft/world/level/LevelProperties;structures:Z
-
hardcore
private boolean hardcore- Mappings:
Namespace Name Mixin selector official uLaxd;u:Zintermediary field_251Lnet/minecraft/class_100;field_251:Znamed hardcoreLnet/minecraft/world/level/LevelProperties;hardcore:Z
-
allowCommands
private boolean allowCommands- Mappings:
Namespace Name Mixin selector official vLaxd;v:Zintermediary field_252Lnet/minecraft/class_100;field_252:Znamed allowCommandsLnet/minecraft/world/level/LevelProperties;allowCommands:Z
-
initialized
private boolean initialized- Mappings:
Namespace Name Mixin selector official wLaxd;w:Zintermediary field_253Lnet/minecraft/class_100;field_253:Znamed initializedLnet/minecraft/world/level/LevelProperties;initialized:Z
-
gameRules
- Mappings:
Namespace Name Mixin selector official xLaxd;x:Lafj;intermediary field_4987Lnet/minecraft/class_100;field_4987:Lnet/minecraft/class_1439;named gameRulesLnet/minecraft/world/level/LevelProperties;gameRules:Lnet/minecraft/world/GameRuleManager;
-
-
Constructor Details
-
LevelProperties
protected LevelProperties() -
LevelProperties
- Mappings:
Namespace Name Mixin selector official <init>Laxd;<init>(Ldg;)Vintermediary <init>Lnet/minecraft/class_100;<init>(Lnet/minecraft/class_322;)Vnamed <init>Lnet/minecraft/world/level/LevelProperties;<init>(Lnet/minecraft/nbt/NbtCompound;)V
-
LevelProperties
- Mappings:
Namespace Name Mixin selector official <init>Laxd;<init>(Lafu;Ljava/lang/String;)Vintermediary <init>Lnet/minecraft/class_100;<init>(Lnet/minecraft/class_1156;Ljava/lang/String;)Vnamed <init>Lnet/minecraft/world/level/LevelProperties;<init>(Lnet/minecraft/world/level/LevelInfo;Ljava/lang/String;)V
-
LevelProperties
- Mappings:
Namespace Name Mixin selector official <init>Laxd;<init>(Laxd;)Vintermediary <init>Lnet/minecraft/class_100;<init>(Lnet/minecraft/class_100;)Vnamed <init>Lnet/minecraft/world/level/LevelProperties;<init>(Lnet/minecraft/world/level/LevelProperties;)V
-
-
Method Details
-
toNbt
- Mappings:
Namespace Name Mixin selector official aLaxd;a()Ldg;intermediary method_201Lnet/minecraft/class_100;method_201()Lnet/minecraft/class_322;named toNbtLnet/minecraft/world/level/LevelProperties;toNbt()Lnet/minecraft/nbt/NbtCompound;
-
toNbt
- Mappings:
Namespace Name Mixin selector official aLaxd;a(Ldg;)Ldg;intermediary method_204Lnet/minecraft/class_100;method_204(Lnet/minecraft/class_322;)Lnet/minecraft/class_322;named toNbtLnet/minecraft/world/level/LevelProperties;toNbt(Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/nbt/NbtCompound;
-
putNbt
- Mappings:
Namespace Name Mixin selector official aLaxd;a(Ldg;Ldg;)Vintermediary method_205Lnet/minecraft/class_100;method_205(Lnet/minecraft/class_322;Lnet/minecraft/class_322;)Vnamed putNbtLnet/minecraft/world/level/LevelProperties;putNbt(Lnet/minecraft/nbt/NbtCompound;Lnet/minecraft/nbt/NbtCompound;)V
-
getSeed
public long getSeed()- Mappings:
Namespace Name Mixin selector official bLaxd;b()Jintermediary method_210Lnet/minecraft/class_100;method_210()Jnamed getSeedLnet/minecraft/world/level/LevelProperties;getSeed()J
-
getSpawnX
public int getSpawnX()- Mappings:
Namespace Name Mixin selector official cLaxd;c()Iintermediary method_214Lnet/minecraft/class_100;method_214()Inamed getSpawnXLnet/minecraft/world/level/LevelProperties;getSpawnX()I
-
getSpawnY
public int getSpawnY()- Mappings:
Namespace Name Mixin selector official dLaxd;d()Iintermediary method_216Lnet/minecraft/class_100;method_216()Inamed getSpawnYLnet/minecraft/world/level/LevelProperties;getSpawnY()I
-
getSpawnZ
public int getSpawnZ()- Mappings:
Namespace Name Mixin selector official eLaxd;e()Iintermediary method_218Lnet/minecraft/class_100;method_218()Inamed getSpawnZLnet/minecraft/world/level/LevelProperties;getSpawnZ()I
-
getTime
public long getTime()- Mappings:
Namespace Name Mixin selector official fLaxd;f()Jintermediary method_4136Lnet/minecraft/class_100;method_4136()Jnamed getTimeLnet/minecraft/world/level/LevelProperties;getTime()J
-
getTimeOfDay
public long getTimeOfDay()- Mappings:
Namespace Name Mixin selector official gLaxd;g()Jintermediary method_220Lnet/minecraft/class_100;method_220()Jnamed getTimeOfDayLnet/minecraft/world/level/LevelProperties;getTimeOfDay()J
-
getSizeOnDisk
- Mappings:
Namespace Name Mixin selector official hLaxd;h()Jintermediary method_222Lnet/minecraft/class_100;method_222()Jnamed getSizeOnDiskLnet/minecraft/world/level/LevelProperties;getSizeOnDisk()J
-
getNbt
- Mappings:
Namespace Name Mixin selector official iLaxd;i()Ldg;intermediary method_224Lnet/minecraft/class_100;method_224()Lnet/minecraft/class_322;named getNbtLnet/minecraft/world/level/LevelProperties;getNbt()Lnet/minecraft/nbt/NbtCompound;
-
method_225
public int method_225()- Mappings:
Namespace Name Mixin selector official jLaxd;j()Iintermediary method_225Lnet/minecraft/class_100;method_225()Inamed method_225Lnet/minecraft/world/level/LevelProperties;method_225()I
-
setSpawnX
- Mappings:
Namespace Name Mixin selector official aLaxd;a(I)Vintermediary method_202Lnet/minecraft/class_100;method_202(I)Vnamed setSpawnXLnet/minecraft/world/level/LevelProperties;setSpawnX(I)V
-
setSpawnY
- Mappings:
Namespace Name Mixin selector official bLaxd;b(I)Vintermediary method_211Lnet/minecraft/class_100;method_211(I)Vnamed setSpawnYLnet/minecraft/world/level/LevelProperties;setSpawnY(I)V
-
setSpawnZ
- Mappings:
Namespace Name Mixin selector official cLaxd;c(I)Vintermediary method_215Lnet/minecraft/class_100;method_215(I)Vnamed setSpawnZLnet/minecraft/world/level/LevelProperties;setSpawnZ(I)V
-
setTime
public void setTime(long time) - Mappings:
Namespace Name Mixin selector official bLaxd;b(J)Vintermediary method_4131Lnet/minecraft/class_100;method_4131(J)Vnamed setTimeLnet/minecraft/world/level/LevelProperties;setTime(J)V
-
setDayTime
public void setDayTime(long time) - Mappings:
Namespace Name Mixin selector official cLaxd;c(J)Vintermediary method_212Lnet/minecraft/class_100;method_212(J)Vnamed setDayTimeLnet/minecraft/world/level/LevelProperties;setDayTime(J)V
-
method_203
public void method_203(int int2, int int3, int int4) - Mappings:
Namespace Name Mixin selector official aLaxd;a(III)Vintermediary method_203Lnet/minecraft/class_100;method_203(III)Vnamed method_203Lnet/minecraft/world/level/LevelProperties;method_203(III)V
-
getLevelName
- Mappings:
Namespace Name Mixin selector official kLaxd;k()Ljava/lang/String;intermediary method_226Lnet/minecraft/class_100;method_226()Ljava/lang/String;named getLevelNameLnet/minecraft/world/level/LevelProperties;getLevelName()Ljava/lang/String;
-
setLevelName
- Mappings:
Namespace Name Mixin selector official aLaxd;a(Ljava/lang/String;)Vintermediary method_206Lnet/minecraft/class_100;method_206(Ljava/lang/String;)Vnamed setLevelNameLnet/minecraft/world/level/LevelProperties;setLevelName(Ljava/lang/String;)V
-
getVersion
public int getVersion()- Mappings:
Namespace Name Mixin selector official lLaxd;l()Iintermediary method_227Lnet/minecraft/class_100;method_227()Inamed getVersionLnet/minecraft/world/level/LevelProperties;getVersion()I
-
setVersion
public void setVersion(int version) - Mappings:
Namespace Name Mixin selector official eLaxd;e(I)Vintermediary method_219Lnet/minecraft/class_100;method_219(I)Vnamed setVersionLnet/minecraft/world/level/LevelProperties;setVersion(I)V
-
getLastPlayed
- Mappings:
Namespace Name Mixin selector official mLaxd;m()Jintermediary method_228Lnet/minecraft/class_100;method_228()Jnamed getLastPlayedLnet/minecraft/world/level/LevelProperties;getLastPlayed()J
-
isThundering
public boolean isThundering()- Mappings:
Namespace Name Mixin selector official nLaxd;n()Zintermediary method_229Lnet/minecraft/class_100;method_229()Znamed isThunderingLnet/minecraft/world/level/LevelProperties;isThundering()Z
-
setThundering
public void setThundering(boolean thundering) - Mappings:
Namespace Name Mixin selector official aLaxd;a(Z)Vintermediary method_209Lnet/minecraft/class_100;method_209(Z)Vnamed setThunderingLnet/minecraft/world/level/LevelProperties;setThundering(Z)V
-
getThunderTime
public int getThunderTime()- Mappings:
Namespace Name Mixin selector official oLaxd;o()Iintermediary method_230Lnet/minecraft/class_100;method_230()Inamed getThunderTimeLnet/minecraft/world/level/LevelProperties;getThunderTime()I
-
setThunderTime
public void setThunderTime(int time) - Mappings:
Namespace Name Mixin selector official fLaxd;f(I)Vintermediary method_221Lnet/minecraft/class_100;method_221(I)Vnamed setThunderTimeLnet/minecraft/world/level/LevelProperties;setThunderTime(I)V
-
isRaining
public boolean isRaining()- Mappings:
Namespace Name Mixin selector official pLaxd;p()Zintermediary method_231Lnet/minecraft/class_100;method_231()Znamed isRainingLnet/minecraft/world/level/LevelProperties;isRaining()Z
-
setRaining
public void setRaining(boolean raining) - Mappings:
Namespace Name Mixin selector official bLaxd;b(Z)Vintermediary method_213Lnet/minecraft/class_100;method_213(Z)Vnamed setRainingLnet/minecraft/world/level/LevelProperties;setRaining(Z)V
-
getRainTime
public int getRainTime()- Mappings:
Namespace Name Mixin selector official qLaxd;q()Iintermediary method_232Lnet/minecraft/class_100;method_232()Inamed getRainTimeLnet/minecraft/world/level/LevelProperties;getRainTime()I
-
setRainTime
public void setRainTime(int rainTime) - Mappings:
Namespace Name Mixin selector official gLaxd;g(I)Vintermediary method_223Lnet/minecraft/class_100;method_223(I)Vnamed setRainTimeLnet/minecraft/world/level/LevelProperties;setRainTime(I)V
-
getGamemode
- Mappings:
Namespace Name Mixin selector official rLaxd;r()Lafv;intermediary method_233Lnet/minecraft/class_100;method_233()Lnet/minecraft/class_1157;named getGamemodeLnet/minecraft/world/level/LevelProperties;getGamemode()Lnet/minecraft/world/GameMode;
-
hasStructures
public boolean hasStructures()- Mappings:
Namespace Name Mixin selector official sLaxd;s()Zintermediary method_234Lnet/minecraft/class_100;method_234()Znamed hasStructuresLnet/minecraft/world/level/LevelProperties;hasStructures()Z
-
method_207
- Mappings:
Namespace Name Mixin selector official aLaxd;a(Lafv;)Vintermediary method_207Lnet/minecraft/class_100;method_207(Lnet/minecraft/class_1157;)Vnamed method_207Lnet/minecraft/world/level/LevelProperties;method_207(Lnet/minecraft/world/GameMode;)V
-
isHardcore
public boolean isHardcore()- Mappings:
Namespace Name Mixin selector official tLaxd;t()Zintermediary method_235Lnet/minecraft/class_100;method_235()Znamed isHardcoreLnet/minecraft/world/level/LevelProperties;isHardcore()Z
-
getGeneratorType
- Mappings:
Namespace Name Mixin selector official uLaxd;u()Lafx;intermediary method_236Lnet/minecraft/class_100;method_236()Lnet/minecraft/class_1160;named getGeneratorTypeLnet/minecraft/world/level/LevelProperties;getGeneratorType()Lnet/minecraft/world/level/LevelGeneratorType;
-
setLevelGeneratorType
- Mappings:
Namespace Name Mixin selector official aLaxd;a(Lafx;)Vintermediary method_208Lnet/minecraft/class_100;method_208(Lnet/minecraft/class_1160;)Vnamed setLevelGeneratorTypeLnet/minecraft/world/level/LevelProperties;setLevelGeneratorType(Lnet/minecraft/world/level/LevelGeneratorType;)V
-
getGeneratorOptions
- Mappings:
Namespace Name Mixin selector official yLaxd;y()Ljava/lang/String;intermediary method_4150Lnet/minecraft/class_100;method_4150()Ljava/lang/String;named getGeneratorOptionsLnet/minecraft/world/level/LevelProperties;getGeneratorOptions()Ljava/lang/String;
-
areCheatsEnabled
public boolean areCheatsEnabled()- Mappings:
Namespace Name Mixin selector official vLaxd;v()Zintermediary method_237Lnet/minecraft/class_100;method_237()Znamed areCheatsEnabledLnet/minecraft/world/level/LevelProperties;areCheatsEnabled()Z
-
isInitialized
public boolean isInitialized()- Mappings:
Namespace Name Mixin selector official wLaxd;w()Zintermediary method_238Lnet/minecraft/class_100;method_238()Znamed isInitializedLnet/minecraft/world/level/LevelProperties;isInitialized()Z
-
setInitialized
public void setInitialized(boolean initialized) - Mappings:
Namespace Name Mixin selector official dLaxd;d(Z)Vintermediary method_217Lnet/minecraft/class_100;method_217(Z)Vnamed setInitializedLnet/minecraft/world/level/LevelProperties;setInitialized(Z)V
-
getGamerules
- Mappings:
Namespace Name Mixin selector official xLaxd;x()Lafj;intermediary method_4149Lnet/minecraft/class_100;method_4149()Lnet/minecraft/class_1439;named getGamerulesLnet/minecraft/world/level/LevelProperties;getGamerules()Lnet/minecraft/world/GameRuleManager;
-
addToCrashReport
- Mappings:
Namespace Name Mixin selector official aLaxd;a(Lk;)Vintermediary method_4130Lnet/minecraft/class_100;method_4130(Lnet/minecraft/class_1392;)Vnamed addToCrashReportLnet/minecraft/world/level/LevelProperties;addToCrashReport(Lnet/minecraft/util/crash/CrashReportSection;)V
-