Uses of Record Class
net.minecraft.world.level.LevelSettings.DifficultySettings
Packages that use LevelSettings.DifficultySettings
-
Uses of LevelSettings.DifficultySettings in net.minecraft.world.level
Fields in net.minecraft.world.level declared as LevelSettings.DifficultySettingsModifier and TypeFieldDescriptionstatic final LevelSettings.DifficultySettingsLevelSettings.DifficultySettings.DEFAULTprivate final LevelSettings.DifficultySettingsLevelSettings.difficultySettingsThe field for thedifficultySettingsrecord component.Fields in net.minecraft.world.level with type parameters of type LevelSettings.DifficultySettingsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<LevelSettings.DifficultySettings> LevelSettings.DifficultySettings.CODECMethods in net.minecraft.world.level that return LevelSettings.DifficultySettingsModifier and TypeMethodDescriptionLevelSettings.difficultySettings()Returns the value of thedifficultySettingsrecord component.Constructors in net.minecraft.world.level with parameters of type LevelSettings.DifficultySettingsModifierConstructorDescriptionLevelSettings(String levelName, GameType gameType, LevelSettings.DifficultySettings difficultySettings, boolean allowCommands, WorldDataConfiguration dataConfiguration) LevelSettings(String levelName, GameType gameType, LevelSettings.DifficultySettings difficultySettings, boolean allowCommands, WorldDataConfiguration dataConfiguration, com.mojang.serialization.Lifecycle lifecycle) Creates an instance of aLevelSettingsrecord class.