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 netHandler, LevelInfo levelInfo, int dimensionId, 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 id, LevelInfo.GameMode gameMode, boolean hardCore, int viewDistance, Difficulty difficulty, int maxPlayers, LevelGeneratorType levelGeneratorType, boolean reducedDebugInfo) PlayerRespawnS2CPacket(int dimensionId, Difficulty difficulty, LevelGeneratorType generatorType, LevelInfo.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 that return DifficultyModifier and TypeMethodDescriptionprotected DifficultyDifficultyCommand.method_6540(String string) -
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) World.getGlobalDifficulty()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)