Uses of Class
net.minecraft.entity.LivingEntity
Packages that use LivingEntity
Package
Description
This and its subpackages make up the brain system used by some modern Minecraft entities,
such as villagers, piglins, and axolotls.
The basic AI system for Minecraft living entities.
-
Uses of LivingEntity in net.minecraft.block
Methods in net.minecraft.block with parameters of type LivingEntityModifier and TypeMethodDescriptionvoidAbstractBannerBlock.onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) voidAbstractFurnaceBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) voidAbstractRedstoneGateBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) voidBarrelBlock.onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) voidBeaconBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) voidBedBlock.onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) voidBlock.onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) voidBrewingStandBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) voidChestBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) voidCommandBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) voidConduitBlock.onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) voidDispenserBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) voidDoorBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) voidEnchantingTableBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) voidHopperBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) voidJukeboxBlock.onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) voidPistonBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) voidPlayerSkullBlock.onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) voidShulkerBoxBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) voidSmallDripleafBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) voidStructureBlock.onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) voidTallPlantBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) voidTripwireHookBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) voidWallPlayerSkullBlock.onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) voidWallWitherSkullBlock.onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) voidWitherSkullBlock.onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) private static voidTntBlock.primeTnt(World world, BlockPos pos, @Nullable LivingEntity igniter) -
Uses of LivingEntity in net.minecraft.block.entity
Fields in net.minecraft.block.entity declared as LivingEntityFields in net.minecraft.block.entity with type parameters of type LivingEntityMethods in net.minecraft.block.entity that return LivingEntityModifier and TypeMethodDescriptionprivate static @Nullable LivingEntityConduitBlockEntity.findTargetEntity(World world, BlockPos pos, UUID uuid) Methods in net.minecraft.block.entity with parameters of type LivingEntityModifier and TypeMethodDescriptionprivate static voidBellBlockEntity.applyGlowToEntity(LivingEntity entity) Gives theStatusEffects.GLOWINGstatus effect to the given entity for 3 seconds (60 ticks).private static booleanBellBlockEntity.isRaiderEntity(BlockPos pos, LivingEntity entity) Determines whether the given entity is in theEntityTypeTags.RAIDERSentity type tag and within 48 blocks of the given position.voidStructureBlockBlockEntity.setAuthor(LivingEntity entity) Method parameters in net.minecraft.block.entity with type arguments of type LivingEntityModifier and TypeMethodDescriptionprivate static voidBellBlockEntity.applyGlowToRaiders(World world, BlockPos pos, List<LivingEntity> hearingEntities) private static voidBellBlockEntity.applyParticlesToRaiders(World world, BlockPos pos, List<LivingEntity> hearingEntities) SpawnsParticleTypes.ENTITY_EFFECTparticles around raiders within 48 blocks.private static booleanBellBlockEntity.raidersHearBell(BlockPos pos, List<LivingEntity> hearingEntities) Determines whether at least one of the given entities would be affected by the bell.voidBellBlockEntity.Effect.run(World world, BlockPos pos, List<LivingEntity> hearingEntities) -
Uses of LivingEntity in net.minecraft.client.gui.hud
Methods in net.minecraft.client.gui.hud that return LivingEntityMethods in net.minecraft.client.gui.hud with parameters of type LivingEntity -
Uses of LivingEntity in net.minecraft.client.gui.screen.ingame
Methods in net.minecraft.client.gui.screen.ingame with parameters of type LivingEntityModifier and TypeMethodDescriptionstatic voidInventoryScreen.drawEntity(int x, int y, int size, float mouseX, float mouseY, LivingEntity entity) -
Uses of LivingEntity in net.minecraft.client.item
Methods in net.minecraft.client.item with parameters of type LivingEntityModifier and TypeMethodDescriptionfloatModelPredicateProvider.call(ItemStack stack, @Nullable ClientWorld world, @Nullable LivingEntity entity, int seed) Deprecated.default floatUnclampedModelPredicateProvider.call(ItemStack stack, @Nullable ClientWorld world, @Nullable LivingEntity entity, int seed) Deprecated.floatCompassAnglePredicateProvider.unclampedCall(ItemStack stack, @Nullable ClientWorld world, @Nullable LivingEntity entity, int seed) floatUnclampedModelPredicateProvider.unclampedCall(ItemStack stack, @Nullable ClientWorld world, @Nullable LivingEntity entity, int seed) -
Uses of LivingEntity in net.minecraft.client.network
Subclasses of LivingEntity in net.minecraft.client.networkModifier and TypeClassDescriptionclassclassRepresents the client's own player entity.classRepresents a player entity that is present on the client but is not the client's own player. -
Uses of LivingEntity in net.minecraft.client.render
Methods in net.minecraft.client.render with parameters of type LivingEntityModifier and TypeMethodDescriptionfloatBackgroundRenderer.DarknessFogModifier.applyColorModifier(LivingEntity entity, StatusEffectInstance effect, float float2, float tickDelta) default floatBackgroundRenderer.StatusEffectFogModifier.applyColorModifier(LivingEntity entity, StatusEffectInstance effect, float float2, float tickDelta) voidBackgroundRenderer.BlindnessFogModifier.applyStartEndModifier(BackgroundRenderer.FogData fogData, LivingEntity entity, StatusEffectInstance effect, float viewDistance, float tickDelta) voidBackgroundRenderer.DarknessFogModifier.applyStartEndModifier(BackgroundRenderer.FogData fogData, LivingEntity entity, StatusEffectInstance effect, float viewDistance, float tickDelta) voidBackgroundRenderer.StatusEffectFogModifier.applyStartEndModifier(BackgroundRenderer.FogData fogData, LivingEntity entity, StatusEffectInstance effect, float viewDistance, float tickDelta) private floatLightmapTextureManager.getDarkness(LivingEntity entity, float factor, float delta) static floatGameRenderer.getNightVisionStrength(LivingEntity entity, float tickDelta) default booleanBackgroundRenderer.StatusEffectFogModifier.shouldApply(LivingEntity entity, float tickDelta) -
Uses of LivingEntity in net.minecraft.client.render.entity
Classes in net.minecraft.client.render.entity with type parameters of type LivingEntityModifier and TypeClassDescriptionclassLivingEntityRenderer<T extends LivingEntity,M extends EntityModel<T>> Methods in net.minecraft.client.render.entity with parameters of type LivingEntityModifier and TypeMethodDescriptionprivate Vec3dGuardianEntityRenderer.fromLerpedPosition(LivingEntity entity, double yOffset, float delta) static intLivingEntityRenderer.getOverlay(LivingEntity entity, float whiteOverlayProgress) Returns the packed overlay color for an entity.static booleanLivingEntityRenderer.shouldFlipUpsideDown(LivingEntity entity) -
Uses of LivingEntity in net.minecraft.client.render.entity.feature
Classes in net.minecraft.client.render.entity.feature with type parameters of type LivingEntityModifier and TypeClassDescriptionclassArmorFeatureRenderer<T extends LivingEntity,M extends BipedEntityModel<T>, A extends BipedEntityModel<T>> classElytraFeatureRenderer<T extends LivingEntity,M extends EntityModel<T>> classEndermanEyesFeatureRenderer<T extends LivingEntity>classHeadFeatureRenderer<T extends LivingEntity,M extends EntityModel<T> & ModelWithHead> classHeldItemFeatureRenderer<T extends LivingEntity,M extends EntityModel<T> & ModelWithArms> classSlimeOverlayFeatureRenderer<T extends LivingEntity>classStuckArrowsFeatureRenderer<T extends LivingEntity,M extends PlayerEntityModel<T>> classStuckObjectsFeatureRenderer<T extends LivingEntity,M extends PlayerEntityModel<T>> classStuckStingersFeatureRenderer<T extends LivingEntity,M extends PlayerEntityModel<T>> classTridentRiptideFeatureRenderer<T extends LivingEntity>classVillagerClothingFeatureRenderer<T extends LivingEntity & VillagerDataContainer,M extends EntityModel<T> & ModelWithHat> classVillagerHeldItemFeatureRenderer<T extends LivingEntity,M extends EntityModel<T>> classWitchHeldItemFeatureRenderer<T extends LivingEntity>Methods in net.minecraft.client.render.entity.feature with type parameters of type LivingEntityModifier and TypeMethodDescriptionprotected static <T extends LivingEntity>
voidFeatureRenderer.render(EntityModel<T> contextModel, EntityModel<T> model, Identifier texture, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, T entity, float limbAngle, float limbDistance, float age, float headYaw, float headPitch, float tickDelta, float red, float green, float blue) protected static <T extends LivingEntity>
voidFeatureRenderer.renderModel(EntityModel<T> model, Identifier texture, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, T entity, float red, float green, float blue) Methods in net.minecraft.client.render.entity.feature with parameters of type LivingEntityModifier and TypeMethodDescriptionprotected voidHeldItemFeatureRenderer.renderItem(LivingEntity entity, ItemStack stack, ModelTransformation.Mode transformationMode, Arm arm, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light) protected voidPlayerHeldItemFeatureRenderer.renderItem(LivingEntity entity, ItemStack stack, ModelTransformation.Mode transformationMode, Arm arm, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light) private voidPlayerHeldItemFeatureRenderer.renderSpyglass(LivingEntity entity, ItemStack stack, Arm arm, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light) -
Uses of LivingEntity in net.minecraft.client.render.entity.model
Classes in net.minecraft.client.render.entity.model with type parameters of type LivingEntityModifier and TypeClassDescriptionclassBipedEntityModel<T extends LivingEntity>Represents the model of a biped living entity.classElytraEntityModel<T extends LivingEntity>Represents the model of a worn elytra.classEndermanEntityModel<T extends LivingEntity>Represents the model of an enderman-like living entity.classPlayerEntityModel<T extends LivingEntity>Represents the model of a player-like entity.Methods in net.minecraft.client.render.entity.model with parameters of type LivingEntityModifier and TypeMethodDescriptionstatic voidCrossbowPosing.charge(ModelPart holdingArm, ModelPart pullingArm, LivingEntity actor, boolean rightArmed) -
Uses of LivingEntity in net.minecraft.client.render.item
Methods in net.minecraft.client.render.item with parameters of type LivingEntityModifier and TypeMethodDescriptionItemRenderer.getModel(ItemStack stack, @Nullable World world, @Nullable LivingEntity entity, int seed) private voidItemRenderer.innerRenderInGui(@Nullable LivingEntity entity, ItemStack stack, int x, int y, int seed) private voidItemRenderer.innerRenderInGui(@Nullable LivingEntity entity, ItemStack itemStack, int x, int y, int seed, int depth) voidItemRenderer.renderInGuiWithOverrides(LivingEntity entity, ItemStack stack, int x, int y, int seed) Renders an item in a GUI with an attached entity.voidHeldItemRenderer.renderItem(LivingEntity entity, ItemStack stack, ModelTransformation.Mode renderMode, boolean leftHanded, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light) voidItemRenderer.renderItem(@Nullable LivingEntity entity, ItemStack item, ModelTransformation.Mode renderMode, boolean leftHanded, MatrixStack matrices, VertexConsumerProvider vertexConsumers, @Nullable World world, int light, int overlay, int seed) -
Uses of LivingEntity in net.minecraft.client.render.model.json
Methods in net.minecraft.client.render.model.json with parameters of type LivingEntityModifier and TypeMethodDescriptionModelOverrideList.apply(BakedModel model, ItemStack stack, @Nullable ClientWorld world, @Nullable LivingEntity entity, int seed) -
Uses of LivingEntity in net.minecraft.enchantment
Methods in net.minecraft.enchantment with parameters of type LivingEntityModifier and TypeMethodDescriptionstatic Map.Entry<EquipmentSlot,ItemStack> EnchantmentHelper.chooseEquipmentWith(Enchantment enchantment, LivingEntity entity) Returns a pair of an equipment slot and the item stack in the supplied entity's slot.static Map.Entry<EquipmentSlot,ItemStack> EnchantmentHelper.chooseEquipmentWith(Enchantment enchantment, LivingEntity entity, Predicate<ItemStack> condition) Returns a pair of an equipment slot and the item stack in the supplied entity's slot.static voidFrostWalkerEnchantment.freezeWater(LivingEntity entity, World world, BlockPos blockPos, int level) static intEnchantmentHelper.getDepthStrider(LivingEntity entity) static intEnchantmentHelper.getEfficiency(LivingEntity entity) Enchantment.getEquipment(LivingEntity entity) static intEnchantmentHelper.getEquipmentLevel(Enchantment enchantment, LivingEntity entity) Returns the highest level of the passed enchantment in the enchantment's applicable equipment slots' item stacks.static intEnchantmentHelper.getFireAspect(LivingEntity entity) static intEnchantmentHelper.getKnockback(LivingEntity entity) static intEnchantmentHelper.getLooting(LivingEntity entity) static intEnchantmentHelper.getRespiration(LivingEntity entity) static floatEnchantmentHelper.getSweepingMultiplier(LivingEntity entity) static floatEnchantmentHelper.getSwiftSneakSpeedBoost(LivingEntity livingEntity) static booleanEnchantmentHelper.hasAquaAffinity(LivingEntity entity) static booleanEnchantmentHelper.hasFrostWalker(LivingEntity entity) static booleanEnchantmentHelper.hasSoulSpeed(LivingEntity entity) voidDamageEnchantment.onTargetDamaged(LivingEntity user, Entity target, int level) voidEnchantment.onTargetDamaged(LivingEntity user, Entity target, int level) static voidEnchantmentHelper.onTargetDamaged(LivingEntity user, Entity target) voidEnchantment.onUserDamaged(LivingEntity user, Entity attacker, int level) static voidEnchantmentHelper.onUserDamaged(LivingEntity user, Entity attacker) voidThornsEnchantment.onUserDamaged(LivingEntity user, Entity attacker, int level) static doubleProtectionEnchantment.transformExplosionKnockback(LivingEntity entity, double velocity) static intProtectionEnchantment.transformFireDuration(LivingEntity entity, int duration) -
Uses of LivingEntity in net.minecraft.entity
Fields in net.minecraft.entity declared as LivingEntityModifier and TypeFieldDescriptionprivate @Nullable LivingEntityLivingEntity.attackerprivate LivingEntityLivingEntity.attackingprivate @Nullable LivingEntityTntEntity.causingEntityprivate @Nullable LivingEntityAreaEffectCloudEntity.ownerMethods in net.minecraft.entity with type parameters of type LivingEntityModifier and TypeMethodDescriptionstatic <T extends LivingEntity & Bucketable>
Optional<ActionResult>Bucketable.tryBucket(PlayerEntity player, Hand hand, T entity) Methods in net.minecraft.entity that return LivingEntityModifier and TypeMethodDescriptionLivingEntity.getAttacker()LivingEntity.getAttacking()TntEntity.getCausingEntity()AreaEffectCloudEntity.getOwner()LivingEntity.getPrimeAdversary()CrossbowUser.getTarget()Methods in net.minecraft.entity with parameters of type LivingEntityModifier and TypeMethodDescriptionvoidEntity.applyDamageEffects(LivingEntity attacker, Entity target) Applies damage effects toattackerortarget.private voidLivingEntity.applyFoodEffects(ItemStack stack, World world, LivingEntity targetEntity) protected voidLivingEntity.attackLivingEntity(LivingEntity target) static booleanDismounting.canPlaceEntityAt(CollisionView world, LivingEntity entity, Box targetBox) static booleanDismounting.canPlaceEntityAt(CollisionView world, Vec3d offset, LivingEntity entity, EntityPose pose) booleanLivingEntity.canTarget(LivingEntity target) default Vec3fCrossbowUser.getProjectileLaunchVelocity(LivingEntity entity, Vec3d positionDelta, float multishotSpray) private static StackReferenceLivingEntity.getStackReference(LivingEntity entity, EquipmentSlot slot) booleanLivingEntity.isTarget(LivingEntity entity, TargetPredicate predicate) protected voidLivingEntity.knockback(LivingEntity target) protected voidLivingEntity.onKilledBy(@Nullable LivingEntity adversary) Performs secondary effects after this mob has been killed.booleanEntity.onKilledOther(ServerWorld world, LivingEntity other) voidLivingEntity.setAttacker(@Nullable LivingEntity attacker) voidAreaEffectCloudEntity.setOwner(@Nullable LivingEntity owner) default voidCrossbowUser.shoot(LivingEntity entity, float speed) default voidCrossbowUser.shoot(LivingEntity entity, LivingEntity target, ProjectileEntity projectile, float multishotSpray, float speed) voidCrossbowUser.shoot(LivingEntity target, ItemStack crossbow, ProjectileEntity projectile, float multiShotSpray) protected voidLivingEntity.takeShieldHit(LivingEntity attacker) voidLivingEntity.updateLimbs(LivingEntity entity, boolean flutter) Entity.updatePassengerForDismount(LivingEntity passenger) Constructors in net.minecraft.entity with parameters of type LivingEntityModifierConstructorDescriptionTntEntity(World world, double x, double y, double z, @Nullable LivingEntity igniter) Constructor parameters in net.minecraft.entity with type arguments of type LivingEntityModifierConstructorDescriptionprotectedLivingEntity(EntityType<? extends LivingEntity> type, World world) -
Uses of LivingEntity in net.minecraft.entity.ai
Fields in net.minecraft.entity.ai with type parameters of type LivingEntityModifier and TypeFieldDescriptionprivate @Nullable Predicate<LivingEntity>TargetPredicate.predicateMethods in net.minecraft.entity.ai that return types with arguments of type LivingEntityMethods in net.minecraft.entity.ai with parameters of type LivingEntityModifier and TypeMethodDescriptionvoidRangedAttackMob.attack(LivingEntity target, float pullProgress) booleanTargetPredicate.test(@Nullable LivingEntity baseEntity, LivingEntity targetEntity) Method parameters in net.minecraft.entity.ai with type arguments of type LivingEntityModifier and TypeMethodDescriptionTargetPredicate.setPredicate(@Nullable Predicate<LivingEntity> predicate) -
Uses of LivingEntity in net.minecraft.entity.ai.brain
Classes in net.minecraft.entity.ai.brain with type parameters of type LivingEntityModifier and TypeClassDescriptionclassBrain<E extends LivingEntity>A brain is associated with each living entity.static final classBrain.Profile<E extends LivingEntity>A simple profile of a brain.Fields in net.minecraft.entity.ai.brain with type parameters of type LivingEntityModifier and TypeFieldDescriptionstatic final MemoryModuleType<LivingEntity>MemoryModuleType.ATTACK_TARGETstatic final MemoryModuleType<LivingEntity>MemoryModuleType.AVOID_TARGETprivate final List<LivingEntity>LivingTargetCache.entitiesstatic final MemoryModuleType<LivingEntity>MemoryModuleType.HURT_BY_ENTITYstatic final MemoryModuleType<LivingEntity>MemoryModuleType.INTERACTION_TARGETstatic final MemoryModuleType<List<LivingEntity>>MemoryModuleType.MOBSstatic final MemoryModuleType<LivingEntity>MemoryModuleType.NEAREST_ATTACKABLEstatic final MemoryModuleType<LivingEntity>MemoryModuleType.NEAREST_HOSTILEstatic final MemoryModuleType<LivingEntity>MemoryModuleType.NEAREST_VISIBLE_ZOMBIFIEDstatic final MemoryModuleType<LivingEntity>MemoryModuleType.ROAR_TARGETprivate final Predicate<LivingEntity>LivingTargetCache.targetPredicatestatic final MemoryModuleType<List<LivingEntity>>MemoryModuleType.VISIBLE_VILLAGER_BABIESMethods in net.minecraft.entity.ai.brain with type parameters of type LivingEntityModifier and TypeMethodDescriptionstatic <E extends LivingEntity>
com.mojang.serialization.Codec<Brain<E>>Brain.createBrainCodec(Collection<? extends MemoryModuleType<?>> memoryModules, Collection<? extends SensorType<? extends Sensor<? super E>>> sensors) static <E extends LivingEntity>
Brain.Profile<E>Brain.createProfile(Collection<? extends MemoryModuleType<?>> memoryModules, Collection<? extends SensorType<? extends Sensor<? super E>>> sensors) Methods in net.minecraft.entity.ai.brain that return types with arguments of type LivingEntityModifier and TypeMethodDescriptionLivingTargetCache.findFirst(Predicate<LivingEntity> predicate) LivingTargetCache.iterate(Predicate<LivingEntity> predicate) LivingTargetCache.stream(Predicate<LivingEntity> predicate) Methods in net.minecraft.entity.ai.brain with parameters of type LivingEntityModifier and TypeMethodDescriptionbooleanLivingTargetCache.contains(LivingEntity entity) booleanBlockPosLookTarget.isSeenBy(LivingEntity entity) booleanEntityLookTarget.isSeenBy(LivingEntity entity) booleanLookTarget.isSeenBy(LivingEntity entity) Method parameters in net.minecraft.entity.ai.brain with type arguments of type LivingEntityModifier and TypeMethodDescriptionbooleanLivingTargetCache.anyMatch(Predicate<LivingEntity> predicate) LivingTargetCache.findFirst(Predicate<LivingEntity> predicate) LivingTargetCache.iterate(Predicate<LivingEntity> predicate) LivingTargetCache.stream(Predicate<LivingEntity> predicate) Constructors in net.minecraft.entity.ai.brain with parameters of type LivingEntityConstructor parameters in net.minecraft.entity.ai.brain with type arguments of type LivingEntity -
Uses of LivingEntity in net.minecraft.entity.ai.brain.sensor
Classes in net.minecraft.entity.ai.brain.sensor with type parameters of type LivingEntityModifier and TypeClassDescriptionclassNearestLivingEntitiesSensor<T extends LivingEntity>classSensor<E extends LivingEntity>A sensor can update memories over time in a brain.Fields in net.minecraft.entity.ai.brain.sensor with type parameters of type LivingEntityModifier and TypeFieldDescriptionstatic final SensorType<NearestLivingEntitiesSensor<LivingEntity>>SensorType.NEAREST_LIVING_ENTITIESMethods in net.minecraft.entity.ai.brain.sensor that return types with arguments of type LivingEntityModifier and TypeMethodDescriptionprivate static Optional<LivingEntity>WardenAttackablesSensor.findNearestTarget(WardenEntity warden, Predicate<LivingEntity> targetPredicate) private Optional<LivingEntity>NearestVisibleLivingEntitySensor.getNearestVisibleLivingEntity(LivingEntity entity) protected MemoryModuleType<LivingEntity>AxolotlAttackablesSensor.getOutputMemoryModule()protected MemoryModuleType<LivingEntity>FrogAttackablesSensor.getOutputMemoryModule()protected abstract MemoryModuleType<LivingEntity>NearestVisibleLivingEntitySensor.getOutputMemoryModule()protected MemoryModuleType<LivingEntity>VillagerHostilesSensor.getOutputMemoryModule()private List<LivingEntity>VillagerBabiesSensor.getVisibleVillagerBabies(LivingEntity entities) Methods in net.minecraft.entity.ai.brain.sensor with parameters of type LivingEntityModifier and TypeMethodDescriptionprivate booleanAxolotlAttackablesSensor.canHunt(LivingEntity axolotl, LivingEntity target) PiglinSpecificSensor.findPiglinRepellent(ServerWorld world, LivingEntity entity) private Optional<LivingEntity>NearestVisibleLivingEntitySensor.getNearestVisibleLivingEntity(LivingEntity entity) protected Optional<LivingTargetCache>NearestVisibleLivingEntitySensor.getVisibleLivingEntities(LivingEntity entity) private LivingTargetCacheVillagerBabiesSensor.getVisibleMobs(LivingEntity entity) private List<LivingEntity>VillagerBabiesSensor.getVisibleVillagerBabies(LivingEntity entities) private booleanAxolotlAttackablesSensor.isAlwaysHostileTo(LivingEntity axolotl) private booleanVillagerHostilesSensor.isCloseEnoughForDanger(LivingEntity villager, LivingEntity target) private booleanVillagerHostilesSensor.isHostile(LivingEntity entity) private booleanAxolotlAttackablesSensor.isInRange(LivingEntity axolotl, LivingEntity target) private booleanFrogAttackablesSensor.isTargetUnreachable(LivingEntity entity, LivingEntity target) private booleanVillagerBabiesSensor.isVillagerBaby(LivingEntity entity) protected booleanAxolotlAttackablesSensor.matches(LivingEntity entity, LivingEntity target) protected booleanFrogAttackablesSensor.matches(LivingEntity entity, LivingEntity target) protected abstract booleanNearestVisibleLivingEntitySensor.matches(LivingEntity entity, LivingEntity target) protected booleanVillagerHostilesSensor.matches(LivingEntity entity, LivingEntity target) static voidGolemLastSeenSensor.rememberIronGolem(LivingEntity entity) protected voidDummySensor.sense(ServerWorld world, LivingEntity entity) protected voidGolemLastSeenSensor.sense(ServerWorld world, LivingEntity entity) protected voidHurtBySensor.sense(ServerWorld world, LivingEntity entity) protected voidIsInWaterSensor.sense(ServerWorld world, LivingEntity entity) protected voidNearestPlayersSensor.sense(ServerWorld world, LivingEntity entity) protected voidNearestVisibleLivingEntitySensor.sense(ServerWorld world, LivingEntity entity) protected voidPiglinBruteSpecificSensor.sense(ServerWorld world, LivingEntity entity) protected voidPiglinSpecificSensor.sense(ServerWorld world, LivingEntity entity) protected voidVillagerBabiesSensor.sense(ServerWorld world, LivingEntity entity) static voidGolemLastSeenSensor.senseIronGolem(LivingEntity entity) static booleanSensor.testAttackableTargetPredicate(LivingEntity entity, LivingEntity target) static booleanSensor.testAttackableTargetPredicateIgnoreVisibility(LivingEntity entity, LivingEntity target) static booleanSensor.testTargetPredicate(LivingEntity entity, LivingEntity target) Method parameters in net.minecraft.entity.ai.brain.sensor with type arguments of type LivingEntityModifier and TypeMethodDescriptionprivate static Optional<LivingEntity>WardenAttackablesSensor.findNearestTarget(WardenEntity warden, Predicate<LivingEntity> targetPredicate) -
Uses of LivingEntity in net.minecraft.entity.ai.brain.task
Classes in net.minecraft.entity.ai.brain.task with type parameters of type LivingEntityModifier and TypeClassDescriptionclassCompositeTask<E extends LivingEntity>classConditionalTask<E extends LivingEntity>classCrossbowAttackTask<E extends MobEntity & CrossbowUser,T extends LivingEntity> classFindEntityTask<E extends LivingEntity,T extends LivingEntity> classFindEntityTask<E extends LivingEntity,T extends LivingEntity> classForgetTask<E extends LivingEntity>classGiveInventoryToLookTargetTask<E extends LivingEntity & InventoryOwner>classRandomTask<E extends LivingEntity>classRidingTask<E extends LivingEntity,T extends Entity> classStartRidingTask<E extends LivingEntity>classTask<E extends LivingEntity>classTimeLimitedTask<E extends LivingEntity>classWalkToNearestVisibleWantedItemTask<E extends LivingEntity>classWalkTowardsLookTargetTask<E extends LivingEntity>Fields in net.minecraft.entity.ai.brain.task declared as LivingEntityFields in net.minecraft.entity.ai.brain.task with type parameters of type LivingEntityModifier and TypeFieldDescriptionprivate final Predicate<LivingEntity>ForgetAttackTargetTask.alternativeConditionprivate final BiConsumer<E,LivingEntity> ForgetAttackTargetTask.forgetCallbackprivate final Function<LivingEntity,Optional<LookTarget>> GiveInventoryToLookTargetTask.lookTargetFunctionprivate final Function<LivingEntity,Optional<LookTarget>> WalkTowardsLookTargetTask.lookTargetFunctionprivate final BiPredicate<LivingEntity,LivingEntity> DefeatTargetTask.predicateprivate final BiPredicate<LivingEntity,LivingEntity> DefeatTargetTask.predicateprivate final Predicate<LivingEntity>FindInteractionTargetTask.predicateprivate final Predicate<LivingEntity>FollowMobTask.predicateprivate final Predicate<LivingEntity>GoTowardsLookTarget.predicateprivate final Predicate<LivingEntity>FindInteractionTargetTask.shouldRunPredicateprivate final Function<LivingEntity,Float> GoTowardsLookTarget.speedprivate final Function<LivingEntity,Float> RangedApproachTask.speedprivate final Function<LivingEntity,Float> TemptTask.speedprivate final Function<LivingEntity,Float> WalkTowardClosestAdultTask.speedprivate Optional<LivingEntity>FollowMobTask.targetprivate final Function<E,Optional<? extends LivingEntity>> FindRoarTargetTask.targetFinderprivate final Function<E,Optional<? extends LivingEntity>> UpdateAttackTargetTask.targetGetterMethods in net.minecraft.entity.ai.brain.task with type parameters of type LivingEntityModifier and TypeMethodDescriptionprivate static <E extends LivingEntity>
booleanForgetAttackTargetTask.cannotReachTarget(E entity) static <T extends LivingEntity>
FindEntityTask<LivingEntity,T> FindEntityTask.create(EntityType<? extends T> entityType, int maxDistance, Predicate<T> condition, MemoryModuleType<T> moduleType, float speed, int completionRange) static <T extends LivingEntity>
FindEntityTask<LivingEntity,T> FindEntityTask.create(EntityType<? extends T> entityType, int maxDistance, MemoryModuleType<T> targetModule, float speed, int completionRange) abstract <E extends LivingEntity>
voidCompositeTask.RunMode.run(Stream<Task<? super E>> tasks, ServerWorld world, E entity, long time) Methods in net.minecraft.entity.ai.brain.task that return LivingEntityModifier and TypeMethodDescriptionprivate LivingEntityHoldTradeOffersTask.findPotentialCustomer(VillagerEntity villager) private @Nullable LivingEntityPlayWithVillagerBabiesTask.findVisibleVillagerBaby(LivingEntity entity) private LivingEntityAttackTask.getAttackTarget(E entity) private static LivingEntityCrossbowAttackTask.getAttackTarget(LivingEntity entity) private LivingEntityDefeatTargetTask.getAttackTarget(LivingEntity entity) private LivingEntityForgetAttackTargetTask.getAttackTarget(E entity) private LivingEntityMeleeAttackTask.getAttackTarget(MobEntity entity) static LivingEntityLookTargetUtil.getCloserEntity(LivingEntity source, Optional<LivingEntity> first, LivingEntity second) static LivingEntityLookTargetUtil.getCloserEntity(LivingEntity source, LivingEntity first, LivingEntity second) PrepareRamTask.Ram.getEntity()private LivingEntityPlayWithVillagerBabiesTask.getInteractionTarget(LivingEntity entity) Methods in net.minecraft.entity.ai.brain.task that return types with arguments of type LivingEntityModifier and TypeMethodDescriptionstatic <T extends LivingEntity>
FindEntityTask<LivingEntity,T> FindEntityTask.create(EntityType<? extends T> entityType, int maxDistance, Predicate<T> condition, MemoryModuleType<T> moduleType, float speed, int completionRange) static <T extends LivingEntity>
FindEntityTask<LivingEntity,T> FindEntityTask.create(EntityType<? extends T> entityType, int maxDistance, MemoryModuleType<T> targetModule, float speed, int completionRange) private static com.mojang.datafixers.util.Pair<Integer,Task<LivingEntity>> VillagerTaskListProvider.createBusyFollowTask()private static com.mojang.datafixers.util.Pair<Integer,Task<LivingEntity>> VillagerTaskListProvider.createFreeFollowTask()private Map<LivingEntity,Integer> PlayWithVillagerBabiesTask.getBabyInteractionTargetCounts(PathAwareEntity entity) static Optional<LivingEntity>LookTargetUtil.getEntity(LivingEntity entity, MemoryModuleType<UUID> uuidMemoryModule) private Optional<LivingEntity>PlayWithVillagerBabiesTask.getLeastPopularBabyInteractionTarget(PathAwareEntity entity) private Optional<LivingEntity>PlayWithVillagerBabiesTask.getVisibleMob(PathAwareEntity entity) private List<LivingEntity>PlayWithVillagerBabiesTask.getVisibleVillagerBabies(PathAwareEntity entity) Methods in net.minecraft.entity.ai.brain.task with parameters of type LivingEntityModifier and TypeMethodDescriptionprivate static booleanOpenDoorsTask.cannotReachDoor(ServerWorld world, LivingEntity entity, GlobalPos doorPos) static booleanLookTargetUtil.canSee(Brain<?> brain, LivingEntity target) static voidSonicBoomTask.cooldown(LivingEntity warden, int cooldown) SeekSkyTask.findNearbySky(ServerWorld world, LivingEntity entity) private voidPrepareRamTask.findRam(PathAwareEntity entity, LivingEntity target) PrepareRamTask.findRamStart(PathAwareEntity entity, LivingEntity target) private @Nullable LivingEntityPlayWithVillagerBabiesTask.findVisibleVillagerBaby(LivingEntity entity) protected voidSleepTask.finishRunning(ServerWorld world, LivingEntity entity, long time) protected voidTemptationCooldownTask.finishRunning(ServerWorld world, LivingEntity entity, long time) private voidRangedApproachTask.forgetWalkTarget(LivingEntity entity) private static LivingEntityCrossbowAttackTask.getAttackTarget(LivingEntity entity) private LivingEntityDefeatTargetTask.getAttackTarget(LivingEntity entity) static LivingEntityLookTargetUtil.getCloserEntity(LivingEntity source, Optional<LivingEntity> first, LivingEntity second) static LivingEntityLookTargetUtil.getCloserEntity(LivingEntity source, LivingEntity first, LivingEntity second) static Optional<LivingEntity>LookTargetUtil.getEntity(LivingEntity entity, MemoryModuleType<UUID> uuidMemoryModule) private LivingEntityPlayWithVillagerBabiesTask.getInteractionTarget(LivingEntity entity) TemptationCooldownTask.getTemptationCooldownTicks(LivingEntity entity) private LivingTargetCacheFindInteractionTargetTask.getVisibleMobs(LivingEntity entity) static voidLookTargetUtil.give(LivingEntity entity, ItemStack stack, Vec3d targetLocation) static voidLookTargetUtil.give(LivingEntity entity, ItemStack stack, Vec3d targetLocation, Vec3d velocityFactor, float yOffset) private voidGiveGiftsToHeroTask.giveGifts(VillagerEntity villager, LivingEntity recipient) private static voidGatherItemsVillagerTask.giveHalfOfStack(VillagerEntity villager, Set<Item> validItems, LivingEntity target) static booleanLookTargetUtil.hasBreedTarget(LivingEntity entity) private booleanPlayWithVillagerBabiesTask.hasInteractionTarget(LivingEntity entity) private static booleanOpenDoorsTask.hasOtherMobReachedDoor(ServerWorld world, LivingEntity entity, BlockPos pos) private static booleanOpenDoorsTask.hasReached(ServerWorld world, LivingEntity entity, BlockPos pos) private booleanForgetCompletedPointOfInterestTask.isBedOccupiedByOthers(ServerWorld world, BlockPos pos, LivingEntity entity) static booleanPanicTask.isHostileNearby(LivingEntity entity) private booleanPlayWithVillagerBabiesTask.isInteractionTargetOf(LivingEntity entity, LivingEntity other) static booleanLookTargetUtil.isNewTargetTooFar(LivingEntity source, LivingEntity target, double extraDistance) Checks if an entity can be a new attack target for the source entity.static booleanSeekSkyTask.isSkyVisible(ServerWorld world, LivingEntity entity, BlockPos pos) private booleanFrogEatEntityTask.isTargetReachable(FrogEntity entity, LivingEntity target) static booleanLookTargetUtil.isTargetWithinAttackRange(MobEntity mob, LivingEntity target, int rangedWeaponReachReduction) static booleanLookTargetUtil.isVisibleInMemory(LivingEntity source, LivingEntity target) protected voidTemptationCooldownTask.keepRunning(ServerWorld world, LivingEntity entity, long time) static voidLookTargetUtil.lookAt(LivingEntity entity, LivingEntity target) static voidLookTargetUtil.lookAtAndWalkTowardsEachOther(LivingEntity first, LivingEntity second, float speed) private static voidLookTargetUtil.lookAtEachOther(LivingEntity first, LivingEntity second) private voidFrogEatEntityTask.markTargetAsUnreachable(FrogEntity entity, LivingEntity target) static voidOpenDoorsTask.pathToDoor(ServerWorld world, LivingEntity entity, @Nullable PathNode lastNode, @Nullable PathNode currentNode) static voidGiveInventoryToLookTargetTask.playThrowSound(LivingEntity entity, ItemStack stack, Vec3d target) private voidOpenDoorsTask.rememberToCloseDoor(ServerWorld world, LivingEntity entity, BlockPos pos) private voidRangedApproachTask.rememberWalkTarget(LivingEntity entity, LivingEntity target) protected voidDefeatTargetTask.run(ServerWorld world, LivingEntity entity, long time) protected voidDismountVehicleTask.run(ServerWorld world, LivingEntity entity, long time) protected voidEndRaidTask.run(ServerWorld world, LivingEntity entity, long time) voidFindInteractionTargetTask.run(ServerWorld world, LivingEntity entity, long time) protected voidFollowMobTask.run(ServerWorld world, LivingEntity entity, long time) protected voidForgetBellRingTask.run(ServerWorld world, LivingEntity entity, long time) protected voidForgetCompletedPointOfInterestTask.run(ServerWorld world, LivingEntity entity, long time) protected voidGoTowardsLookTarget.run(ServerWorld world, LivingEntity entity, long time) protected voidHideInHomeTask.run(ServerWorld world, LivingEntity entity, long time) protected voidHideWhenBellRingsTask.run(ServerWorld world, LivingEntity entity, long time) protected voidMeetVillagerTask.run(ServerWorld world, LivingEntity entity, long time) protected voidOpenDoorsTask.run(ServerWorld world, LivingEntity entity, long time) protected voidPacifyTask.run(ServerWorld world, LivingEntity entity, long time) protected voidRingBellTask.run(ServerWorld world, LivingEntity entity, long time) protected voidScheduleActivityTask.run(ServerWorld world, LivingEntity entity, long time) protected voidSeekSkyTask.run(ServerWorld world, LivingEntity entity, long time) protected voidSleepTask.run(ServerWorld world, LivingEntity entity, long time) protected voidStartRaidTask.run(ServerWorld world, LivingEntity entity, long time) protected voidWakeUpTask.run(ServerWorld world, LivingEntity entity, long time) protected voidWalkHomeTask.run(ServerWorld world, LivingEntity entity, long time) private voidPlayWithVillagerBabiesTask.setGroundTarget(ServerWorld world, PathAwareEntity entity, LivingEntity unusedBaby) private voidCrossbowAttackTask.setLookTarget(MobEntity entity, LivingEntity target) private static voidPlayWithVillagerBabiesTask.setPlayTarget(PathAwareEntity entity, LivingEntity target) private voidHoldTradeOffersTask.setupOffers(LivingEntity customer, VillagerEntity villager) protected booleanSleepTask.shouldKeepRunning(ServerWorld world, LivingEntity entity, long time) protected booleanTemptationCooldownTask.shouldKeepRunning(ServerWorld world, LivingEntity entity, long time) protected booleanWaitTask.shouldKeepRunning(ServerWorld world, LivingEntity entity, long time) protected booleanDefeatTargetTask.shouldRun(ServerWorld world, LivingEntity entity) protected booleanDismountVehicleTask.shouldRun(ServerWorld world, LivingEntity entity) protected booleanEndRaidTask.shouldRun(ServerWorld world, LivingEntity entity) booleanFindInteractionTargetTask.shouldRun(ServerWorld world, LivingEntity entity) protected booleanFollowMobTask.shouldRun(ServerWorld world, LivingEntity entity) protected booleanForgetCompletedPointOfInterestTask.shouldRun(ServerWorld world, LivingEntity entity) protected booleanGoTowardsLookTarget.shouldRun(ServerWorld world, LivingEntity entity) protected booleanHideInHomeDuringRaidTask.shouldRun(ServerWorld world, LivingEntity entity) protected booleanHideInHomeTask.shouldRun(ServerWorld world, LivingEntity entity) protected booleanMeetVillagerTask.shouldRun(ServerWorld world, LivingEntity entity) protected booleanOpenDoorsTask.shouldRun(ServerWorld world, LivingEntity entity) protected booleanRingBellTask.shouldRun(ServerWorld world, LivingEntity entity) protected booleanSeekSkyAfterRaidWinTask.shouldRun(ServerWorld world, LivingEntity entity) protected booleanSeekSkyTask.shouldRun(ServerWorld world, LivingEntity entity) protected booleanSleepTask.shouldRun(ServerWorld world, LivingEntity entity) protected booleanStartRaidTask.shouldRun(ServerWorld world, LivingEntity entity) protected booleanWakeUpTask.shouldRun(ServerWorld world, LivingEntity entity) protected booleanWalkHomeTask.shouldRun(ServerWorld world, LivingEntity entity) private booleanFindEntityTask.shouldTarget(E self, LivingEntity target) private booleanFindInteractionTargetTask.test(LivingEntity entity) private booleanFindEntityTask.testPredicate(LivingEntity entity) private voidCrossbowAttackTask.tickState(E entity, LivingEntity target) static <E extends MobEntity>
voidUpdateAttackTargetTask.updateAttackTarget(E entity, LivingEntity target) static voidLookTargetUtil.walkTowards(LivingEntity entity, LookTarget target, float speed, int completionRange) static voidLookTargetUtil.walkTowards(LivingEntity entity, Entity target, float speed, int completionRange) static voidLookTargetUtil.walkTowards(LivingEntity entity, BlockPos target, float speed, int completionRange) private static voidLookTargetUtil.walkTowardsEachOther(LivingEntity first, LivingEntity second, float speed) static booleanPanicTask.wasHurt(LivingEntity entity) Method parameters in net.minecraft.entity.ai.brain.task with type arguments of type LivingEntityModifier and TypeMethodDescriptionprivate static booleanLookTargetUtil.canSee(Brain<?> brain, MemoryModuleType<? extends LivingEntity> memoryType, Predicate<LivingEntity> filter) private static booleanLookTargetUtil.canSee(Brain<?> brain, MemoryModuleType<? extends LivingEntity> memoryType, Predicate<LivingEntity> filter) static booleanLookTargetUtil.canSee(Brain<?> brain, MemoryModuleType<? extends LivingEntity> memoryModuleType, EntityType<?> entityType) static LivingEntityLookTargetUtil.getCloserEntity(LivingEntity source, Optional<LivingEntity> first, LivingEntity second) Constructors in net.minecraft.entity.ai.brain.task with parameters of type LivingEntityConstructor parameters in net.minecraft.entity.ai.brain.task with type arguments of type LivingEntityModifierConstructorDescriptionDefeatTargetTask(int duration, BiPredicate<LivingEntity, LivingEntity> predicate) DefeatTargetTask(int duration, BiPredicate<LivingEntity, LivingEntity> predicate) FindInteractionTargetTask(EntityType<?> entityType, int maxDistance, Predicate<LivingEntity> shouldRunPredicate, Predicate<LivingEntity> predicate) FindRoarTargetTask(Function<E, Optional<? extends LivingEntity>> targetFinder) FollowMobTask(Predicate<LivingEntity> predicate, float maxDistance) ForgetAttackTargetTask(BiConsumer<E, LivingEntity> forgetCallback) ForgetAttackTargetTask(Predicate<LivingEntity> alternativePredicate) ForgetAttackTargetTask(Predicate<LivingEntity> alternativePredicate, BiConsumer<E, LivingEntity> forgetCallback) ForgetAttackTargetTask(Predicate<LivingEntity> alternativePredicate, BiConsumer<E, LivingEntity> forgetCallback) ForgetAttackTargetTask(Predicate<LivingEntity> alternativePredicate, BiConsumer<E, LivingEntity> forgetCallback, boolean shouldForgetIfTargetUnreachable) ForgetAttackTargetTask(Predicate<LivingEntity> alternativePredicate, BiConsumer<E, LivingEntity> forgetCallback, boolean shouldForgetIfTargetUnreachable) GiveInventoryToLookTargetTask(Function<LivingEntity, Optional<LookTarget>> lookTargetFunction, float speed) GoTowardsLookTarget(Predicate<LivingEntity> predicate, Function<LivingEntity, Float> speed, int completionRange) GoTowardsLookTarget(Predicate<LivingEntity> predicate, Function<LivingEntity, Float> speed, int completionRange) RangedApproachTask(Function<LivingEntity, Float> speed) TemptTask(Function<LivingEntity, Float> speed) UpdateAttackTargetTask(Function<E, Optional<? extends LivingEntity>> targetGetter) UpdateAttackTargetTask(Predicate<E> startCondition, Function<E, Optional<? extends LivingEntity>> targetGetter) UpdateAttackTargetTask(Predicate<E> startCondition, Function<E, Optional<? extends LivingEntity>> targetGetter, int duration) WalkTowardClosestAdultTask(UniformIntProvider executionRange, Function<LivingEntity, Float> speed) WalkTowardsLookTargetTask(Function<LivingEntity, Optional<LookTarget>> lookTargetFunction, int completionRange, int searchRange, float speed) -
Uses of LivingEntity in net.minecraft.entity.ai.goal
Classes in net.minecraft.entity.ai.goal with type parameters of type LivingEntityModifier and TypeClassDescriptionclassActiveTargetGoal<T extends LivingEntity>A target goal that finds a target by entity class when the goal starts.classDisableableFollowTargetGoal<T extends LivingEntity>An active target goal that can be disabled so that it cannot start.classFleeEntityGoal<T extends LivingEntity>classRaidGoal<T extends LivingEntity>classUntamedActiveTargetGoal<T extends LivingEntity>An active target goal that only starts for untamed tameable animals.Fields in net.minecraft.entity.ai.goal declared as LivingEntityModifier and TypeFieldDescriptionprivate LivingEntityTrackOwnerAttackerGoal.attackerprivate LivingEntityAttackWithOwnerGoal.attackingprivate LivingEntityFollowOwnerGoal.ownerprivate LivingEntityAttackGoal.targetprivate @Nullable LivingEntityCreeperIgniteGoal.targetprivate LivingEntityPounceAtTargetGoal.targetprivate @Nullable LivingEntityProjectileAttackGoal.targetprivate @Nullable LivingEntityTrackIronGolemTargetGoal.targetprotected @Nullable LivingEntityTrackTargetGoal.targetprivate @Nullable LivingEntityWanderNearTargetGoal.targetprotected @Nullable LivingEntityActiveTargetGoal.targetEntityprotected TFleeEntityGoal.targetEntityFields in net.minecraft.entity.ai.goal with type parameters of type LivingEntityModifier and TypeFieldDescriptionprotected final Predicate<LivingEntity>FleeEntityGoal.extraInclusionSelectorprotected final Predicate<LivingEntity>FleeEntityGoal.inclusionSelectorprotected final Class<? extends LivingEntity>LookAtEntityGoal.targetTypeMethods in net.minecraft.entity.ai.goal with parameters of type LivingEntityModifier and TypeMethodDescriptionprotected voidMeleeAttackGoal.attack(LivingEntity target, double squaredDistance) private booleanTrackTargetGoal.canNavigateToEntity(LivingEntity entity) protected booleanTrackTargetGoal.canTrack(@Nullable LivingEntity target, TargetPredicate targetPredicate) protected doubleMeleeAttackGoal.getSquaredMaxAttackDistance(LivingEntity entity) private booleanTemptGoal.isTemptedBy(LivingEntity entity) protected voidRevengeGoal.setMobEntityTarget(MobEntity mob, LivingEntity target) voidActiveTargetGoal.setTargetEntity(@Nullable LivingEntity targetEntity) Constructor parameters in net.minecraft.entity.ai.goal with type arguments of type LivingEntityModifierConstructorDescriptionActiveTargetGoal(MobEntity mob, Class<T> targetClass, boolean checkVisibility, Predicate<LivingEntity> targetPredicate) ActiveTargetGoal(MobEntity mob, Class<T> targetClass, int reciprocalChance, boolean checkVisibility, boolean checkCanNavigate, @Nullable Predicate<LivingEntity> targetPredicate) DisableableFollowTargetGoal(RaiderEntity actor, Class<T> targetEntityClass, int reciprocalChance, boolean checkVisibility, boolean checkCanNavigate, @Nullable Predicate<LivingEntity> targetPredicate) FleeEntityGoal(PathAwareEntity fleeingEntity, Class<T> classToFleeFrom, float fleeDistance, double fleeSlowSpeed, double fleeFastSpeed, Predicate<LivingEntity> inclusionSelector) FleeEntityGoal(PathAwareEntity mob, Class<T> fleeFromType, Predicate<LivingEntity> extraInclusionSelector, float distance, double slowSpeed, double fastSpeed, Predicate<LivingEntity> inclusionSelector) LookAtEntityGoal(MobEntity mob, Class<? extends LivingEntity> targetType, float range) LookAtEntityGoal(MobEntity mob, Class<? extends LivingEntity> targetType, float range, float chance) LookAtEntityGoal(MobEntity mob, Class<? extends LivingEntity> targetType, float range, float chance, boolean lookForward) RaidGoal(RaiderEntity raider, Class<T> targetEntityClass, boolean checkVisibility, @Nullable Predicate<LivingEntity> targetPredicate) StopAndLookAtEntityGoal(MobEntity mob, Class<? extends LivingEntity> targetType, float range) StopAndLookAtEntityGoal(MobEntity mob, Class<? extends LivingEntity> targetType, float range, float chance) UntamedActiveTargetGoal(TameableEntity tameable, Class<T> targetClass, boolean checkVisibility, @Nullable Predicate<LivingEntity> targetPredicate) -
Uses of LivingEntity in net.minecraft.entity.attribute
Fields in net.minecraft.entity.attribute with type parameters of type LivingEntityModifier and TypeFieldDescriptionprivate static final Map<EntityType<? extends LivingEntity>,DefaultAttributeContainer> DefaultAttributeRegistry.DEFAULT_ATTRIBUTE_REGISTRYMethod parameters in net.minecraft.entity.attribute with type arguments of type LivingEntityModifier and TypeMethodDescriptionstatic DefaultAttributeContainerDefaultAttributeRegistry.get(EntityType<? extends LivingEntity> type) -
Uses of LivingEntity in net.minecraft.entity.boss
Subclasses of LivingEntity in net.minecraft.entity.bossFields in net.minecraft.entity.boss with type parameters of type LivingEntityModifier and TypeFieldDescriptionprivate static final Predicate<LivingEntity>WitherEntity.CAN_ATTACK_PREDICATEMethods in net.minecraft.entity.boss with parameters of type LivingEntityModifier and TypeMethodDescriptionvoidWitherEntity.attack(LivingEntity target, float pullProgress) private voidWitherEntity.shootSkullAt(int headIndex, LivingEntity target) -
Uses of LivingEntity in net.minecraft.entity.boss.dragon
Subclasses of LivingEntity in net.minecraft.entity.boss.dragonMethods in net.minecraft.entity.boss.dragon with parameters of type LivingEntity -
Uses of LivingEntity in net.minecraft.entity.boss.dragon.phase
Fields in net.minecraft.entity.boss.dragon.phase declared as LivingEntityMethods in net.minecraft.entity.boss.dragon.phase with parameters of type LivingEntityModifier and TypeMethodDescriptionvoidStrafePlayerPhase.setTargetEntity(LivingEntity targetEntity) -
Uses of LivingEntity in net.minecraft.entity.damage
Fields in net.minecraft.entity.damage declared as LivingEntityMethods in net.minecraft.entity.damage that return LivingEntityMethods in net.minecraft.entity.damage with parameters of type LivingEntityModifier and TypeMethodDescriptionstatic DamageSourceDamageSource.explosion(@Nullable LivingEntity attacker) BadRespawnPointDamageSource.getDeathMessage(LivingEntity entity) DamageSource.getDeathMessage(LivingEntity entity) EntityDamageSource.getDeathMessage(LivingEntity entity) ProjectileDamageSource.getDeathMessage(LivingEntity entity) static DamageSourceDamageSource.mob(LivingEntity attacker) static DamageSourceDamageSource.mobProjectile(Entity projectile, @Nullable LivingEntity attacker) static DamageSourceDamageSource.sting(LivingEntity attacker) Constructors in net.minecraft.entity.damage with parameters of type LivingEntity -
Uses of LivingEntity in net.minecraft.entity.decoration
Subclasses of LivingEntity in net.minecraft.entity.decoration -
Uses of LivingEntity in net.minecraft.entity.effect
Methods in net.minecraft.entity.effect with parameters of type LivingEntityModifier and TypeMethodDescriptionvoidStatusEffect.applyInstantEffect(@Nullable Entity source, @Nullable Entity attacker, LivingEntity target, int amplifier, double proximity) voidStatusEffect.applyUpdateEffect(LivingEntity entity, int amplifier) voidStatusEffectInstance.applyUpdateEffect(LivingEntity entity) static intStatusEffectUtil.getHasteAmplifier(LivingEntity entity) static booleanStatusEffectUtil.hasHaste(LivingEntity entity) static booleanStatusEffectUtil.hasWaterBreathing(LivingEntity entity) floatStatusEffectInstance.FactorCalculationData.lerp(LivingEntity livingEntity, float float2) voidAbsorptionStatusEffect.onApplied(LivingEntity entity, AttributeContainer attributes, int amplifier) voidStatusEffect.onApplied(LivingEntity entity, AttributeContainer attributes, int amplifier) voidAbsorptionStatusEffect.onRemoved(LivingEntity entity, AttributeContainer attributes, int amplifier) voidHealthBoostStatusEffect.onRemoved(LivingEntity entity, AttributeContainer attributes, int amplifier) voidStatusEffect.onRemoved(LivingEntity entity, AttributeContainer attributes, int amplifier) booleanStatusEffectInstance.update(LivingEntity entity, Runnable overwriteCallback) -
Uses of LivingEntity in net.minecraft.entity.mob
Classes in net.minecraft.entity.mob with type parameters of type LivingEntityModifier and TypeClassDescriptionprivate static classSpiderEntity.TargetGoal<T extends LivingEntity>Subclasses of LivingEntity in net.minecraft.entity.mobModifier and TypeClassDescriptionclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassFields in net.minecraft.entity.mob declared as LivingEntityModifier and TypeFieldDescriptionprivate @Nullable LivingEntityGuardianEntity.cachedBeamTargetprivate @Nullable LivingEntityEvokerFangsEntity.ownerprivate @Nullable LivingEntityEndermanEntity.ChasePlayerGoal.targetprivate @Nullable LivingEntityMobEntity.targetMethods in net.minecraft.entity.mob that return LivingEntityModifier and TypeMethodDescriptionAngerable.getAttacker()GuardianEntity.getBeamTarget()EvokerFangsEntity.getOwner()AbstractPiglinEntity.getTarget()Angerable.getTarget()MobEntity.getTarget()WardenEntity.getTarget()Methods in net.minecraft.entity.mob that return types with arguments of type LivingEntityModifier and TypeMethodDescriptionprivate static Optional<LivingEntity>PiglinBrain.getAngryAt(AbstractPiglinEntity piglin) static Optional<LivingEntity>PiglinBrain.getAvoiding(PiglinEntity piglin) private Optional<? extends LivingEntity>ZoglinEntity.getHoglinTarget()private static Optional<? extends LivingEntity>HoglinBrain.getNearestVisibleTargetablePlayer(HoglinEntity hoglin) private static Optional<? extends LivingEntity>PiglinBrain.getPreferredTarget(PiglinEntity piglin) WardenEntity.getPrimeSuspect()private static Optional<? extends LivingEntity>PiglinBruteBrain.getTarget(AbstractPiglinEntity piglin) private static Optional<? extends LivingEntity>PiglinBruteBrain.getTargetIfInRange(AbstractPiglinEntity piglin, MemoryModuleType<? extends LivingEntity> targetMemoryModule) private static MemoryTransferTask<PiglinEntity,LivingEntity> PiglinBrain.goToNemesisTask()private static MemoryTransferTask<PiglinEntity,LivingEntity> PiglinBrain.makeGoToZombifiedPiglinTask()Methods in net.minecraft.entity.mob with parameters of type LivingEntityModifier and TypeMethodDescriptionprotected static voidPiglinBrain.angerAtCloserTargets(AbstractPiglinEntity piglin, LivingEntity target) private static voidPiglinBrain.angerAtIfCloser(AbstractPiglinEntity piglin, LivingEntity target) private static voidHoglinBrain.askAdultsForHelp(HoglinEntity hoglin, LivingEntity target) private static voidHoglinBrain.askAdultsToAvoid(HoglinEntity hoglin, LivingEntity target) voidAbstractSkeletonEntity.attack(LivingEntity target, float pullProgress) voidDrownedEntity.attack(LivingEntity target, float pullProgress) voidIllusionerEntity.attack(LivingEntity target, float pullProgress) voidPiglinEntity.attack(LivingEntity target, float pullProgress) voidPillagerEntity.attack(LivingEntity target, float pullProgress) voidWitchEntity.attack(LivingEntity target, float pullProgress) private static voidHoglinBrain.avoid(HoglinEntity hoglin, LivingEntity target) private static voidHoglinBrain.avoidEnemy(HoglinEntity hoglin, LivingEntity target) protected static voidPiglinBrain.becomeAngryWith(AbstractPiglinEntity piglin, LivingEntity target) private static voidPiglinBrain.becomeAngryWithPlayer(AbstractPiglinEntity piglin, LivingEntity player) booleanDrownedEntity.canDrownedAttackTarget(@Nullable LivingEntity target) booleanAngerable.canTarget(LivingEntity target) booleanIllagerEntity.canTarget(LivingEntity target) private static booleanPiglinBrain.canWander(LivingEntity piglin) private voidEvokerFangsEntity.damage(LivingEntity target) protected voidSlimeEntity.damage(LivingEntity target) protected doubleRavagerEntity.AttackGoal.getSquaredMaxAttackDistance(LivingEntity entity) protected doubleSpiderEntity.AttackGoal.getSquaredMaxAttackDistance(LivingEntity entity) protected doubleVindicatorEntity.AttackGoal.getSquaredMaxAttackDistance(LivingEntity entity) private static voidPiglinBrain.groupRunAwayFrom(PiglinEntity piglin, LivingEntity target) private static booleanPiglinBrain.hasBeenHurt(LivingEntity piglin) private static booleanPiglinBrain.hasPlayerHoldingWantedItemNearby(LivingEntity entity) static booleanPiglinBrain.isGoldHoldingPlayer(LivingEntity target) private static booleanPiglinBrain.isHoldingCrossbow(LivingEntity piglin) private static booleanPiglinBrain.isHuntingTarget(LivingEntity piglin, LivingEntity target) booleanMobEntity.isInAttackRange(LivingEntity entity) private static booleanPiglinBrain.isPreferredAttackTarget(PiglinEntity piglin, LivingEntity target) private static booleanPiglinBruteBrain.isTarget(AbstractPiglinEntity piglin, LivingEntity entity) private static booleanWardenBrain.isTargeting(WardenEntity warden, LivingEntity entity) static voidHoglin.knockback(LivingEntity attacker, LivingEntity target) protected voidHoglinEntity.knockback(LivingEntity target) protected voidRavagerEntity.knockback(LivingEntity target) protected voidZoglinEntity.knockback(LivingEntity target) protected static voidHoglinBrain.onAttacked(HoglinEntity hoglin, LivingEntity attacker) protected static voidPiglinBrain.onAttacked(PiglinEntity piglin, LivingEntity attacker) protected static voidHoglinBrain.onAttacking(HoglinEntity hoglin, LivingEntity target) booleanZombieEntity.onKilledOther(ServerWorld world, LivingEntity other) private static voidWardenBrain.removeDeadSuspect(WardenEntity warden, LivingEntity suspect) static voidWardenBrain.resetDigCooldown(LivingEntity warden) private static voidPiglinBrain.runAwayFrom(PiglinEntity piglin, LivingEntity target) private static voidPiglinBrain.runAwayFromClosestTarget(PiglinEntity piglin, LivingEntity target) private static voidPiglinBrain.setAdmiringItem(LivingEntity entity) voidAngerable.setAttacker(@Nullable LivingEntity attacker) private static voidHoglinBrain.setAttackTarget(HoglinEntity hoglin, LivingEntity target) private voidZoglinEntity.setAttackTarget(LivingEntity entity) private static voidHoglinBrain.setAttackTargetIfCloser(HoglinEntity hoglin, LivingEntity targetCandidate) voidEvokerFangsEntity.setOwner(@Nullable LivingEntity owner) voidAngerable.setTarget(@Nullable LivingEntity target) voidCreeperEntity.setTarget(@Nullable LivingEntity target) voidEndermanEntity.setTarget(@Nullable LivingEntity target) voidMobEntity.setTarget(@Nullable LivingEntity target) protected static voidPiglinBruteBrain.setTarget(PiglinBruteEntity piglinBrute, LivingEntity target) voidZombifiedPiglinEntity.setTarget(@Nullable LivingEntity target) voidPiglinEntity.shoot(LivingEntity target, ItemStack crossbow, ProjectileEntity projectile, float multiShotSpray) voidPillagerEntity.shoot(LivingEntity target, ItemStack crossbow, ProjectileEntity projectile, float multiShotSpray) default booleanAngerable.shouldAngerAt(LivingEntity entity) private booleanZoglinEntity.shouldAttack(LivingEntity entity) doubleMobEntity.squaredAttackRange(LivingEntity target) private static voidHoglinBrain.targetEnemy(HoglinEntity hoglin, LivingEntity target) booleanGuardianEntity.GuardianTargetPredicate.test(@Nullable LivingEntity livingEntity) static booleanHoglin.tryAttack(LivingEntity attacker, LivingEntity target) protected static voidPiglinBrain.tryRevenge(AbstractPiglinEntity piglin, LivingEntity target) protected static voidPiglinBruteBrain.tryRevenge(PiglinBruteEntity piglinBrute, LivingEntity target) voidWardenEntity.updateAttackTarget(LivingEntity target) static booleanPiglinBrain.wearsGoldArmor(LivingEntity entity) Method parameters in net.minecraft.entity.mob with type arguments of type LivingEntityModifier and TypeMethodDescriptionprivate static Optional<? extends LivingEntity>PiglinBruteBrain.getTargetIfInRange(AbstractPiglinEntity piglin, MemoryModuleType<? extends LivingEntity> targetMemoryModule) Constructors in net.minecraft.entity.mob with parameters of type LivingEntityModifierConstructorDescriptionEvokerFangsEntity(World world, double x, double y, double z, float yaw, int warmup, LivingEntity owner) Constructor parameters in net.minecraft.entity.mob with type arguments of type LivingEntityModifierConstructorDescriptionTeleportTowardsPlayerGoal(EndermanEntity enderman, @Nullable Predicate<LivingEntity> targetPredicate) -
Uses of LivingEntity in net.minecraft.entity.passive
Classes in net.minecraft.entity.passive with type parameters of type LivingEntityModifier and TypeClassDescriptionprivate static classCatEntity.CatFleeGoal<T extends LivingEntity>private static classOcelotEntity.FleeGoal<T extends LivingEntity>private static classPandaEntity.PandaFleeGoal<T extends LivingEntity>private static classRabbitEntity.FleeGoal<T extends LivingEntity>private classWolfEntity.AvoidLlamaGoal<T extends LivingEntity>Subclasses of LivingEntity in net.minecraft.entity.passiveModifier and TypeClassDescriptionclassclassclassclassclassRepresents an axolotl, the cutest predator.classclassclassMeow.classclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassFields in net.minecraft.entity.passive declared as LivingEntityModifier and TypeFieldDescriptionprivate @Nullable LivingEntityFoxEntity.DefendFriendGoal.friendprivate @Nullable LivingEntityFoxEntity.DefendFriendGoal.offenderprivate LivingEntityTraderLlamaEntity.DefendTraderGoal.offenderFields in net.minecraft.entity.passive with type parameters of type LivingEntityModifier and TypeFieldDescriptionstatic final Predicate<LivingEntity>TurtleEntity.BABY_TURTLE_ON_LAND_FILTERprivate static final Predicate<LivingEntity>PufferfishEntity.BLOW_UP_FILTERstatic final Predicate<LivingEntity>WolfEntity.FOLLOW_TAMED_PREDICATEprivate static final Predicate<LivingEntity>AbstractHorseEntity.IS_BRED_HORSEMethods in net.minecraft.entity.passive that return LivingEntityModifier and TypeMethodDescriptionTameableEntity.getOwner()AbstractHorseEntity.getPrimaryPassenger()LlamaEntity.getPrimaryPassenger()Methods in net.minecraft.entity.passive that return types with arguments of type LivingEntityModifier and TypeMethodDescriptionprivate static Optional<? extends LivingEntity>AxolotlBrain.getAttackTarget(AxolotlEntity axolotl) Methods in net.minecraft.entity.passive with parameters of type LivingEntityModifier and TypeMethodDescriptionstatic voidAxolotlEntity.appreciatePlayer(AxolotlEntity axolotl, LivingEntity livingEntity) protected voidFoxEntity.AttackGoal.attack(LivingEntity target, double squaredDistance) voidLlamaEntity.attack(LivingEntity target, float pullProgress) protected voidPolarBearEntity.AttackGoal.attack(LivingEntity target, double squaredDistance) voidSnowGolemEntity.attack(LivingEntity target, float pullProgress) booleanTameableEntity.canAttackWithOwner(LivingEntity target, LivingEntity owner) booleanWolfEntity.canAttackWithOwner(LivingEntity target, LivingEntity owner) private static booleanAxolotlBrain.canGoToLookTarget(LivingEntity entity) static booleanFoxEntity.canJumpChase(FoxEntity fox, LivingEntity chasedEntity) booleanTameableEntity.canTarget(LivingEntity target) private static floatAxolotlBrain.getAdultFollowingSpeed(LivingEntity entity) Returns the axolotl's speed when a baby axolotl is following an adult.private static Optional<LookTarget>AllayBrain.getLikedLookTarget(LivingEntity allay) static Optional<ServerPlayerEntity>AllayBrain.getLikedPlayer(LivingEntity allay) private static Optional<LookTarget>AllayBrain.getLookTarget(LivingEntity allay) protected doublePolarBearEntity.AttackGoal.getSquaredMaxAttackDistance(LivingEntity entity) protected doubleRabbitEntity.RabbitAttackGoal.getSquaredMaxAttackDistance(LivingEntity entity) private static floatAxolotlBrain.getTargetApproachingSpeed(LivingEntity entity) Returns the axolotl's speed when approaching the attack target.private static floatAxolotlBrain.getTemptedSpeed(LivingEntity entity) Returns the axolotl's speed when the axolotl is being tempted.booleanTameableEntity.isOwner(LivingEntity entity) static booleanFrogEntity.isValidFrogFood(LivingEntity entity) AbstractHorseEntity.locateSafeDismountingPos(Vec3d offset, LivingEntity passenger) static voidAllayBrain.rememberNoteBlock(LivingEntity allay, BlockPos pos) voidVillagerEntity.setAttacker(@Nullable LivingEntity attacker) protected voidBeeEntity.BeeRevengeGoal.setMobEntityTarget(MobEntity mob, LivingEntity target) protected voidPandaEntity.PandaRevengeGoal.setMobEntityTarget(MobEntity mob, LivingEntity target) protected voidPolarBearEntity.PolarBearRevengeGoal.setMobEntityTarget(MobEntity mob, LivingEntity target) voidFoxEntity.setTarget(@Nullable LivingEntity target) voidPandaEntity.LookAtEntityGoal.setTarget(LivingEntity target) private static booleanAllayBrain.shouldGoTowardsNoteBlock(LivingEntity allay, Brain<?> brain, GlobalPos pos) private voidLlamaEntity.spitAt(LivingEntity target) doubleAxolotlEntity.squaredAttackRange(LivingEntity target) booleanFoxEntity.WorriableEntityFilter.test(LivingEntity livingEntity) AbstractHorseEntity.updatePassengerForDismount(LivingEntity passenger) PigEntity.updatePassengerForDismount(LivingEntity passenger) StriderEntity.updatePassengerForDismount(LivingEntity passenger) Method parameters in net.minecraft.entity.passive with type arguments of type LivingEntityModifier and TypeMethodDescriptionstatic booleanAxolotlEntity.canSpawn(EntityType<? extends LivingEntity> type, ServerWorldAccess world, SpawnReason reason, BlockPos pos, Random random) static booleanGlowSquidEntity.canSpawn(EntityType<? extends LivingEntity> type, ServerWorldAccess world, SpawnReason reason, BlockPos pos, Random random) Constructor parameters in net.minecraft.entity.passive with type arguments of type LivingEntityModifierConstructorDescriptionDefendFriendGoal(Class<LivingEntity> targetEntityClass, boolean checkVisibility, boolean checkCanNavigate, @Nullable Predicate<LivingEntity> targetPredicate) DefendFriendGoal(Class<LivingEntity> targetEntityClass, boolean checkVisibility, boolean checkCanNavigate, @Nullable Predicate<LivingEntity> targetPredicate) LookAtEntityGoal(MobEntity fox, Class<? extends LivingEntity> targetType, float range) LookAtEntityGoal(PandaEntity panda, Class<? extends LivingEntity> targetType, float range) -
Uses of LivingEntity in net.minecraft.entity.player
Subclasses of LivingEntity in net.minecraft.entity.playerMethods in net.minecraft.entity.player with parameters of type LivingEntityModifier and TypeMethodDescriptionprotected voidPlayerEntity.attackLivingEntity(LivingEntity target) booleanPlayerEntity.onKilledOther(ServerWorld world, LivingEntity other) protected voidPlayerEntity.takeShieldHit(LivingEntity attacker) -
Uses of LivingEntity in net.minecraft.entity.projectile
Fields in net.minecraft.entity.projectile declared as LivingEntityMethods in net.minecraft.entity.projectile with parameters of type LivingEntityModifier and TypeMethodDescriptionvoidPersistentProjectileEntity.applyEnchantmentEffects(LivingEntity entity, float damageModifier) static PersistentProjectileEntityProjectileUtil.createArrowProjectile(LivingEntity entity, ItemStack stack, float damageModifier) static HandProjectileUtil.getHandPossiblyHolding(LivingEntity entity, Item item) protected voidArrowEntity.onHit(LivingEntity target) protected voidPersistentProjectileEntity.onHit(LivingEntity target) protected voidSpectralArrowEntity.onHit(LivingEntity target) Constructors in net.minecraft.entity.projectile with parameters of type LivingEntityModifierConstructorDescriptionAbstractFireballEntity(EntityType<? extends AbstractFireballEntity> type, LivingEntity owner, double directionX, double directionY, double directionZ, World world) ArrowEntity(World world, LivingEntity owner) DragonFireballEntity(World world, LivingEntity owner, double directionX, double directionY, double directionZ) ExplosiveProjectileEntity(EntityType<? extends ExplosiveProjectileEntity> type, LivingEntity owner, double directionX, double directionY, double directionZ, World world) FireballEntity(World world, LivingEntity owner, double velocityX, double velocityY, double velocityZ, int explosionPower) FireworkRocketEntity(World world, ItemStack stack, LivingEntity shooter) protectedPersistentProjectileEntity(EntityType<? extends PersistentProjectileEntity> type, LivingEntity owner, World world) ShulkerBulletEntity(World world, LivingEntity owner, Entity target, Direction.Axis axis) SmallFireballEntity(World world, LivingEntity owner, double velocityX, double velocityY, double velocityZ) SpectralArrowEntity(World world, LivingEntity owner) TridentEntity(World world, LivingEntity owner, ItemStack stack) WitherSkullEntity(World world, LivingEntity owner, double directionX, double directionY, double directionZ) -
Uses of LivingEntity in net.minecraft.entity.projectile.thrown
Fields in net.minecraft.entity.projectile.thrown with type parameters of type LivingEntityConstructors in net.minecraft.entity.projectile.thrown with parameters of type LivingEntityModifierConstructorDescriptionEggEntity(World world, LivingEntity owner) EnderPearlEntity(World world, LivingEntity owner) ExperienceBottleEntity(World world, LivingEntity owner) PotionEntity(World world, LivingEntity owner) SnowballEntity(World world, LivingEntity owner) protectedThrownEntity(EntityType<? extends ThrownEntity> type, LivingEntity owner, World world) ThrownItemEntity(EntityType<? extends ThrownItemEntity> type, LivingEntity owner, World world) -
Uses of LivingEntity in net.minecraft.entity.raid
Subclasses of LivingEntity in net.minecraft.entity.raid -
Uses of LivingEntity in net.minecraft.entity.vehicle
Methods in net.minecraft.entity.vehicle with parameters of type LivingEntityModifier and TypeMethodDescriptionAbstractMinecartEntity.updatePassengerForDismount(LivingEntity passenger) BoatEntity.updatePassengerForDismount(LivingEntity passenger) -
Uses of LivingEntity in net.minecraft.inventory
Methods in net.minecraft.inventory with parameters of type LivingEntityModifier and TypeMethodDescriptionstatic StackReferenceStackReference.of(LivingEntity entity, EquipmentSlot slot) Creates a stack reference backed by an equipment slot of an living entity with no filter, allowing direct manipulation of the equipment slot.static StackReferenceStackReference.of(LivingEntity entity, EquipmentSlot slot, Predicate<ItemStack> filter) Creates a stack reference backed by an equipment slot of an living entity and guarded by a condition for setting stacks into the inventory. -
Uses of LivingEntity in net.minecraft.item
Methods in net.minecraft.item with type parameters of type LivingEntityMethods in net.minecraft.item with parameters of type LivingEntityModifier and TypeMethodDescriptionArrowItem.createArrow(World world, ItemStack stack, LivingEntity shooter) private static PersistentProjectileEntityCrossbowItem.createArrow(World world, LivingEntity entity, ItemStack crossbow, ItemStack arrow) SpectralArrowItem.createArrow(World world, ItemStack stack, LivingEntity shooter) ChorusFruitItem.finishUsing(ItemStack stack, World world, LivingEntity user) HoneyBottleItem.finishUsing(ItemStack stack, World world, LivingEntity user) Item.finishUsing(ItemStack stack, World world, LivingEntity user) ItemStack.finishUsing(World world, LivingEntity user) MilkBucketItem.finishUsing(ItemStack stack, World world, LivingEntity user) PotionItem.finishUsing(ItemStack stack, World world, LivingEntity user) SpyglassItem.finishUsing(ItemStack stack, World world, LivingEntity user) StewItem.finishUsing(ItemStack stack, World world, LivingEntity user) SuspiciousStewItem.finishUsing(ItemStack stack, World world, LivingEntity user) static ItemStackRangedWeaponItem.getHeldProjectile(LivingEntity entity, Predicate<ItemStack> predicate) private static booleanCrossbowItem.loadProjectile(LivingEntity shooter, ItemStack crossbow, ItemStack projectile, boolean simulated, boolean creative) private static booleanCrossbowItem.loadProjectiles(LivingEntity shooter, ItemStack projectile) voidBowItem.onStoppedUsing(ItemStack stack, World world, LivingEntity user, int remainingUseTicks) voidCrossbowItem.onStoppedUsing(ItemStack stack, World world, LivingEntity user, int remainingUseTicks) voidItem.onStoppedUsing(ItemStack stack, World world, LivingEntity user, int remainingUseTicks) voidItemStack.onStoppedUsing(World world, LivingEntity user, int remainingUseTicks) voidSpyglassItem.onStoppedUsing(ItemStack stack, World world, LivingEntity user, int remainingUseTicks) voidTridentItem.onStoppedUsing(ItemStack stack, World world, LivingEntity user, int remainingUseTicks) private voidSpyglassItem.playStopUsingSound(LivingEntity user) booleanItem.postHit(ItemStack stack, LivingEntity target, LivingEntity attacker) voidItemStack.postHit(LivingEntity target, PlayerEntity attacker) booleanMiningToolItem.postHit(ItemStack stack, LivingEntity target, LivingEntity attacker) booleanSwordItem.postHit(ItemStack stack, LivingEntity target, LivingEntity attacker) booleanTridentItem.postHit(ItemStack stack, LivingEntity target, LivingEntity attacker) booleanItem.postMine(ItemStack stack, World world, BlockState state, BlockPos pos, LivingEntity miner) booleanMiningToolItem.postMine(ItemStack stack, World world, BlockState state, BlockPos pos, LivingEntity miner) booleanShearsItem.postMine(ItemStack stack, World world, BlockState state, BlockPos pos, LivingEntity miner) booleanSwordItem.postMine(ItemStack stack, World world, BlockState state, BlockPos pos, LivingEntity miner) booleanTridentItem.postMine(ItemStack stack, World world, BlockState state, BlockPos pos, LivingEntity miner) private static voidCrossbowItem.postShoot(World world, LivingEntity entity, ItemStack stack) private static voidCrossbowItem.shoot(World world, LivingEntity shooter, Hand hand, ItemStack crossbow, ItemStack projectile, float soundPitch, boolean creative, float speed, float divergence, float simulated) static voidCrossbowItem.shootAll(World world, LivingEntity entity, Hand hand, ItemStack stack, float speed, float divergence) voidCrossbowItem.usageTick(World world, LivingEntity user, ItemStack stack, int remainingUseTicks) voidItem.usageTick(World world, LivingEntity user, ItemStack stack, int remainingUseTicks) voidItemStack.usageTick(World world, LivingEntity user, int remainingUseTicks) DyeItem.useOnEntity(ItemStack stack, PlayerEntity user, LivingEntity entity, Hand hand) Item.useOnEntity(ItemStack stack, PlayerEntity user, LivingEntity entity, Hand hand) ItemStack.useOnEntity(PlayerEntity user, LivingEntity entity, Hand hand) NameTagItem.useOnEntity(ItemStack stack, PlayerEntity user, LivingEntity entity, Hand hand) SaddleItem.useOnEntity(ItemStack stack, PlayerEntity user, LivingEntity entity, Hand hand) -
Uses of LivingEntity in net.minecraft.network.packet.s2c.play
Constructors in net.minecraft.network.packet.s2c.play with parameters of type LivingEntityModifierConstructorDescriptionEntitySpawnS2CPacket(LivingEntity entity) EntitySpawnS2CPacket(LivingEntity entity, int entityTypeId) -
Uses of LivingEntity in net.minecraft.predicate.entity
Methods in net.minecraft.predicate.entity with parameters of type LivingEntity -
Uses of LivingEntity in net.minecraft.server.command
Methods in net.minecraft.server.command that return LivingEntityModifier and TypeMethodDescriptionprivate static LivingEntityAttributeCommand.getLivingEntity(Entity entity) private static LivingEntityAttributeCommand.getLivingEntityWithAttribute(Entity entity, EntityAttribute attribute) -
Uses of LivingEntity in net.minecraft.server.network
Subclasses of LivingEntity in net.minecraft.server.networkMethods in net.minecraft.server.network with parameters of type LivingEntityModifier and TypeMethodDescriptionDebugInfoSender.listMemories(LivingEntity entity, long currentTime) static voidDebugInfoSender.sendBrainDebugData(LivingEntity living) private static voidDebugInfoSender.writeBrain(LivingEntity entity, PacketByteBuf buf) -
Uses of LivingEntity in net.minecraft.test
Methods in net.minecraft.test that return LivingEntityMethods in net.minecraft.test with parameters of type LivingEntity -
Uses of LivingEntity in net.minecraft.world
Methods in net.minecraft.world with type parameters of type LivingEntityModifier and TypeMethodDescriptiondefault <T extends LivingEntity>
TEntityView.getClosestEntity(Class<? extends T> entityClass, TargetPredicate targetPredicate, @Nullable LivingEntity entity, double x, double y, double z, Box box) default <T extends LivingEntity>
TEntityView.getClosestEntity(List<? extends T> entityList, TargetPredicate targetPredicate, @Nullable LivingEntity entity, double x, double y, double z) default <T extends LivingEntity>
List<T>EntityView.getTargets(Class<T> entityClass, TargetPredicate targetPredicate, LivingEntity targetingEntity, Box box) Methods in net.minecraft.world with parameters of type LivingEntityModifier and TypeMethodDescriptiondefault <T extends LivingEntity>
TEntityView.getClosestEntity(Class<? extends T> entityClass, TargetPredicate targetPredicate, @Nullable LivingEntity entity, double x, double y, double z, Box box) default <T extends LivingEntity>
TEntityView.getClosestEntity(List<? extends T> entityList, TargetPredicate targetPredicate, @Nullable LivingEntity entity, double x, double y, double z) default @Nullable PlayerEntityEntityView.getClosestPlayer(TargetPredicate targetPredicate, LivingEntity entity) default @Nullable PlayerEntityEntityView.getClosestPlayer(TargetPredicate targetPredicate, LivingEntity entity, double x, double y, double z) default List<PlayerEntity>EntityView.getPlayers(TargetPredicate targetPredicate, LivingEntity entity, Box box) default <T extends LivingEntity>
List<T>EntityView.getTargets(Class<T> entityClass, TargetPredicate targetPredicate, LivingEntity targetingEntity, Box box) -
Uses of LivingEntity in net.minecraft.world.explosion
Methods in net.minecraft.world.explosion that return LivingEntity