Uses of Enum Class
net.minecraft.world.Difficulty
Packages that use Difficulty
Package
Description
-
Uses of Difficulty in com.mojang.realmsclient.gui.screens
Fields in com.mojang.realmsclient.gui.screens declared as DifficultyFields in com.mojang.realmsclient.gui.screens with type parameters of type DifficultyModifier and TypeFieldDescriptionstatic final List<Difficulty>RealmsSlotOptionsScreen.DIFFICULTIES -
Uses of Difficulty in net.minecraft.client
Fields in net.minecraft.client declared as Difficulty -
Uses of Difficulty in net.minecraft.client.gui.screens
Fields in net.minecraft.client.gui.screens with type parameters of type DifficultyMethods in net.minecraft.client.gui.screens that return types with arguments of type DifficultyModifier and TypeMethodDescriptionstatic CycleButton<Difficulty>OptionsScreen.createDifficultyButton(int p_193847_, int p_193848_, int p_193849_, String p_193850_, Minecraft p_193851_) -
Uses of Difficulty in net.minecraft.client.gui.screens.worldselection
Fields in net.minecraft.client.gui.screens.worldselection declared as DifficultyFields in net.minecraft.client.gui.screens.worldselection with type parameters of type DifficultyModifier and TypeFieldDescriptionprivate CycleButton<Difficulty>CreateWorldScreen.difficultyButtonMethods in net.minecraft.client.gui.screens.worldselection that return Difficulty -
Uses of Difficulty in net.minecraft.client.multiplayer
Fields in net.minecraft.client.multiplayer declared as DifficultyMethods in net.minecraft.client.multiplayer that return DifficultyMethods in net.minecraft.client.multiplayer with parameters of type DifficultyModifier and TypeMethodDescriptionvoidClientLevel.ClientLevelData.setDifficulty(Difficulty p_104852_) Constructors in net.minecraft.client.multiplayer with parameters of type DifficultyModifierConstructorDescriptionClientLevelData(Difficulty p_104843_, boolean p_104844_, boolean p_104845_) -
Uses of Difficulty in net.minecraft.network.protocol.game
Fields in net.minecraft.network.protocol.game declared as DifficultyModifier and TypeFieldDescriptionprivate final DifficultyClientboundChangeDifficultyPacket.difficultyprivate final DifficultyServerboundChangeDifficultyPacket.difficultyMethods in net.minecraft.network.protocol.game that return DifficultyModifier and TypeMethodDescriptionClientboundChangeDifficultyPacket.getDifficulty()ServerboundChangeDifficultyPacket.getDifficulty()Constructors in net.minecraft.network.protocol.game with parameters of type DifficultyModifierConstructorDescriptionClientboundChangeDifficultyPacket(Difficulty p_131809_, boolean p_131810_) ServerboundChangeDifficultyPacket(Difficulty p_133817_) -
Uses of Difficulty in net.minecraft.server
Methods in net.minecraft.server with parameters of type DifficultyModifier and TypeMethodDescriptionvoidMinecraftServer.setDifficulty(Difficulty p_129828_, boolean p_129829_) -
Uses of Difficulty in net.minecraft.server.commands
Methods in net.minecraft.server.commands with parameters of type DifficultyModifier and TypeMethodDescriptionstatic intDifficultyCommand.setDifficulty(CommandSourceStack p_136945_, Difficulty p_136946_) -
Uses of Difficulty in net.minecraft.server.dedicated
Fields in net.minecraft.server.dedicated declared as Difficulty -
Uses of Difficulty in net.minecraft.world
Fields in net.minecraft.world declared as DifficultyModifier and TypeFieldDescriptionprivate final DifficultyDifficultyInstance.baseprivate static final Difficulty[]Difficulty.BY_IDMethods in net.minecraft.world that return DifficultyModifier and TypeMethodDescriptionstatic DifficultyDifficulty.byId(int p_19030_) static DifficultyDifficultyInstance.getDifficulty()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 floatDifficultyInstance.calculateDifficulty(Difficulty p_19052_, long p_19053_, long p_19054_, float p_19055_) Constructors in net.minecraft.world with parameters of type DifficultyModifierConstructorDescriptionDifficultyInstance(Difficulty p_19044_, long p_19045_, long p_19046_, float p_19047_) -
Uses of Difficulty in net.minecraft.world.entity.ai.goal
Fields in net.minecraft.world.entity.ai.goal with type parameters of type DifficultyModifier and TypeFieldDescriptionprivate final Predicate<Difficulty>BreakDoorGoal.validDifficultiesMethods in net.minecraft.world.entity.ai.goal with parameters of type DifficultyModifier and TypeMethodDescriptionprivate booleanBreakDoorGoal.isValidDifficulty(Difficulty p_25095_) Constructor parameters in net.minecraft.world.entity.ai.goal with type arguments of type DifficultyModifierConstructorDescriptionBreakDoorGoal(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
Fields in net.minecraft.world.entity.monster with type parameters of type DifficultyModifier and TypeFieldDescription(package private) static final Predicate<Difficulty>Vindicator.DOOR_BREAKING_PREDICATEprivate static final Predicate<Difficulty>Zombie.DOOR_BREAKING_PREDICATE -
Uses of Difficulty in net.minecraft.world.entity.raid
Methods in net.minecraft.world.entity.raid with parameters of type Difficulty -
Uses of Difficulty in net.minecraft.world.level
Fields in net.minecraft.world.level declared as DifficultyMethods in net.minecraft.world.level that return DifficultyModifier and TypeMethodDescriptionLevelSettings.difficulty()default DifficultyLevelAccessor.getDifficulty()Methods in net.minecraft.world.level with parameters of type DifficultyConstructors in net.minecraft.world.level with parameters of type DifficultyModifierConstructorDescriptionLevelSettings(String p_46910_, GameType p_46911_, boolean p_46912_, Difficulty p_46913_, boolean p_46914_, GameRules p_46915_, DataPackConfig p_46916_) LevelSettings(String p_46910_, GameType p_46911_, boolean p_46912_, Difficulty p_46913_, boolean p_46914_, GameRules p_46915_, DataPackConfig p_46916_, com.mojang.serialization.Lifecycle lifecycle) -
Uses of Difficulty in net.minecraft.world.level.storage
Methods in net.minecraft.world.level.storage that return DifficultyModifier and TypeMethodDescriptionDerivedLevelData.getDifficulty()LevelData.getDifficulty()PrimaryLevelData.getDifficulty()WorldData.getDifficulty()Methods in net.minecraft.world.level.storage with parameters of type DifficultyModifier and TypeMethodDescriptionvoidPrimaryLevelData.setDifficulty(Difficulty p_78521_) voidWorldData.setDifficulty(Difficulty p_78633_) -
Uses of Difficulty in net.minecraftforge.common
Methods in net.minecraftforge.common with parameters of type DifficultyModifier and TypeMethodDescriptionstatic voidForgeHooks.onDifficultyChange(Difficulty difficulty, Difficulty oldDifficulty) -
Uses of Difficulty in net.minecraftforge.event
Fields in net.minecraftforge.event declared as DifficultyModifier and TypeFieldDescriptionprivate final DifficultyDifficultyChangeEvent.difficultyprivate final DifficultyDifficultyChangeEvent.oldDifficultyMethods in net.minecraftforge.event that return DifficultyModifier and TypeMethodDescriptionDifficultyChangeEvent.getDifficulty()DifficultyChangeEvent.getOldDifficulty()Constructors in net.minecraftforge.event with parameters of type DifficultyModifierConstructorDescriptionDifficultyChangeEvent(Difficulty difficulty, Difficulty oldDifficulty)