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) @Nullable EntityDataAbstractSkeletonEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) @Nullable EntityDataCaveSpiderEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) DrownedEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) @Nullable EntityDataHoglinEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) @Nullable EntityDataHuskEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) IllusionerEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) @Nullable EntityDataMobEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) @Nullable EntityDataPatrolEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) PhantomEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) @Nullable EntityDataPiglinBruteEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) @Nullable EntityDataPiglinEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) @Nullable EntityDataPillagerEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) @Nullable EntityDataShulkerEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) @Nullable EntityDataSlimeEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) @Nullable EntityDataSpiderEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) @Nullable EntityDataVexEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) @Nullable EntityDataVindicatorEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) @Nullable EntityDataWardenEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) @Nullable EntityDataWitherSkeletonEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) @Nullable EntityDataZoglinEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) @Nullable EntityDataZombieEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) @Nullable EntityDataZombieHorseEntity.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) @Nullable EntityDataAbstractHorseEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) AbstractNautilusEntity.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) @Nullable EntityDataCatEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) ChickenEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) @Nullable EntityDataCopperGolemEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) CowEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) @Nullable EntityDataDolphinEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) @Nullable EntityDataFoxEntity.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) @Nullable EntityDataHorseEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) @Nullable EntityDataLlamaEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) @Nullable EntityDataMerchantEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) @Nullable EntityDataOcelotEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) @Nullable EntityDataPandaEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) @Nullable EntityDataParrotEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) @Nullable EntityDataPassiveEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) PigEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) PolarBearEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) @Nullable EntityDataRabbitEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) @Nullable EntityDataSalmonEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) @Nullable EntityDataSchoolingFishEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) @Nullable EntityDataSheepEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) @Nullable EntityDataSquidEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) @Nullable EntityDataStriderEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) @Nullable EntityDataTraderLlamaEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) @Nullable EntityDataTropicalFishEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) @Nullable EntityDataTurtleEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) @Nullable EntityDataVillagerEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) @Nullable EntityDataWolfEntity.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 TypeMethodDescription@Nullable EntityDataRaiderEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) -
Uses of LocalDifficulty in net.minecraft.server.world
Methods in net.minecraft.server.world that return LocalDifficulty -
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) ServerWorldAccess.getLocalDifficulty(BlockPos pos)