Uses of Class
net.minecraft.world.LocalDifficulty
Packages that use LocalDifficulty
Package
Description
The basic AI system for Minecraft living entities.
-
Uses of LocalDifficulty in net.minecraft.enchantment
Methods in net.minecraft.enchantment with parameters of type LocalDifficultyModifier and TypeMethodDescriptionstatic voidEnchantmentHelper.applyEnchantmentProvider(ItemStack stack, DynamicRegistryManager registryManager, RegistryKey<EnchantmentProvider> providerKey, LocalDifficulty localDifficulty, Random random) -
Uses of LocalDifficulty in net.minecraft.enchantment.provider
Methods in net.minecraft.enchantment.provider with parameters of type LocalDifficultyModifier and TypeMethodDescriptionvoidByCostEnchantmentProvider.provideEnchantments(ItemStack stack, ItemEnchantmentsComponent.Builder componentBuilder, Random random, LocalDifficulty localDifficulty) voidByCostWithDifficultyEnchantmentProvider.provideEnchantments(ItemStack stack, ItemEnchantmentsComponent.Builder componentBuilder, Random random, LocalDifficulty localDifficulty) voidEnchantmentProvider.provideEnchantments(ItemStack stack, ItemEnchantmentsComponent.Builder componentBuilder, Random random, LocalDifficulty localDifficulty) voidSingleEnchantmentProvider.provideEnchantments(ItemStack stack, ItemEnchantmentsComponent.Builder componentBuilder, Random random, LocalDifficulty localDifficulty) -
Uses of LocalDifficulty in net.minecraft.entity.ai.goal
Methods in net.minecraft.entity.ai.goal with parameters of type LocalDifficultyModifier and TypeMethodDescriptionprivate voidSkeletonHorseTrapTriggerGoal.enchantEquipment(SkeletonEntity rider, EquipmentSlot slot, LocalDifficulty localDifficulty) private @Nullable AbstractHorseEntitySkeletonHorseTrapTriggerGoal.getHorse(LocalDifficulty localDifficulty) private @Nullable SkeletonEntitySkeletonHorseTrapTriggerGoal.getSkeleton(LocalDifficulty localDifficulty, AbstractHorseEntity vehicle) -
Uses of LocalDifficulty in net.minecraft.entity.mob
Methods in net.minecraft.entity.mob with parameters of type LocalDifficultyModifier and TypeMethodDescriptionprivate voidMobEntity.enchantEquipment(ServerWorldAccess world, EquipmentSlot slot, Random random, float power, LocalDifficulty localDifficulty) protected voidMobEntity.enchantEquipment(ServerWorldAccess world, Random random, EquipmentSlot slot, LocalDifficulty localDifficulty) protected voidMobEntity.enchantMainHandItem(ServerWorldAccess world, Random random, LocalDifficulty localDifficulty) protected voidPillagerEntity.enchantMainHandItem(ServerWorldAccess world, Random random, LocalDifficulty localDifficulty) protected voidAbstractSkeletonEntity.initEquipment(Random random, LocalDifficulty localDifficulty) protected voidDrownedEntity.initEquipment(Random random, LocalDifficulty localDifficulty) protected voidMobEntity.initEquipment(Random random, LocalDifficulty localDifficulty) protected voidPiglinBruteEntity.initEquipment(Random random, LocalDifficulty localDifficulty) protected voidPiglinEntity.initEquipment(Random random, LocalDifficulty localDifficulty) protected voidPillagerEntity.initEquipment(Random random, LocalDifficulty localDifficulty) protected voidVexEntity.initEquipment(Random random, LocalDifficulty localDifficulty) protected voidVindicatorEntity.initEquipment(Random random, LocalDifficulty localDifficulty) protected voidWitherSkeletonEntity.initEquipment(Random random, LocalDifficulty localDifficulty) protected voidZombieEntity.initEquipment(Random random, LocalDifficulty localDifficulty) protected voidZombifiedPiglinEntity.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 voidMobEntity.updateEnchantments(ServerWorldAccess world, Random random, LocalDifficulty localDifficulty) protected voidWitherSkeletonEntity.updateEnchantments(ServerWorldAccess world, Random random, LocalDifficulty localDifficulty) -
Uses of LocalDifficulty in net.minecraft.entity.passive
Methods in net.minecraft.entity.passive with parameters of type LocalDifficultyModifier and TypeMethodDescriptionprotected voidFoxEntity.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 EntityDataStriderEntity.initializeRider(ServerWorldAccess world, LocalDifficulty difficulty, MobEntity rider, @Nullable EntityData entityData) -
Uses of LocalDifficulty in net.minecraft.entity.raid
Methods in net.minecraft.entity.raid with parameters of type LocalDifficultyModifier and TypeMethodDescriptionRaiderEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) -
Uses of LocalDifficulty in net.minecraft.village.raid
Methods in net.minecraft.village.raid with parameters of type LocalDifficultyModifier and TypeMethodDescriptionprivate intRaid.getBonusCount(Raid.Member member, Random random, int wave, LocalDifficulty localDifficulty, boolean extra) -
Uses of LocalDifficulty in net.minecraft.world
Methods in net.minecraft.world that return LocalDifficultyModifier and TypeMethodDescriptionChunkRegion.getLocalDifficulty(BlockPos pos) World.getLocalDifficulty(BlockPos pos) WorldAccess.getLocalDifficulty(BlockPos pos)