Uses of Enum Class
net.minecraft.world.Difficulty
Package
Description
-
Uses of Difficulty in com.mojang.realmsclient.gui.screens
-
Uses of Difficulty in net.minecraft.client
-
Uses of Difficulty in net.minecraft.client.gui.screens
-
Uses of Difficulty in net.minecraft.client.gui.screens.worldselection
Modifier and TypeFieldDescriptionprivate CycleButton<Difficulty>
CreateWorldScreen.difficultyButton
-
Uses of Difficulty in net.minecraft.client.multiplayer
Modifier and TypeMethodDescriptionvoid
ClientLevel.ClientLevelData.setDifficulty(Difficulty p_104852_)
ModifierConstructorDescriptionClientLevelData(Difficulty p_104843_, boolean p_104844_, boolean p_104845_)
-
Uses of Difficulty in net.minecraft.network.protocol.game
Modifier and TypeFieldDescriptionprivate Difficulty
ClientboundChangeDifficultyPacket.difficulty
private Difficulty
ServerboundChangeDifficultyPacket.difficulty
Modifier and TypeMethodDescriptionClientboundChangeDifficultyPacket.getDifficulty()
ServerboundChangeDifficultyPacket.getDifficulty()
ModifierConstructorDescriptionClientboundChangeDifficultyPacket(Difficulty p_131809_, boolean p_131810_)
ServerboundChangeDifficultyPacket(Difficulty p_133817_)
-
Uses of Difficulty in net.minecraft.server
Modifier and TypeMethodDescriptionvoid
MinecraftServer.setDifficulty(Difficulty p_129828_, boolean p_129829_)
-
Uses of Difficulty in net.minecraft.server.commands
Modifier and TypeMethodDescriptionstatic int
DifficultyCommand.setDifficulty(CommandSourceStack p_136945_, Difficulty p_136946_)
-
Uses of Difficulty in net.minecraft.server.dedicated
-
Uses of Difficulty in net.minecraft.world
Modifier and TypeFieldDescriptionprivate Difficulty
DifficultyInstance.base
private static Difficulty[]
Difficulty.BY_ID
Modifier and TypeMethodDescriptionstatic Difficulty
Difficulty.byId(int p_19030_)
static Difficulty
DifficultyInstance.getDifficulty()
static Difficulty
Returns 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.Modifier and TypeMethodDescriptionprivate float
DifficultyInstance.calculateDifficulty(Difficulty p_19052_, long p_19053_, long p_19054_, float p_19055_)
ModifierConstructorDescriptionDifficultyInstance(Difficulty p_19044_, long p_19045_, long p_19046_, float p_19047_)
-
Uses of Difficulty in net.minecraft.world.entity.ai.goal
Modifier and TypeMethodDescriptionprivate boolean
BreakDoorGoal.isValidDifficulty(Difficulty p_25095_)
ModifierConstructorDescriptionBreakDoorGoal(Mob p_25087_, int p_25088_, Predicate<Difficulty> p_25089_)
BreakDoorGoal(Mob p_25091_, Predicate<Difficulty> p_25092_)
-
Uses of Difficulty in net.minecraft.world.entity.monster
Modifier and TypeFieldDescription(package private) static Predicate<Difficulty>
Vindicator.DOOR_BREAKING_PREDICATE
private static Predicate<Difficulty>
Zombie.DOOR_BREAKING_PREDICATE
-
Uses of Difficulty in net.minecraft.world.entity.raid
-
Uses of Difficulty in net.minecraft.world.level
Modifier and TypeMethodDescriptionLevelSettings.difficulty()
default Difficulty
LevelAccessor.getDifficulty()
ModifierConstructorDescriptionLevelSettings(String p_46910_, GameType p_46911_, boolean p_46912_, Difficulty p_46913_, boolean p_46914_, GameRules p_46915_, DataPackConfig p_46916_)
-
Uses of Difficulty in net.minecraft.world.level.storage
Modifier and TypeMethodDescriptionDerivedLevelData.getDifficulty()
LevelData.getDifficulty()
PrimaryLevelData.getDifficulty()
WorldData.getDifficulty()
Modifier and TypeMethodDescriptionvoid
PrimaryLevelData.setDifficulty(Difficulty p_78521_)
void
WorldData.setDifficulty(Difficulty p_78633_)
-
Uses of Difficulty in net.minecraftforge.common
Modifier and TypeMethodDescriptionstatic void
ForgeHooks.onDifficultyChange(Difficulty difficulty, Difficulty oldDifficulty)
-
Uses of Difficulty in net.minecraftforge.event
Modifier and TypeFieldDescriptionprivate Difficulty
DifficultyChangeEvent.difficulty
private Difficulty
DifficultyChangeEvent.oldDifficulty
Modifier and TypeMethodDescriptionDifficultyChangeEvent.getDifficulty()
DifficultyChangeEvent.getOldDifficulty()
ModifierConstructorDescriptionDifficultyChangeEvent(Difficulty difficulty, Difficulty oldDifficulty)