Uses of Enum Class
net.minecraft.world.Difficulty
Packages that use Difficulty
Package
Description
-
Uses of Difficulty in net.minecraft.client.gui.screen
Methods in net.minecraft.client.gui.screen with parameters of type Difficulty -
Uses of Difficulty in net.minecraft.client.options
Fields in net.minecraft.client.options declared as Difficulty -
Uses of Difficulty in net.minecraft.client.world
Constructors in net.minecraft.client.world with parameters of type DifficultyModifierConstructorDescriptionClientWorld(ClientPlayNetworkHandler clientPlayNetworkHandler, LevelInfo levelInfo, DimensionType dimensionType, Difficulty difficulty, Profiler profiler) -
Uses of Difficulty in net.minecraft.network.packet.s2c.play
Fields in net.minecraft.network.packet.s2c.play declared as DifficultyModifier and TypeFieldDescriptionprivate DifficultyDifficultyS2CPacket.difficultyprivate DifficultyGameJoinS2CPacket.difficultyprivate DifficultyPlayerRespawnS2CPacket.difficultyMethods in net.minecraft.network.packet.s2c.play that return DifficultyModifier and TypeMethodDescriptionDifficultyS2CPacket.getDifficulty()GameJoinS2CPacket.getDifficulty()PlayerRespawnS2CPacket.getDifficulty()Constructors in net.minecraft.network.packet.s2c.play with parameters of type DifficultyModifierConstructorDescriptionDifficultyS2CPacket(Difficulty difficulty, boolean locked) GameJoinS2CPacket(int int2, GameMode gameMode, boolean bool, DimensionType dimensionType, Difficulty difficulty, int int3, LevelGeneratorType levelGeneratorType, boolean bool2) PlayerRespawnS2CPacket(DimensionType dimensionType, Difficulty difficulty, LevelGeneratorType levelGeneratorType, GameMode gameMode) -
Uses of Difficulty in net.minecraft.server
Methods in net.minecraft.server that return DifficultyMethods in net.minecraft.server with parameters of type Difficulty -
Uses of Difficulty in net.minecraft.server.command
Methods in net.minecraft.server.command with parameters of type DifficultyModifier and TypeMethodDescriptionstatic intDifficultyCommand.method_20659(class_3915 class_3915, Difficulty difficulty) -
Uses of Difficulty in net.minecraft.server.dedicated
Methods in net.minecraft.server.dedicated that return Difficulty -
Uses of Difficulty in net.minecraft.server.integrated
Methods in net.minecraft.server.integrated that return DifficultyMethods in net.minecraft.server.integrated with parameters of type Difficulty -
Uses of Difficulty in net.minecraft.world
Fields in net.minecraft.world declared as DifficultyModifier and TypeFieldDescriptionprivate static final Difficulty[]Difficulty.DIFFICULTIESprivate final DifficultyLocalDifficulty.difficultyMethods in net.minecraft.world that return DifficultyModifier and TypeMethodDescriptionstatic DifficultyDifficulty.byOrdinal(int ordinal) LocalDifficulty.method_15539()default DifficultyIWorld.method_16346()static DifficultyReturns the enum constant of this class with the specified name.static Difficulty[]Difficulty.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in net.minecraft.world with parameters of type DifficultyModifier and TypeMethodDescriptionprivate floatLocalDifficulty.calculateLocalDifficulty(Difficulty difficulty, long daytimeTicks, long chunkInhibitedTimeTicks, float moonPhase) Constructors in net.minecraft.world with parameters of type DifficultyModifierConstructorDescriptionLocalDifficulty(Difficulty difficulty, long daytimeTicks, long chunkInhibitedTimeTicks, float moonPhase) -
Uses of Difficulty in net.minecraft.world.level
Fields in net.minecraft.world.level declared as DifficultyModifier and TypeFieldDescriptionprivate DifficultyLevelProperties.difficultystatic final DifficultyLevelProperties.NORMAL_DIFFICULTYMethods in net.minecraft.world.level that return DifficultyModifier and TypeMethodDescriptionLevelProperties.getDifficulty()ReadOnlyLevelProperties.getDifficulty()Methods in net.minecraft.world.level with parameters of type DifficultyModifier and TypeMethodDescriptionvoidLevelProperties.setDifficulty(Difficulty difficulty) voidReadOnlyLevelProperties.setDifficulty(Difficulty difficulty)