Uses of Class
net.minecraft.world.LocalDifficulty
Package
Description
The basic AI system for Minecraft living entities.
-
Uses of LocalDifficulty in net.minecraft.enchantment
Modifier and TypeMethodDescriptionstatic void
EnchantmentHelper.applyEnchantmentProvider
(ItemStack stack, DynamicRegistryManager registryManager, RegistryKey<EnchantmentProvider> providerKey, LocalDifficulty localDifficulty, Random random) -
Uses of LocalDifficulty in net.minecraft.enchantment.provider
Modifier and TypeMethodDescriptionvoid
ByCostEnchantmentProvider.provideEnchantments
(ItemStack stack, ItemEnchantmentsComponent.Builder componentBuilder, Random random, LocalDifficulty localDifficulty) void
ByCostWithDifficultyEnchantmentProvider.provideEnchantments
(ItemStack stack, ItemEnchantmentsComponent.Builder componentBuilder, Random random, LocalDifficulty localDifficulty) void
EnchantmentProvider.provideEnchantments
(ItemStack stack, ItemEnchantmentsComponent.Builder componentBuilder, Random random, LocalDifficulty localDifficulty) void
SingleEnchantmentProvider.provideEnchantments
(ItemStack stack, ItemEnchantmentsComponent.Builder componentBuilder, Random random, LocalDifficulty localDifficulty) -
Uses of LocalDifficulty in net.minecraft.entity.ai.goal
Modifier and TypeMethodDescriptionprivate void
SkeletonHorseTrapTriggerGoal.enchantEquipment
(SkeletonEntity rider, EquipmentSlot slot, LocalDifficulty localDifficulty) private @Nullable AbstractHorseEntity
SkeletonHorseTrapTriggerGoal.getHorse
(LocalDifficulty localDifficulty) private @Nullable SkeletonEntity
SkeletonHorseTrapTriggerGoal.getSkeleton
(LocalDifficulty localDifficulty, AbstractHorseEntity vehicle) -
Uses of LocalDifficulty in net.minecraft.entity.mob
Modifier and TypeMethodDescriptionprivate void
MobEntity.enchantEquipment
(ServerWorldAccess world, EquipmentSlot slot, Random random, float power, LocalDifficulty localDifficulty) protected void
MobEntity.enchantEquipment
(ServerWorldAccess world, Random random, EquipmentSlot slot, LocalDifficulty localDifficulty) protected void
MobEntity.enchantMainHandItem
(ServerWorldAccess world, Random random, LocalDifficulty localDifficulty) protected void
PillagerEntity.enchantMainHandItem
(ServerWorldAccess world, Random random, LocalDifficulty localDifficulty) protected void
AbstractSkeletonEntity.initEquipment
(Random random, LocalDifficulty localDifficulty) protected void
DrownedEntity.initEquipment
(Random random, LocalDifficulty localDifficulty) protected void
MobEntity.initEquipment
(Random random, LocalDifficulty localDifficulty) protected void
PiglinBruteEntity.initEquipment
(Random random, LocalDifficulty localDifficulty) protected void
PiglinEntity.initEquipment
(Random random, LocalDifficulty localDifficulty) protected void
PillagerEntity.initEquipment
(Random random, LocalDifficulty localDifficulty) protected void
VexEntity.initEquipment
(Random random, LocalDifficulty localDifficulty) protected void
VindicatorEntity.initEquipment
(Random random, LocalDifficulty localDifficulty) protected void
WitherSkeletonEntity.initEquipment
(Random random, LocalDifficulty localDifficulty) protected void
ZombieEntity.initEquipment
(Random random, LocalDifficulty localDifficulty) protected void
ZombifiedPiglinEntity.initEquipment
(Random random, LocalDifficulty localDifficulty) AbstractSkeletonEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) CaveSpiderEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) DrownedEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) HoglinEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) IllusionerEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) MobEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) PatrolEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) PhantomEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) PiglinBruteEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) PiglinEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) PillagerEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) ShulkerEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) SlimeEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) SpiderEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) VexEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) VindicatorEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) WardenEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) WitherSkeletonEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) ZombieEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) ZombieVillagerEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) protected void
MobEntity.updateEnchantments
(ServerWorldAccess world, Random random, LocalDifficulty localDifficulty) protected void
WitherSkeletonEntity.updateEnchantments
(ServerWorldAccess world, Random random, LocalDifficulty localDifficulty) -
Uses of LocalDifficulty in net.minecraft.entity.passive
Modifier and TypeMethodDescriptionprotected void
FoxEntity.initEquipment
(Random random, LocalDifficulty localDifficulty) AbstractHorseEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) AxolotlEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) CamelEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) CatEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) DolphinEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) FoxEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) FrogEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) GoatEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) HorseEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) LlamaEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) MerchantEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) OcelotEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) PandaEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) ParrotEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) PassiveEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) PolarBearEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) RabbitEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) SchoolingFishEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) SheepEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) StriderEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) TraderLlamaEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) TropicalFishEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) TurtleEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) VillagerEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) WolfEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) private EntityData
StriderEntity.initializeRider
(ServerWorldAccess world, LocalDifficulty difficulty, MobEntity rider, @Nullable EntityData entityData) -
Uses of LocalDifficulty in net.minecraft.entity.raid
Modifier and TypeMethodDescriptionRaiderEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) -
Uses of LocalDifficulty in net.minecraft.village.raid
Modifier and TypeMethodDescriptionprivate int
Raid.getBonusCount
(Raid.Member member, Random random, int wave, LocalDifficulty localDifficulty, boolean extra) -
Uses of LocalDifficulty in net.minecraft.world
Modifier and TypeMethodDescriptionChunkRegion.getLocalDifficulty
(BlockPos pos) World.getLocalDifficulty
(BlockPos pos) WorldAccess.getLocalDifficulty
(BlockPos pos)