Uses of Class
net.minecraft.world.Difficulty
-
Uses of Difficulty in net.minecraft.client.gui.screen.option
Fields in net.minecraft.client.gui.screen.option with type parameters of type Difficulty Modifier and Type Field Description private CyclingButtonWidget<Difficulty>OptionsScreen. difficultyButton -
Uses of Difficulty in net.minecraft.client.gui.screen.world
Fields in net.minecraft.client.gui.screen.world declared as Difficulty Modifier and Type Field Description private DifficultyCreateWorldScreen. currentDifficultyFields in net.minecraft.client.gui.screen.world with type parameters of type Difficulty Modifier and Type Field Description private CyclingButtonWidget<Difficulty>CreateWorldScreen. difficultyButtonMethods in net.minecraft.client.gui.screen.world that return Difficulty Modifier and Type Method Description private DifficultyCreateWorldScreen. getDifficulty() -
Uses of Difficulty in net.minecraft.client.option
Fields in net.minecraft.client.option declared as Difficulty Modifier and Type Field Description DifficultyGameOptions. difficulty -
Uses of Difficulty in net.minecraft.client.realms.gui.screen
Fields in net.minecraft.client.realms.gui.screen declared as Difficulty Modifier and Type Field Description private DifficultyRealmsSlotOptionsScreen. field_27943Fields in net.minecraft.client.realms.gui.screen with type parameters of type Difficulty Modifier and Type Field Description static List<Difficulty>RealmsSlotOptionsScreen. DIFFICULTIES -
Uses of Difficulty in net.minecraft.client.world
Fields in net.minecraft.client.world declared as Difficulty Modifier and Type Field Description private DifficultyClientWorld.Properties. difficultyMethods in net.minecraft.client.world that return Difficulty Modifier and Type Method Description DifficultyClientWorld.Properties. getDifficulty()Methods in net.minecraft.client.world with parameters of type Difficulty Modifier and Type Method Description voidClientWorld.Properties. setDifficulty(Difficulty difficulty)Constructors in net.minecraft.client.world with parameters of type Difficulty Constructor Description Properties(Difficulty difficulty, boolean hardcore, boolean flatWorld) -
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 Predicate<Difficulty>BreakDoorGoal. difficultySufficientPredicateMethods in net.minecraft.entity.ai.goal with parameters of type Difficulty Modifier and Type Method Description private booleanBreakDoorGoal. isDifficultySufficient(Difficulty difficulty)Constructor parameters in net.minecraft.entity.ai.goal with type arguments of type Difficulty Constructor Description BreakDoorGoal(MobEntity mob, int maxProgress, Predicate<Difficulty> difficultySufficientPredicate)BreakDoorGoal(MobEntity mob, Predicate<Difficulty> difficultySufficientPredicate) -
Uses of Difficulty in net.minecraft.entity.mob
Fields in net.minecraft.entity.mob with type parameters of type Difficulty Modifier and Type Field Description private static Predicate<Difficulty>VindicatorEntity. DIFFICULTY_ALLOWS_DOOR_BREAKING_PREDICATEprivate static Predicate<Difficulty>ZombieEntity. DOOR_BREAK_DIFFICULTY_CHECKER -
Uses of Difficulty in net.minecraft.network.packet.c2s.play
Fields in net.minecraft.network.packet.c2s.play declared as Difficulty Modifier and Type Field Description private DifficultyUpdateDifficultyC2SPacket. difficultyMethods in net.minecraft.network.packet.c2s.play that return Difficulty Modifier and Type Method Description DifficultyUpdateDifficultyC2SPacket. getDifficulty()Constructors in net.minecraft.network.packet.c2s.play with parameters of type Difficulty Constructor Description UpdateDifficultyC2SPacket(Difficulty difficulty) -
Uses of Difficulty in net.minecraft.network.packet.s2c.play
Fields in net.minecraft.network.packet.s2c.play declared as Difficulty Modifier and Type Field Description private DifficultyDifficultyS2CPacket. difficultyMethods in net.minecraft.network.packet.s2c.play that return Difficulty Modifier and Type Method Description DifficultyDifficultyS2CPacket. getDifficulty()Constructors in net.minecraft.network.packet.s2c.play with parameters of type Difficulty Constructor Description DifficultyS2CPacket(Difficulty difficulty, boolean difficultyLocked) -
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 difficulty, boolean forceUpdate) -
Uses of Difficulty in net.minecraft.server.command
Methods in net.minecraft.server.command with parameters of type Difficulty Modifier and Type Method Description static intDifficultyCommand. execute(ServerCommandSource source, Difficulty difficulty) -
Uses of Difficulty in net.minecraft.server.dedicated
Fields in net.minecraft.server.dedicated declared as Difficulty Modifier and Type Field Description DifficultyServerPropertiesHandler. difficulty -
Uses of Difficulty in net.minecraft.village.raid
Methods in net.minecraft.village.raid with parameters of type Difficulty Modifier and Type Method Description intRaid. getMaxWaves(Difficulty difficulty) -
Uses of Difficulty in net.minecraft.world
Fields in net.minecraft.world declared as Difficulty Modifier and Type Field Description private static Difficulty[]Difficulty. BY_NAMEprivate DifficultyLocalDifficulty. globalDifficultyMethods in net.minecraft.world that return Difficulty Modifier and Type Method Description static @Nullable DifficultyDifficulty. byName(String name)static DifficultyDifficulty. byOrdinal(int ordinal)DifficultySaveProperties. getDifficulty()default DifficultyWorldAccess. getDifficulty()DifficultyWorldProperties. getDifficulty()DifficultyLocalDifficulty. getGlobalDifficulty()static DifficultyDifficulty. valueOf(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 voidSaveProperties. setDifficulty(Difficulty difficulty)private floatLocalDifficulty. setLocalDifficulty(Difficulty difficulty, long timeOfDay, long inhabitedTime, float moonSize)Constructors in net.minecraft.world with parameters of type Difficulty Constructor Description LocalDifficulty(Difficulty difficulty, long timeOfDay, long inhabitedTime, float moonSize) -
Uses of Difficulty in net.minecraft.world.level
Fields in net.minecraft.world.level declared as Difficulty Modifier and Type Field Description private DifficultyLevelInfo. difficultyMethods in net.minecraft.world.level that return Difficulty Modifier and Type Method Description DifficultyLevelInfo. getDifficulty()DifficultyLevelProperties. getDifficulty()DifficultyUnmodifiableLevelProperties. getDifficulty()Methods in net.minecraft.world.level with parameters of type Difficulty Modifier and Type Method Description voidLevelProperties. setDifficulty(Difficulty difficulty)LevelInfoLevelInfo. withDifficulty(Difficulty difficulty)Constructors in net.minecraft.world.level with parameters of type Difficulty Constructor Description LevelInfo(String name, GameMode gameMode, boolean hardcore, Difficulty difficulty, boolean allowCommands, GameRules gameRules, DataPackSettings dataPackSettings)