Package net.minecraft.world.level
Class ReadOnlyLevelProperties
java.lang.Object
net.minecraft.world.level.LevelProperties
net.minecraft.world.level.ReadOnlyLevelProperties
- Mappings:
Namespace Name official azeintermediary net/minecraft/class_97named net/minecraft/world/level/ReadOnlyLevelProperties
-
Field Summary
FieldsFields inherited from class net.minecraft.world.level.LevelProperties
NORMAL_DIFFICULTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanlonggetNbt()intlonggetSeed()longintintintintlonggetTime()longintbooleanbooleanbooleanbooleanbooleanbooleanmethod_11954(DimensionType dimensionType) voidmethod_11955(DimensionType dimensionType, NbtCompound nbtCompound) voidsetCheats(boolean enabled) voidsetDayTime(long time) voidsetDifficulty(Difficulty difficulty) voidsetDifficultyLocked(boolean difficultyLocked) voidsetInitialized(boolean initialized) voidvoidsetLevelName(String name) voidsetRaining(boolean raining) voidsetRainTime(int rainTime) voidsetSpawnPos(BlockPos pos) voidsetSpawnX(int spawnX) voidsetSpawnY(int spawnY) voidsetSpawnZ(int spawnZ) voidsetThundering(boolean thundering) voidsetThunderTime(int time) voidsetTime(long time) voidsetVersion(int version) toNbt(NbtCompound nbt) Methods inherited from class net.minecraft.world.level.LevelProperties
addToCrashReport, copyFrom, getBorderCenterX, getBorderCenterZ, getBorderDamagePerBlock, getBorderSize, getBorderSizeLerpTarget, getBorderSizeLerpTime, getBorderWarningBlocks, getBorderWarningTime, getClearWeatherTime, getGeneratorOptions, getSafeZone, method_11951, method_11952, method_11953, setBorderCenterX, setBorderCenterZ, setBorderDamagePerBlock, setBorderSize, setBorderSizeLerpTarget, setBorderSizeLerpTime, setBorderWarningBlocks, setBorderWarningTime, setClearWeatherTime, setGamemode, setHardcore, setSafeZone, setStructures
-
Field Details
-
levelProperties
- Mappings:
Namespace Name Mixin selector official bLaze;b:Lazh;intermediary field_225Lnet/minecraft/class_97;field_225:Lnet/minecraft/class_100;named levelPropertiesLnet/minecraft/world/level/ReadOnlyLevelProperties;levelProperties:Lnet/minecraft/world/level/LevelProperties;
-
-
Constructor Details
-
ReadOnlyLevelProperties
- Mappings:
Namespace Name Mixin selector official <init>Lazh;<init>(Lazh;)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
- Overrides:
toNbtin classLevelProperties- Mappings:
Namespace Name Mixin selector official aLazh;a(Ldq;)Ldq;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;
-
getSeed
public long getSeed()- Overrides:
getSeedin classLevelProperties- Mappings:
Namespace Name Mixin selector official aLazh;a()Jintermediary method_210Lnet/minecraft/class_100;method_210()Jnamed getSeedLnet/minecraft/world/level/LevelProperties;getSeed()J
-
getSpawnX
public int getSpawnX()- Overrides:
getSpawnXin classLevelProperties- Mappings:
Namespace Name Mixin selector official bLazh;b()Iintermediary method_214Lnet/minecraft/class_100;method_214()Inamed getSpawnXLnet/minecraft/world/level/LevelProperties;getSpawnX()I
-
getSpawnY
public int getSpawnY()- Overrides:
getSpawnYin classLevelProperties- Mappings:
Namespace Name Mixin selector official cLazh;c()Iintermediary method_216Lnet/minecraft/class_100;method_216()Inamed getSpawnYLnet/minecraft/world/level/LevelProperties;getSpawnY()I
-
getSpawnZ
public int getSpawnZ()- Overrides:
getSpawnZin classLevelProperties- Mappings:
Namespace Name Mixin selector official dLazh;d()Iintermediary method_218Lnet/minecraft/class_100;method_218()Inamed getSpawnZLnet/minecraft/world/level/LevelProperties;getSpawnZ()I
-
getTime
public long getTime()- Overrides:
getTimein classLevelProperties- Mappings:
Namespace Name Mixin selector official eLazh;e()Jintermediary method_4136Lnet/minecraft/class_100;method_4136()Jnamed getTimeLnet/minecraft/world/level/LevelProperties;getTime()J
-
getTimeOfDay
public long getTimeOfDay()- Overrides:
getTimeOfDayin classLevelProperties- Mappings:
Namespace Name Mixin selector official fLazh;f()Jintermediary method_220Lnet/minecraft/class_100;method_220()Jnamed getTimeOfDayLnet/minecraft/world/level/LevelProperties;getTimeOfDay()J
-
getSizeOnDisk
- Overrides:
getSizeOnDiskin classLevelProperties- Mappings:
Namespace Name Mixin selector official gLazh;g()Jintermediary method_222Lnet/minecraft/class_100;method_222()Jnamed getSizeOnDiskLnet/minecraft/world/level/LevelProperties;getSizeOnDisk()J
-
getNbt
- Overrides:
getNbtin classLevelProperties- Mappings:
Namespace Name Mixin selector official hLazh;h()Ldq;intermediary method_224Lnet/minecraft/class_100;method_224()Lnet/minecraft/class_322;named getNbtLnet/minecraft/world/level/LevelProperties;getNbt()Lnet/minecraft/nbt/NbtCompound;
-
getLevelName
- Overrides:
getLevelNamein classLevelProperties- Mappings:
Namespace Name Mixin selector official jLazh;j()Ljava/lang/String;intermediary method_226Lnet/minecraft/class_100;method_226()Ljava/lang/String;named getLevelNameLnet/minecraft/world/level/LevelProperties;getLevelName()Ljava/lang/String;
-
getVersion
public int getVersion()- Overrides:
getVersionin classLevelProperties- Mappings:
Namespace Name Mixin selector official kLazh;k()Iintermediary method_227Lnet/minecraft/class_100;method_227()Inamed getVersionLnet/minecraft/world/level/LevelProperties;getVersion()I
-
getLastPlayed
- Overrides:
getLastPlayedin classLevelProperties- Mappings:
Namespace Name Mixin selector official lLazh;l()Jintermediary method_228Lnet/minecraft/class_100;method_228()Jnamed getLastPlayedLnet/minecraft/world/level/LevelProperties;getLastPlayed()J
-
isThundering
public boolean isThundering()- Overrides:
isThunderingin classLevelProperties- Mappings:
Namespace Name Mixin selector official mLazh;m()Zintermediary method_229Lnet/minecraft/class_100;method_229()Znamed isThunderingLnet/minecraft/world/level/LevelProperties;isThundering()Z
-
getThunderTime
public int getThunderTime()- Overrides:
getThunderTimein classLevelProperties- Mappings:
Namespace Name Mixin selector official nLazh;n()Iintermediary method_230Lnet/minecraft/class_100;method_230()Inamed getThunderTimeLnet/minecraft/world/level/LevelProperties;getThunderTime()I
-
isRaining
public boolean isRaining()- Overrides:
isRainingin classLevelProperties- Mappings:
Namespace Name Mixin selector official oLazh;o()Zintermediary method_231Lnet/minecraft/class_100;method_231()Znamed isRainingLnet/minecraft/world/level/LevelProperties;isRaining()Z
-
getRainTime
public int getRainTime()- Overrides:
getRainTimein classLevelProperties- Mappings:
Namespace Name Mixin selector official pLazh;p()Iintermediary method_232Lnet/minecraft/class_100;method_232()Inamed getRainTimeLnet/minecraft/world/level/LevelProperties;getRainTime()I
-
getGameMode
- Overrides:
getGameModein classLevelProperties- Mappings:
Namespace Name Mixin selector official qLazh;q()Lahw$a;intermediary method_233Lnet/minecraft/class_100;method_233()Lnet/minecraft/class_1156$class_1157;named getGameModeLnet/minecraft/world/level/LevelProperties;getGameMode()Lnet/minecraft/world/level/LevelInfo$GameMode;
-
setSpawnX
- Overrides:
setSpawnXin classLevelProperties- Mappings:
Namespace Name Mixin selector official aLazh;a(I)Vintermediary method_202Lnet/minecraft/class_100;method_202(I)Vnamed setSpawnXLnet/minecraft/world/level/LevelProperties;setSpawnX(I)V
-
setSpawnY
- Overrides:
setSpawnYin classLevelProperties- Mappings:
Namespace Name Mixin selector official bLazh;b(I)Vintermediary method_211Lnet/minecraft/class_100;method_211(I)Vnamed setSpawnYLnet/minecraft/world/level/LevelProperties;setSpawnY(I)V
-
setSpawnZ
- Overrides:
setSpawnZin classLevelProperties- Mappings:
Namespace Name Mixin selector official cLazh;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) - Overrides:
setTimein classLevelProperties- Mappings:
Namespace Name Mixin selector official bLazh;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) - Overrides:
setDayTimein classLevelProperties- Mappings:
Namespace Name Mixin selector official cLazh;c(J)Vintermediary method_212Lnet/minecraft/class_100;method_212(J)Vnamed setDayTimeLnet/minecraft/world/level/LevelProperties;setDayTime(J)V
-
setSpawnPos
- Overrides:
setSpawnPosin classLevelProperties- Mappings:
Namespace Name Mixin selector official aLazh;a(Lcl;)Vintermediary method_9324Lnet/minecraft/class_100;method_9324(Lnet/minecraft/class_2552;)Vnamed setSpawnPosLnet/minecraft/world/level/LevelProperties;setSpawnPos(Lnet/minecraft/util/math/BlockPos;)V
-
setLevelName
- Overrides:
setLevelNamein classLevelProperties- Mappings:
Namespace Name Mixin selector official aLazh;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
-
setVersion
public void setVersion(int version) - Overrides:
setVersionin classLevelProperties- Mappings:
Namespace Name Mixin selector official eLazh;e(I)Vintermediary method_219Lnet/minecraft/class_100;method_219(I)Vnamed setVersionLnet/minecraft/world/level/LevelProperties;setVersion(I)V
-
setThundering
public void setThundering(boolean thundering) - Overrides:
setThunderingin classLevelProperties- Mappings:
Namespace Name Mixin selector official aLazh;a(Z)Vintermediary method_209Lnet/minecraft/class_100;method_209(Z)Vnamed setThunderingLnet/minecraft/world/level/LevelProperties;setThundering(Z)V
-
setThunderTime
public void setThunderTime(int time) - Overrides:
setThunderTimein classLevelProperties- Mappings:
Namespace Name Mixin selector official fLazh;f(I)Vintermediary method_221Lnet/minecraft/class_100;method_221(I)Vnamed setThunderTimeLnet/minecraft/world/level/LevelProperties;setThunderTime(I)V
-
setRaining
public void setRaining(boolean raining) - Overrides:
setRainingin classLevelProperties- Mappings:
Namespace Name Mixin selector official bLazh;b(Z)Vintermediary method_213Lnet/minecraft/class_100;method_213(Z)Vnamed setRainingLnet/minecraft/world/level/LevelProperties;setRaining(Z)V
-
setRainTime
public void setRainTime(int rainTime) - Overrides:
setRainTimein classLevelProperties- Mappings:
Namespace Name Mixin selector official gLazh;g(I)Vintermediary method_223Lnet/minecraft/class_100;method_223(I)Vnamed setRainTimeLnet/minecraft/world/level/LevelProperties;setRainTime(I)V
-
hasStructures
public boolean hasStructures()- Overrides:
hasStructuresin classLevelProperties- Mappings:
Namespace Name Mixin selector official rLazh;r()Zintermediary method_234Lnet/minecraft/class_100;method_234()Znamed hasStructuresLnet/minecraft/world/level/LevelProperties;hasStructures()Z
-
isHardcore
public boolean isHardcore()- Overrides:
isHardcorein classLevelProperties- Mappings:
Namespace Name Mixin selector official sLazh;s()Zintermediary method_235Lnet/minecraft/class_100;method_235()Znamed isHardcoreLnet/minecraft/world/level/LevelProperties;isHardcore()Z
-
getGeneratorType
- Overrides:
getGeneratorTypein classLevelProperties- Mappings:
Namespace Name Mixin selector official tLazh;t()Lahy;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
- Overrides:
setLevelGeneratorTypein classLevelProperties- Mappings:
Namespace Name Mixin selector official aLazh;a(Lahy;)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
-
areCheatsEnabled
public boolean areCheatsEnabled()- Overrides:
areCheatsEnabledin classLevelProperties- Mappings:
Namespace Name Mixin selector official uLazh;u()Zintermediary method_237Lnet/minecraft/class_100;method_237()Znamed areCheatsEnabledLnet/minecraft/world/level/LevelProperties;areCheatsEnabled()Z
-
setCheats
public void setCheats(boolean enabled) - Overrides:
setCheatsin classLevelProperties- Mappings:
Namespace Name Mixin selector official cLazh;c(Z)Vintermediary method_9328Lnet/minecraft/class_100;method_9328(Z)Vnamed setCheatsLnet/minecraft/world/level/LevelProperties;setCheats(Z)V
-
isInitialized
public boolean isInitialized()- Overrides:
isInitializedin classLevelProperties- Mappings:
Namespace Name Mixin selector official vLazh;v()Zintermediary method_238Lnet/minecraft/class_100;method_238()Znamed isInitializedLnet/minecraft/world/level/LevelProperties;isInitialized()Z
-
setInitialized
public void setInitialized(boolean initialized) - Overrides:
setInitializedin classLevelProperties- Mappings:
Namespace Name Mixin selector official dLazh;d(Z)Vintermediary method_217Lnet/minecraft/class_100;method_217(Z)Vnamed setInitializedLnet/minecraft/world/level/LevelProperties;setInitialized(Z)V
-
getGamerules
- Overrides:
getGamerulesin classLevelProperties- Mappings:
Namespace Name Mixin selector official wLazh;w()Lahr;intermediary method_4149Lnet/minecraft/class_100;method_4149()Lnet/minecraft/class_1439;named getGamerulesLnet/minecraft/world/level/LevelProperties;getGamerules()Lnet/minecraft/world/GameRuleManager;
-
getDifficulty
- Overrides:
getDifficultyin classLevelProperties- Mappings:
Namespace Name Mixin selector official xLazh;x()Lqk;intermediary method_9339Lnet/minecraft/class_100;method_9339()Lnet/minecraft/class_2151;named getDifficultyLnet/minecraft/world/level/LevelProperties;getDifficulty()Lnet/minecraft/world/Difficulty;
-
setDifficulty
- Overrides:
setDifficultyin classLevelProperties- Mappings:
Namespace Name Mixin selector official aLazh;a(Lqk;)Vintermediary method_9325Lnet/minecraft/class_100;method_9325(Lnet/minecraft/class_2151;)Vnamed setDifficultyLnet/minecraft/world/level/LevelProperties;setDifficulty(Lnet/minecraft/world/Difficulty;)V
-
isDifficultyLocked
public boolean isDifficultyLocked()- Overrides:
isDifficultyLockedin classLevelProperties- Mappings:
Namespace Name Mixin selector official yLazh;y()Zintermediary method_9340Lnet/minecraft/class_100;method_9340()Znamed isDifficultyLockedLnet/minecraft/world/level/LevelProperties;isDifficultyLocked()Z
-
setDifficultyLocked
public void setDifficultyLocked(boolean difficultyLocked) - Overrides:
setDifficultyLockedin classLevelProperties- Mappings:
Namespace Name Mixin selector official eLazh;e(Z)Vintermediary method_9332Lnet/minecraft/class_100;method_9332(Z)Vnamed setDifficultyLockedLnet/minecraft/world/level/LevelProperties;setDifficultyLocked(Z)V
-
method_11955
- Overrides:
method_11955in classLevelProperties- Mappings:
Namespace Name Mixin selector official aLazh;a(Lasw;Ldq;)Vintermediary method_11955Lnet/minecraft/class_100;method_11955(Lnet/minecraft/class_2750;Lnet/minecraft/class_322;)Vnamed method_11955Lnet/minecraft/world/level/LevelProperties;method_11955(Lnet/minecraft/world/dimension/DimensionType;Lnet/minecraft/nbt/NbtCompound;)V
-
method_11954
- Overrides:
method_11954in classLevelProperties- Mappings:
Namespace Name Mixin selector official aLazh;a(Lasw;)Ldq;intermediary method_11954Lnet/minecraft/class_100;method_11954(Lnet/minecraft/class_2750;)Lnet/minecraft/class_322;named method_11954Lnet/minecraft/world/level/LevelProperties;method_11954(Lnet/minecraft/world/dimension/DimensionType;)Lnet/minecraft/nbt/NbtCompound;
-