Uses of Class
net.minecraft.world.Difficulty
-
-
Uses of Difficulty in net.minecraft.client
Fields in net.minecraft.client declared as Difficulty Modifier and Type Field Description Difficulty
GameSettings. difficulty
-
Uses of Difficulty in net.minecraft.client.gui.screen
Fields in net.minecraft.client.gui.screen declared as Difficulty Modifier and Type Field Description private Difficulty
OptionsScreen. currentDifficulty
private Difficulty
CreateWorldScreen. effectiveDifficulty
private Difficulty
CreateWorldScreen. selectedDifficulty
Methods in net.minecraft.client.gui.screen with parameters of type Difficulty Modifier and Type Method Description private ITextComponent
OptionsScreen. getDifficultyText(Difficulty p_238630_1_)
-
Uses of Difficulty in net.minecraft.client.world
Fields in net.minecraft.client.world declared as Difficulty Modifier and Type Field Description private Difficulty
ClientWorld.ClientWorldInfo. difficulty
Methods in net.minecraft.client.world that return Difficulty Modifier and Type Method Description Difficulty
ClientWorld.ClientWorldInfo. getDifficulty()
Methods in net.minecraft.client.world with parameters of type Difficulty Modifier and Type Method Description void
ClientWorld.ClientWorldInfo. setDifficulty(Difficulty p_239156_1_)
Constructors in net.minecraft.client.world with parameters of type Difficulty Constructor Description ClientWorldInfo(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 Difficulty Modifier and Type Method Description static 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 Difficulty Modifier and Type Field Description private java.util.function.Predicate<Difficulty>
BreakDoorGoal. validDifficulties
Methods in net.minecraft.entity.ai.goal with parameters of type Difficulty Modifier and Type Method Description private boolean
BreakDoorGoal. isValidDifficulty(Difficulty p_220696_1_)
Constructor parameters in net.minecraft.entity.ai.goal with type arguments of type Difficulty Constructor Description BreakDoorGoal(MobEntity p_i50333_1_, int p_i50333_2_, java.util.function.Predicate<Difficulty> p_i50333_3_)
BreakDoorGoal(MobEntity p_i50332_1_, java.util.function.Predicate<Difficulty> p_i50332_2_)
-
Uses of Difficulty in net.minecraft.entity.monster
Fields in net.minecraft.entity.monster with type parameters of type Difficulty Modifier and Type Field Description private static java.util.function.Predicate<Difficulty>
VindicatorEntity. DOOR_BREAKING_PREDICATE
private static java.util.function.Predicate<Difficulty>
ZombieEntity. DOOR_BREAKING_PREDICATE
-
Uses of Difficulty in net.minecraft.network.play.client
Fields in net.minecraft.network.play.client declared as Difficulty Modifier and Type Field Description private Difficulty
CSetDifficultyPacket. difficulty
Methods in net.minecraft.network.play.client that return Difficulty Modifier and Type Method Description Difficulty
CSetDifficultyPacket. getDifficulty()
Constructors in net.minecraft.network.play.client with parameters of type Difficulty Constructor Description CSetDifficultyPacket(Difficulty p_i50762_1_)
-
Uses of Difficulty in net.minecraft.network.play.server
Fields in net.minecraft.network.play.server declared as Difficulty Modifier and Type Field Description private Difficulty
SServerDifficultyPacket. difficulty
Methods in net.minecraft.network.play.server that return Difficulty Modifier and Type Method Description Difficulty
SServerDifficultyPacket. getDifficulty()
Constructors in net.minecraft.network.play.server with parameters of type Difficulty Constructor Description SServerDifficultyPacket(Difficulty p_i46963_1_, boolean p_i46963_2_)
-
Uses of Difficulty in net.minecraft.server
Methods in net.minecraft.server with parameters of type Difficulty Modifier and Type Method Description void
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 Modifier and Type Field Description Difficulty
ServerProperties. difficulty
-
Uses of Difficulty in net.minecraft.world
Fields in net.minecraft.world declared as Difficulty Modifier and Type Field Description private Difficulty
DifficultyInstance. base
private static Difficulty[]
Difficulty. BY_ID
private Difficulty
WorldSettings. difficulty
Methods in net.minecraft.world that return Difficulty Modifier and Type Method Description static Difficulty
Difficulty. byId(int p_151523_0_)
static Difficulty
Difficulty. byName(java.lang.String p_219963_0_)
Difficulty
WorldSettings. difficulty()
Difficulty
DifficultyInstance. getDifficulty()
default Difficulty
IWorld. getDifficulty()
Difficulty
Difficulty. nextById()
static Difficulty
Difficulty. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Difficulty[]
Difficulty. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in net.minecraft.world with parameters of type Difficulty Modifier and Type Method Description private float
DifficultyInstance. calculateDifficulty(Difficulty p_180169_1_, long p_180169_2_, long p_180169_4_, float p_180169_6_)
WorldSettings
WorldSettings. withDifficulty(Difficulty p_234948_1_)
Constructors in net.minecraft.world with parameters of type Difficulty Constructor Description DifficultyInstance(Difficulty p_i45904_1_, long p_i45904_2_, long p_i45904_4_, float p_i45904_6_)
WorldSettings(java.lang.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 Modifier and Type Method Description int
Raid. getNumGroups(Difficulty p_221306_1_)
-
Uses of Difficulty in net.minecraft.world.storage
Methods in net.minecraft.world.storage that return Difficulty Modifier and Type Method Description Difficulty
DerivedWorldInfo. getDifficulty()
Difficulty
IServerConfiguration. getDifficulty()
Difficulty
IWorldInfo. getDifficulty()
Difficulty
ServerWorldInfo. getDifficulty()
Methods in net.minecraft.world.storage with parameters of type Difficulty Modifier and Type Method Description void
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 Difficulty Modifier and Type Method Description static void
ForgeHooks. onDifficultyChange(Difficulty difficulty, Difficulty oldDifficulty)
-
Uses of Difficulty in net.minecraftforge.event
Fields in net.minecraftforge.event declared as Difficulty Modifier and Type Field Description private Difficulty
DifficultyChangeEvent. difficulty
private Difficulty
DifficultyChangeEvent. oldDifficulty
Methods in net.minecraftforge.event that return Difficulty Modifier and Type Method Description Difficulty
DifficultyChangeEvent. getDifficulty()
Difficulty
DifficultyChangeEvent. getOldDifficulty()
Constructors in net.minecraftforge.event with parameters of type Difficulty Constructor Description DifficultyChangeEvent(Difficulty difficulty, Difficulty oldDifficulty)
-