Package net.minecraft.world.level
Class ReadOnlyLevelProperties
java.lang.Object
net.minecraft.world.level.LevelProperties
net.minecraft.world.level.ReadOnlyLevelProperties
- Mappings:
Namespace Name official bqlintermediary 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()longintbooleanbooleanbooleanbooleanbooleanbooleanvoidsetCheats(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()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_207, setBorderCenterX, setBorderCenterZ, setBorderDamagePerBlock, setBorderSize, setBorderSizeLerpTarget, setBorderSizeLerpTime, setBorderWarningBlocks, setBorderWarningTime, setClearWeatherTime, setHardcore, setSafeZone, setStructures
-
Field Details
-
levelProperties
- Mappings:
Namespace Name Mixin selector official bLbql;b:Lbqo;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>Lbqo;<init>(Lbqo;)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 aLbqo;a()Lfn;intermediary method_201Lnet/minecraft/class_100;method_201()Lnet/minecraft/class_322;named toNbtLnet/minecraft/world/level/LevelProperties;toNbt()Lnet/minecraft/nbt/NbtCompound;
-
toNbt
- Overrides:
toNbtin classLevelProperties- Mappings:
Namespace Name Mixin selector official aLbqo;a(Lfn;)Lfn;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 bLbqo;b()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 cLbqo;c()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 dLbqo;d()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 eLbqo;e()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 fLbqo;f()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 gLbqo;g()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 hLbqo;h()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 iLbqo;i()Lfn;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 kLbqo;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;
-
getVersion
public int getVersion()- Overrides:
getVersionin classLevelProperties- Mappings:
Namespace Name Mixin selector official lLbqo;l()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 mLbqo;m()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 nLbqo;n()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 oLbqo;o()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 pLbqo;p()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 qLbqo;q()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 rLbqo;r()Larc;intermediary method_233Lnet/minecraft/class_100;method_233()Lnet/minecraft/class_1157;named getGamemodeLnet/minecraft/world/level/LevelProperties;getGamemode()Lnet/minecraft/world/GameMode;
-
setSpawnX
- Overrides:
setSpawnXin classLevelProperties- Mappings:
Namespace Name Mixin selector official aLbqo;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 bLbqo;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 cLbqo;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 bLbqo;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 cLbqo;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 aLbqo;a(Ldt;)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 aLbqo;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 eLbqo;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 aLbqo;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 fLbqo;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 bLbqo;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 gLbqo;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 sLbqo;s()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 tLbqo;t()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 uLbqo;u()Lare;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 aLbqo;a(Lare;)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 vLbqo;v()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 cLbqo;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 wLbqo;w()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 dLbqo;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 xLbqo;x()Laqq;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 yLbqo;y()Lvt;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 aLbqo;a(Lvt;)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 zLbqo;z()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 eLbqo;e(Z)Vintermediary method_9332Lnet/minecraft/class_100;method_9332(Z)Vnamed setDifficultyLockedLnet/minecraft/world/level/LevelProperties;setDifficultyLocked(Z)V
-