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 DifficultyGameSettings. 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 DifficultyOptionsScreen. currentDifficultyprivate DifficultyCreateWorldScreen. effectiveDifficultyprivate DifficultyCreateWorldScreen. selectedDifficultyMethods in net.minecraft.client.gui.screen with parameters of type Difficulty Modifier and Type Method Description private ITextComponentOptionsScreen. 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 DifficultyClientWorld.ClientWorldInfo. difficultyMethods in net.minecraft.client.world that return Difficulty Modifier and Type Method Description DifficultyClientWorld.ClientWorldInfo. getDifficulty()Methods in net.minecraft.client.world with parameters of type Difficulty Modifier and Type Method Description voidClientWorld.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 intDifficultyCommand. 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. validDifficultiesMethods in net.minecraft.entity.ai.goal with parameters of type Difficulty Modifier and Type Method Description private booleanBreakDoorGoal. 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_PREDICATEprivate 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 DifficultyCSetDifficultyPacket. difficultyMethods in net.minecraft.network.play.client that return Difficulty Modifier and Type Method Description DifficultyCSetDifficultyPacket. 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 DifficultySServerDifficultyPacket. difficultyMethods in net.minecraft.network.play.server that return Difficulty Modifier and Type Method Description DifficultySServerDifficultyPacket. 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 voidMinecraftServer. 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 DifficultyServerProperties. difficulty -
Uses of Difficulty in net.minecraft.world
Fields in net.minecraft.world declared as Difficulty Modifier and Type Field Description private DifficultyDifficultyInstance. baseprivate static Difficulty[]Difficulty. BY_IDprivate DifficultyWorldSettings. difficultyMethods in net.minecraft.world that return Difficulty Modifier and Type Method Description static DifficultyDifficulty. byId(int p_151523_0_)static DifficultyDifficulty. byName(java.lang.String p_219963_0_)DifficultyWorldSettings. difficulty()DifficultyDifficultyInstance. getDifficulty()default DifficultyIWorld. getDifficulty()DifficultyDifficulty. nextById()static DifficultyDifficulty. 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 floatDifficultyInstance. calculateDifficulty(Difficulty p_180169_1_, long p_180169_2_, long p_180169_4_, float p_180169_6_)WorldSettingsWorldSettings. 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 intRaid. 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 DifficultyDerivedWorldInfo. getDifficulty()DifficultyIServerConfiguration. getDifficulty()DifficultyIWorldInfo. getDifficulty()DifficultyServerWorldInfo. getDifficulty()Methods in net.minecraft.world.storage with parameters of type Difficulty Modifier and Type Method Description voidIServerConfiguration. setDifficulty(Difficulty p_230409_1_)voidServerWorldInfo. 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 voidForgeHooks. 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 DifficultyDifficultyChangeEvent. difficultyprivate DifficultyDifficultyChangeEvent. oldDifficultyMethods in net.minecraftforge.event that return Difficulty Modifier and Type Method Description DifficultyDifficultyChangeEvent. getDifficulty()DifficultyDifficultyChangeEvent. getOldDifficulty()Constructors in net.minecraftforge.event with parameters of type Difficulty Constructor Description DifficultyChangeEvent(Difficulty difficulty, Difficulty oldDifficulty)
-