Uses of Enum Class
net.minecraft.world.Difficulty
Packages that use Difficulty
Package
Description
-
Uses of Difficulty in net.minecraft.client
Fields in net.minecraft.client declared as Difficulty -
Uses of Difficulty in net.minecraft.client.gui.screen
Fields in net.minecraft.client.gui.screen declared as DifficultyModifier and TypeFieldDescriptionprivate Difficulty
OptionsScreen.currentDifficulty
private Difficulty
CreateWorldScreen.effectiveDifficulty
private Difficulty
CreateWorldScreen.selectedDifficulty
Methods in net.minecraft.client.gui.screen with parameters of type DifficultyModifier and TypeMethodDescriptionprivate ITextComponent
OptionsScreen.getDifficultyText
(Difficulty p_238630_1_) -
Uses of Difficulty in net.minecraft.client.world
Fields in net.minecraft.client.world declared as DifficultyMethods in net.minecraft.client.world that return DifficultyMethods in net.minecraft.client.world with parameters of type DifficultyModifier and TypeMethodDescriptionvoid
ClientWorld.ClientWorldInfo.setDifficulty
(Difficulty p_239156_1_) Constructors in net.minecraft.client.world with parameters of type DifficultyModifierConstructorDescriptionClientWorldInfo
(Difficulty p_i232338_1_, boolean p_i232338_2_, boolean p_i232338_3_) -
Uses of Difficulty in net.minecraft.command.impl
Methods in net.minecraft.command.impl with parameters of type DifficultyModifier and TypeMethodDescriptionstatic int
DifficultyCommand.setDifficulty
(CommandSource p_198345_0_, Difficulty p_198345_1_) -
Uses of Difficulty in net.minecraft.entity.ai.goal
Fields in net.minecraft.entity.ai.goal with type parameters of type DifficultyModifier and TypeFieldDescriptionprivate final Predicate<Difficulty>
BreakDoorGoal.validDifficulties
Methods in net.minecraft.entity.ai.goal with parameters of type DifficultyModifier and TypeMethodDescriptionprivate boolean
BreakDoorGoal.isValidDifficulty
(Difficulty p_220696_1_) Constructor parameters in net.minecraft.entity.ai.goal with type arguments of type DifficultyModifierConstructorDescriptionBreakDoorGoal
(MobEntity p_i50333_1_, int p_i50333_2_, Predicate<Difficulty> p_i50333_3_) BreakDoorGoal
(MobEntity p_i50332_1_, Predicate<Difficulty> p_i50332_2_) -
Uses of Difficulty in net.minecraft.entity.monster
Fields in net.minecraft.entity.monster with type parameters of type DifficultyModifier and TypeFieldDescriptionprivate static final Predicate<Difficulty>
VindicatorEntity.DOOR_BREAKING_PREDICATE
private static final Predicate<Difficulty>
ZombieEntity.DOOR_BREAKING_PREDICATE
-
Uses of Difficulty in net.minecraft.network.play.client
Fields in net.minecraft.network.play.client declared as DifficultyMethods in net.minecraft.network.play.client that return DifficultyConstructors in net.minecraft.network.play.client with parameters of type Difficulty -
Uses of Difficulty in net.minecraft.network.play.server
Fields in net.minecraft.network.play.server declared as DifficultyMethods in net.minecraft.network.play.server that return DifficultyConstructors in net.minecraft.network.play.server with parameters of type DifficultyModifierConstructorDescriptionSServerDifficultyPacket
(Difficulty p_i46963_1_, boolean p_i46963_2_) -
Uses of Difficulty in net.minecraft.server
Methods in net.minecraft.server with parameters of type DifficultyModifier and TypeMethodDescriptionvoid
MinecraftServer.setDifficulty
(Difficulty p_147139_1_, boolean p_147139_2_) -
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 Difficulty
DifficultyInstance.base
private static final Difficulty[]
Difficulty.BY_ID
private final Difficulty
WorldSettings.difficulty
Methods in net.minecraft.world that return DifficultyModifier and TypeMethodDescriptionstatic Difficulty
Difficulty.byId
(int p_151523_0_) static Difficulty
WorldSettings.difficulty()
DifficultyInstance.getDifficulty()
default Difficulty
IWorld.getDifficulty()
Difficulty.nextById()
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.Methods in net.minecraft.world with parameters of type DifficultyModifier and TypeMethodDescriptionprivate float
DifficultyInstance.calculateDifficulty
(Difficulty p_180169_1_, long p_180169_2_, long p_180169_4_, float p_180169_6_) WorldSettings.withDifficulty
(Difficulty p_234948_1_) Constructors in net.minecraft.world with parameters of type DifficultyModifierConstructorDescriptionDifficultyInstance
(Difficulty p_i45904_1_, long p_i45904_2_, long p_i45904_4_, float p_i45904_6_) WorldSettings
(String p_i231620_1_, GameType p_i231620_2_, boolean p_i231620_3_, Difficulty p_i231620_4_, boolean p_i231620_5_, GameRules p_i231620_6_, DatapackCodec p_i231620_7_) -
Uses of Difficulty in net.minecraft.world.raid
Methods in net.minecraft.world.raid with parameters of type Difficulty -
Uses of Difficulty in net.minecraft.world.storage
Methods in net.minecraft.world.storage that return DifficultyModifier and TypeMethodDescriptionDerivedWorldInfo.getDifficulty()
IServerConfiguration.getDifficulty()
IWorldInfo.getDifficulty()
ServerWorldInfo.getDifficulty()
Methods in net.minecraft.world.storage with parameters of type DifficultyModifier and TypeMethodDescriptionvoid
IServerConfiguration.setDifficulty
(Difficulty p_230409_1_) void
ServerWorldInfo.setDifficulty
(Difficulty p_230409_1_) -
Uses of Difficulty in net.minecraftforge.common
Methods in net.minecraftforge.common with parameters of type DifficultyModifier and TypeMethodDescriptionstatic void
ForgeHooks.onDifficultyChange
(Difficulty difficulty, Difficulty oldDifficulty) -
Uses of Difficulty in net.minecraftforge.event
Fields in net.minecraftforge.event declared as DifficultyModifier and TypeFieldDescriptionprivate final Difficulty
DifficultyChangeEvent.difficulty
private final Difficulty
DifficultyChangeEvent.oldDifficulty
Methods 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)