Uses of Class
net.minecraft.entity.LivingEntity
Package
Description
-
Uses of LivingEntity in net.minecraft.advancements.criterion
-
Uses of LivingEntity in net.minecraft.block
Modifier and TypeMethodDescriptionvoid
TNTBlock.catchFire
(BlockState state, World world, BlockPos pos, Direction face, LivingEntity igniter) private static void
TNTBlock.explode
(World p_196535_0_, BlockPos p_196535_1_, LivingEntity p_196535_2_) Deprecated.boolean
TrapDoorBlock.isLadder
(BlockState state, IWorldReader world, BlockPos pos, LivingEntity entity) void
AbstractBannerBlock.setPlacedBy
(World p_180633_1_, BlockPos p_180633_2_, BlockState p_180633_3_, LivingEntity p_180633_4_, ItemStack p_180633_5_) void
AbstractFurnaceBlock.setPlacedBy
(World p_180633_1_, BlockPos p_180633_2_, BlockState p_180633_3_, LivingEntity p_180633_4_, ItemStack p_180633_5_) void
BarrelBlock.setPlacedBy
(World p_180633_1_, BlockPos p_180633_2_, BlockState p_180633_3_, LivingEntity p_180633_4_, ItemStack p_180633_5_) void
BeaconBlock.setPlacedBy
(World p_180633_1_, BlockPos p_180633_2_, BlockState p_180633_3_, LivingEntity p_180633_4_, ItemStack p_180633_5_) void
BedBlock.setPlacedBy
(World p_180633_1_, BlockPos p_180633_2_, BlockState p_180633_3_, LivingEntity p_180633_4_, ItemStack p_180633_5_) void
Block.setPlacedBy
(World p_180633_1_, BlockPos p_180633_2_, BlockState p_180633_3_, LivingEntity p_180633_4_, ItemStack p_180633_5_) void
BrewingStandBlock.setPlacedBy
(World p_180633_1_, BlockPos p_180633_2_, BlockState p_180633_3_, LivingEntity p_180633_4_, ItemStack p_180633_5_) void
ChestBlock.setPlacedBy
(World p_180633_1_, BlockPos p_180633_2_, BlockState p_180633_3_, LivingEntity p_180633_4_, ItemStack p_180633_5_) void
CommandBlockBlock.setPlacedBy
(World p_180633_1_, BlockPos p_180633_2_, BlockState p_180633_3_, LivingEntity p_180633_4_, ItemStack p_180633_5_) void
ConduitBlock.setPlacedBy
(World p_180633_1_, BlockPos p_180633_2_, BlockState p_180633_3_, LivingEntity p_180633_4_, ItemStack p_180633_5_) void
DispenserBlock.setPlacedBy
(World p_180633_1_, BlockPos p_180633_2_, BlockState p_180633_3_, LivingEntity p_180633_4_, ItemStack p_180633_5_) void
DoorBlock.setPlacedBy
(World p_180633_1_, BlockPos p_180633_2_, BlockState p_180633_3_, LivingEntity p_180633_4_, ItemStack p_180633_5_) void
DoublePlantBlock.setPlacedBy
(World p_180633_1_, BlockPos p_180633_2_, BlockState p_180633_3_, LivingEntity p_180633_4_, ItemStack p_180633_5_) void
EnchantingTableBlock.setPlacedBy
(World p_180633_1_, BlockPos p_180633_2_, BlockState p_180633_3_, LivingEntity p_180633_4_, ItemStack p_180633_5_) void
HopperBlock.setPlacedBy
(World p_180633_1_, BlockPos p_180633_2_, BlockState p_180633_3_, LivingEntity p_180633_4_, ItemStack p_180633_5_) void
JukeboxBlock.setPlacedBy
(World p_180633_1_, BlockPos p_180633_2_, BlockState p_180633_3_, LivingEntity p_180633_4_, ItemStack p_180633_5_) void
PistonBlock.setPlacedBy
(World p_180633_1_, BlockPos p_180633_2_, BlockState p_180633_3_, LivingEntity p_180633_4_, ItemStack p_180633_5_) void
RedstoneDiodeBlock.setPlacedBy
(World p_180633_1_, BlockPos p_180633_2_, BlockState p_180633_3_, LivingEntity p_180633_4_, ItemStack p_180633_5_) void
ShulkerBoxBlock.setPlacedBy
(World p_180633_1_, BlockPos p_180633_2_, BlockState p_180633_3_, LivingEntity p_180633_4_, ItemStack p_180633_5_) void
SkullPlayerBlock.setPlacedBy
(World p_180633_1_, BlockPos p_180633_2_, BlockState p_180633_3_, LivingEntity p_180633_4_, ItemStack p_180633_5_) void
SkullWallPlayerBlock.setPlacedBy
(World p_180633_1_, BlockPos p_180633_2_, BlockState p_180633_3_, LivingEntity p_180633_4_, ItemStack p_180633_5_) void
StructureBlock.setPlacedBy
(World p_180633_1_, BlockPos p_180633_2_, BlockState p_180633_3_, LivingEntity p_180633_4_, ItemStack p_180633_5_) void
TripWireHookBlock.setPlacedBy
(World p_180633_1_, BlockPos p_180633_2_, BlockState p_180633_3_, LivingEntity p_180633_4_, ItemStack p_180633_5_) void
WitherSkeletonSkullBlock.setPlacedBy
(World p_180633_1_, BlockPos p_180633_2_, BlockState p_180633_3_, LivingEntity p_180633_4_, ItemStack p_180633_5_) void
WitherSkeletonWallSkullBlock.setPlacedBy
(World p_180633_1_, BlockPos p_180633_2_, BlockState p_180633_3_, LivingEntity p_180633_4_, ItemStack p_180633_5_) -
Uses of LivingEntity in net.minecraft.client.entity.player
Modifier and TypeClassDescriptionclass
class
class
-
Uses of LivingEntity in net.minecraft.client.gui
Modifier and TypeMethodDescriptionprivate int
IngameGui.getVehicleMaxHearts
(LivingEntity p_212306_1_) -
Uses of LivingEntity in net.minecraft.client.gui.screen.inventory
Modifier and TypeMethodDescriptionstatic void
InventoryScreen.renderEntityInInventory
(int p_228187_0_, int p_228187_1_, int p_228187_2_, float p_228187_3_, float p_228187_4_, LivingEntity p_228187_5_) -
Uses of LivingEntity in net.minecraft.client.renderer
Modifier and TypeMethodDescriptionItemRenderer.getModel
(ItemStack p_184393_1_, World p_184393_2_, LivingEntity p_184393_3_) static float
GameRenderer.getNightVisionScale
(LivingEntity p_180438_0_, float p_180438_1_) void
ItemRenderer.renderAndDecorateItem
(LivingEntity p_184391_1_, ItemStack p_184391_2_, int p_184391_3_, int p_184391_4_) void
FirstPersonRenderer.renderItem
(LivingEntity p_228397_1_, ItemStack p_228397_2_, ItemCameraTransforms.TransformType p_228397_3_, boolean p_228397_4_, MatrixStack p_228397_5_, IRenderTypeBuffer p_228397_6_, int p_228397_7_) void
ItemRenderer.renderStatic
(LivingEntity p_229109_1_, ItemStack p_229109_2_, ItemCameraTransforms.TransformType p_229109_3_, boolean p_229109_4_, MatrixStack p_229109_5_, IRenderTypeBuffer p_229109_6_, World p_229109_7_, int p_229109_8_, int p_229109_9_) private void
ItemRenderer.tryRenderGuiItem
(LivingEntity p_239387_1_, ItemStack p_239387_2_, int p_239387_3_, int p_239387_4_) -
Uses of LivingEntity in net.minecraft.client.renderer.entity
Modifier and TypeClassDescriptionclass
LivingRenderer<T extends LivingEntity,
M extends EntityModel<T>> Modifier and TypeMethodDescriptionstatic int
LivingRenderer.getOverlayCoords
(LivingEntity p_229117_0_, float p_229117_1_) private Vector3d
GuardianRenderer.getPosition
(LivingEntity p_177110_1_, double p_177110_2_, float p_177110_4_) -
Uses of LivingEntity in net.minecraft.client.renderer.entity.layers
Modifier and TypeClassDescriptionclass
ArrowLayer<T extends LivingEntity,
M extends PlayerModel<T>> class
BeeStingerLayer<T extends LivingEntity,
M extends PlayerModel<T>> class
BipedArmorLayer<T extends LivingEntity,
M extends BipedModel<T>, A extends BipedModel<T>> class
CrossedArmsItemLayer<T extends LivingEntity,
M extends EntityModel<T>> class
ElytraLayer<T extends LivingEntity,
M extends EntityModel<T>> class
EndermanEyesLayer<T extends LivingEntity>
class
HeadLayer<T extends LivingEntity,
M extends EntityModel<T> & IHasHead> class
HeldItemLayer<T extends LivingEntity,
M extends EntityModel<T> & IHasArm> class
SlimeGelLayer<T extends LivingEntity>
class
SpinAttackEffectLayer<T extends LivingEntity>
class
StuckInBodyLayer<T extends LivingEntity,
M extends PlayerModel<T>> class
VillagerLevelPendantLayer<T extends LivingEntity & IVillagerDataHolder,
M extends EntityModel<T> & IHeadToggle> class
WitchHeldItemLayer<T extends LivingEntity>
Modifier and TypeMethodDescriptionprotected static <T extends LivingEntity>
voidLayerRenderer.coloredCutoutModelCopyLayerRender
(EntityModel<T> p_229140_0_, EntityModel<T> p_229140_1_, ResourceLocation p_229140_2_, MatrixStack p_229140_3_, IRenderTypeBuffer p_229140_4_, int p_229140_5_, T p_229140_6_, float p_229140_7_, float p_229140_8_, float p_229140_9_, float p_229140_10_, float p_229140_11_, float p_229140_12_, float p_229140_13_, float p_229140_14_, float p_229140_15_) protected static <T extends LivingEntity>
voidLayerRenderer.renderColoredCutoutModel
(EntityModel<T> p_229141_0_, ResourceLocation p_229141_1_, MatrixStack p_229141_2_, IRenderTypeBuffer p_229141_3_, int p_229141_4_, T p_229141_5_, float p_229141_6_, float p_229141_7_, float p_229141_8_) Modifier and TypeMethodDescriptionprivate void
HeldItemLayer.renderArmWithItem
(LivingEntity p_229135_1_, ItemStack p_229135_2_, ItemCameraTransforms.TransformType p_229135_3_, HandSide p_229135_4_, MatrixStack p_229135_5_, IRenderTypeBuffer p_229135_6_, int p_229135_7_) -
Uses of LivingEntity in net.minecraft.client.renderer.entity.model
Modifier and TypeClassDescriptionclass
BipedModel<T extends LivingEntity>
class
ElytraModel<T extends LivingEntity>
class
EndermanModel<T extends LivingEntity>
class
PlayerModel<T extends LivingEntity>
-
Uses of LivingEntity in net.minecraft.client.renderer.model
Modifier and TypeMethodDescriptionstatic void
ModelHelper.animateCrossbowCharge
(ModelRenderer p_239102_0_, ModelRenderer p_239102_1_, LivingEntity p_239102_2_, boolean p_239102_3_) ItemOverrideList.resolve
(IBakedModel p_239290_1_, ItemStack p_239290_2_, ClientWorld p_239290_3_, LivingEntity p_239290_4_) (package private) boolean
ItemOverride.test
(ItemStack p_239289_1_, ClientWorld p_239289_2_, LivingEntity p_239289_3_) -
Uses of LivingEntity in net.minecraft.command.impl
Modifier and TypeMethodDescriptionprivate static LivingEntity
AttributeCommand.getEntityWithAttribute
(Entity p_241014_0_, Attribute p_241014_1_) private static LivingEntity
AttributeCommand.getLivingEntity
(Entity p_241001_0_) -
Uses of LivingEntity in net.minecraft.enchantment
Modifier and TypeMethodDescriptionvoid
DamageEnchantment.doPostAttack
(LivingEntity p_151368_1_, Entity p_151368_2_, int p_151368_3_) void
Enchantment.doPostAttack
(LivingEntity p_151368_1_, Entity p_151368_2_, int p_151368_3_) static void
EnchantmentHelper.doPostDamageEffects
(LivingEntity p_151385_0_, Entity p_151385_1_) void
Enchantment.doPostHurt
(LivingEntity p_151367_1_, Entity p_151367_2_, int p_151367_3_) void
ThornsEnchantment.doPostHurt
(LivingEntity p_151367_1_, Entity p_151367_2_, int p_151367_3_) static void
EnchantmentHelper.doPostHurtEffects
(LivingEntity p_151384_0_, Entity p_151384_1_) static int
EnchantmentHelper.getBlockEfficiency
(LivingEntity p_185293_0_) static int
EnchantmentHelper.getDepthStrider
(LivingEntity p_185294_0_) static int
EnchantmentHelper.getEnchantmentLevel
(Enchantment p_185284_0_, LivingEntity p_185284_1_) static double
ProtectionEnchantment.getExplosionKnockbackAfterDampener
(LivingEntity p_92092_0_, double p_92092_1_) static int
ProtectionEnchantment.getFireAfterDampener
(LivingEntity p_92093_0_, int p_92093_1_) static int
EnchantmentHelper.getFireAspect
(LivingEntity p_90036_0_) static int
EnchantmentHelper.getKnockbackBonus
(LivingEntity p_77501_0_) static int
EnchantmentHelper.getMobLooting
(LivingEntity p_185283_0_) static Map.Entry<EquipmentSlotType,
ItemStack> EnchantmentHelper.getRandomItemWith
(Enchantment p_222189_0_, LivingEntity p_222189_1_) static Map.Entry<EquipmentSlotType,
ItemStack> EnchantmentHelper.getRandomItemWith
(Enchantment p_234844_0_, LivingEntity p_234844_1_, Predicate<ItemStack> p_234844_2_) static int
EnchantmentHelper.getRespiration
(LivingEntity p_185292_0_) Enchantment.getSlotItems
(LivingEntity p_222181_1_) static float
EnchantmentHelper.getSweepingDamageRatio
(LivingEntity p_191527_0_) static boolean
EnchantmentHelper.hasAquaAffinity
(LivingEntity p_185287_0_) static boolean
EnchantmentHelper.hasFrostWalker
(LivingEntity p_189869_0_) static boolean
EnchantmentHelper.hasSoulSpeed
(LivingEntity p_234846_0_) static void
FrostWalkerEnchantment.onEntityMoved
(LivingEntity p_185266_0_, World p_185266_1_, BlockPos p_185266_2_, int p_185266_3_) -
Uses of LivingEntity in net.minecraft.entity
Modifier and TypeClassDescriptionclass
class
class
class
Modifier and TypeFieldDescriptionprivate LivingEntity
LivingEntity.lastHurtByMob
private LivingEntity
LivingEntity.lastHurtMob
private LivingEntity
AreaEffectCloudEntity.owner
private LivingEntity
MobEntity.target
Modifier and TypeMethodDescriptionLivingEntity.getKillCredit()
LivingEntity.getLastHurtByMob()
LivingEntity.getLastHurtMob()
AreaEffectCloudEntity.getOwner()
IAngerable.getTarget()
ICrossbowUser.getTarget()
MobEntity.getTarget()
Modifier and TypeMethodDescriptionprivate void
LivingEntity.addEatEffect
(ItemStack p_213349_1_, World p_213349_2_, LivingEntity p_213349_3_) protected void
LivingEntity.blockedByShield
(LivingEntity p_213371_1_) protected void
LivingEntity.blockUsingShield
(LivingEntity p_190629_1_) void
LivingEntity.calculateEntityAnimation
(LivingEntity p_233629_1_, boolean p_233629_2_) boolean
LivingEntity.canAttack
(LivingEntity p_213336_1_) boolean
LivingEntity.canAttack
(LivingEntity p_213344_1_, EntityPredicate p_213344_2_) boolean
MobEntity.canAttack
(LivingEntity p_213336_1_) protected void
LivingEntity.createWitherRose
(LivingEntity p_226298_1_) protected void
LivingEntity.doAutoAttackOnTouch
(LivingEntity p_204804_1_) void
Entity.doEnchantDamageEffects
(LivingEntity p_174815_1_, Entity p_174815_2_) Entity.getDismountLocationForPassenger
(LivingEntity p_230268_1_) default Vector3f
ICrossbowUser.getProjectileShotVector
(LivingEntity p_234280_1_, Vector3d p_234280_2_, float p_234280_3_) default boolean
IAngerable.isAngryAt
(LivingEntity p_233680_1_) void
Entity.killed
(ServerWorld p_241847_1_, LivingEntity p_241847_2_) default void
ICrossbowUser.performCrossbowAttack
(LivingEntity p_234281_1_, float p_234281_2_) void
IRangedAttackMob.performRangedAttack
(LivingEntity p_82196_1_, float p_82196_2_) void
IAngerable.setLastHurtByMob
(LivingEntity p_70604_1_) void
LivingEntity.setLastHurtByMob
(LivingEntity p_70604_1_) void
AreaEffectCloudEntity.setOwner
(LivingEntity p_184481_1_) void
IAngerable.setTarget
(LivingEntity p_70624_1_) void
MobEntity.setTarget
(LivingEntity p_70624_1_) default void
ICrossbowUser.shootCrossbowProjectile
(LivingEntity p_234279_1_, LivingEntity p_234279_2_, ProjectileEntity p_234279_3_, float p_234279_4_, float p_234279_5_) void
ICrossbowUser.shootCrossbowProjectile
(LivingEntity p_230284_1_, ItemStack p_230284_2_, ProjectileEntity p_230284_3_, float p_230284_4_) boolean
EntityPredicate.test
(LivingEntity p_221015_1_, LivingEntity p_221015_2_) ModifierConstructorDescriptionprotected
LivingEntity
(EntityType<? extends LivingEntity> p_i48577_1_, World p_i48577_2_) -
Uses of LivingEntity in net.minecraft.entity.ai.attributes
Modifier and TypeFieldDescriptionprivate static final Map<EntityType<? extends LivingEntity>,
AttributeModifierMap> GlobalEntityTypeAttributes.FORGE_ATTRIBUTES
Deprecated.private static final Map<EntityType<? extends LivingEntity>,
AttributeModifierMap> GlobalEntityTypeAttributes.SUPPLIERS
Modifier and TypeMethodDescriptionstatic AttributeModifierMap
GlobalEntityTypeAttributes.getSupplier
(EntityType<? extends LivingEntity> p_233835_0_) static AttributeModifierMap
GlobalEntityTypeAttributes.put
(EntityType<? extends LivingEntity> type, AttributeModifierMap map) Deprecated. -
Uses of LivingEntity in net.minecraft.entity.ai.brain
Modifier and TypeClassDescriptionclass
Brain<E extends LivingEntity>
static final class
Brain.BrainCodec<E extends LivingEntity>
Modifier and TypeMethodDescriptionstatic <E extends LivingEntity>
com.mojang.serialization.Codec<Brain<E>>Brain.codec
(Collection<? extends MemoryModuleType<?>> p_233710_0_, Collection<? extends SensorType<? extends Sensor<? super E>>> p_233710_1_) static <E extends LivingEntity>
Brain.BrainCodec<E>Brain.provider
(Collection<? extends MemoryModuleType<?>> p_233705_0_, Collection<? extends SensorType<? extends Sensor<? super E>>> p_233705_1_) Modifier and TypeMethodDescriptionstatic LivingEntity
BrainUtil.getNearestTarget
(LivingEntity p_233867_0_, Optional<LivingEntity> p_233867_1_, LivingEntity p_233867_2_) static LivingEntity
BrainUtil.getTargetNearestMe
(LivingEntity p_233863_0_, LivingEntity p_233863_1_, LivingEntity p_233863_2_) Modifier and TypeMethodDescriptionstatic Optional<LivingEntity>
BrainUtil.getLivingEntityFromUUIDMemory
(LivingEntity p_233864_0_, MemoryModuleType<UUID> p_233864_1_) Modifier and TypeMethodDescriptionstatic boolean
BrainUtil.canSee
(LivingEntity p_233876_0_, LivingEntity p_233876_1_) static boolean
BrainUtil.entityIsVisible
(Brain<?> p_220619_0_, LivingEntity p_220619_1_) static Optional<LivingEntity>
BrainUtil.getLivingEntityFromUUIDMemory
(LivingEntity p_233864_0_, MemoryModuleType<UUID> p_233864_1_) static LivingEntity
BrainUtil.getNearestTarget
(LivingEntity p_233867_0_, Optional<LivingEntity> p_233867_1_, LivingEntity p_233867_2_) static LivingEntity
BrainUtil.getTargetNearestMe
(LivingEntity p_233863_0_, LivingEntity p_233863_1_, LivingEntity p_233863_2_) static boolean
BrainUtil.isOtherTargetMuchFurtherAwayThanCurrentAttackTarget
(LivingEntity p_233861_0_, LivingEntity p_233861_1_, double p_233861_2_) static boolean
BrainUtil.isWithinAttackRange
(MobEntity p_233869_0_, LivingEntity p_233869_1_, int p_233869_2_) static boolean
BrainUtil.isWithinMeleeAttackRange
(LivingEntity p_233874_0_, LivingEntity p_233874_1_) static void
BrainUtil.lockGazeAndWalkToEachOther
(LivingEntity p_220618_0_, LivingEntity p_220618_1_, float p_220618_2_) private static void
BrainUtil.lookAtEachOther
(LivingEntity p_220616_0_, LivingEntity p_220616_1_) static void
BrainUtil.lookAtEntity
(LivingEntity p_220625_0_, LivingEntity p_220625_1_) static void
BrainUtil.setWalkAndLookTargetMemories
(LivingEntity p_233860_0_, Entity p_233860_1_, float p_233860_2_, int p_233860_3_) static void
BrainUtil.setWalkAndLookTargetMemories
(LivingEntity p_233866_0_, BlockPos p_233866_1_, float p_233866_2_, int p_233866_3_) private static void
BrainUtil.setWalkAndLookTargetMemoriesToEachOther
(LivingEntity p_220626_0_, LivingEntity p_220626_1_, float p_220626_2_) static void
BrainUtil.throwItem
(LivingEntity p_233865_0_, ItemStack p_233865_1_, Vector3d p_233865_2_) Modifier and TypeMethodDescriptionstatic LivingEntity
BrainUtil.getNearestTarget
(LivingEntity p_233867_0_, Optional<LivingEntity> p_233867_1_, LivingEntity p_233867_2_) private static boolean
BrainUtil.targetIsValid
(Brain<?> p_233870_0_, MemoryModuleType<? extends LivingEntity> p_233870_1_, Predicate<LivingEntity> p_233870_2_) private static boolean
BrainUtil.targetIsValid
(Brain<?> p_233870_0_, MemoryModuleType<? extends LivingEntity> p_233870_1_, Predicate<LivingEntity> p_233870_2_) static boolean
BrainUtil.targetIsValid
(Brain<?> p_220623_0_, MemoryModuleType<? extends LivingEntity> p_220623_1_, EntityType<?> p_220623_2_) -
Uses of LivingEntity in net.minecraft.entity.ai.brain.memory
Modifier and TypeFieldDescriptionstatic final MemoryModuleType<LivingEntity>
MemoryModuleType.ATTACK_TARGET
static final MemoryModuleType<LivingEntity>
MemoryModuleType.AVOID_TARGET
static final MemoryModuleType<LivingEntity>
MemoryModuleType.HURT_BY_ENTITY
static final MemoryModuleType<LivingEntity>
MemoryModuleType.INTERACTION_TARGET
static final MemoryModuleType<List<LivingEntity>>
MemoryModuleType.LIVING_ENTITIES
static final MemoryModuleType<LivingEntity>
MemoryModuleType.NEAREST_HOSTILE
static final MemoryModuleType<LivingEntity>
MemoryModuleType.NEAREST_VISIBLE_ZOMBIFIED
static final MemoryModuleType<List<LivingEntity>>
MemoryModuleType.VISIBLE_LIVING_ENTITIES
static final MemoryModuleType<List<LivingEntity>>
MemoryModuleType.VISIBLE_VILLAGER_BABIES
-
Uses of LivingEntity in net.minecraft.entity.ai.brain.sensor
Modifier and TypeMethodDescriptionprivate Optional<LivingEntity>
VillagerHostilesSensor.getNearestHostile
(LivingEntity p_220989_1_) private List<LivingEntity>
VillagerBabiesSensor.getNearestVillagerBabies
(LivingEntity p_220994_1_) private List<LivingEntity>
VillagerBabiesSensor.getVisibleEntities
(LivingEntity p_220992_1_) private Optional<List<LivingEntity>>
VillagerHostilesSensor.getVisibleEntities
(LivingEntity p_220990_1_) Modifier and TypeMethodDescriptionstatic void
GolemLastSeenSensor.checkForNearbyGolem
(LivingEntity p_242312_0_) private int
VillagerHostilesSensor.compareMobDistance
(LivingEntity p_220983_1_, LivingEntity p_220983_2_, LivingEntity p_220983_3_) protected void
DummySensor.doTick
(ServerWorld p_212872_1_, LivingEntity p_212872_2_) protected void
GolemLastSeenSensor.doTick
(ServerWorld p_212872_1_, LivingEntity p_212872_2_) protected void
HurtBySensor.doTick
(ServerWorld p_212872_1_, LivingEntity p_212872_2_) protected void
NearestLivingEntitiesSensor.doTick
(ServerWorld p_212872_1_, LivingEntity p_212872_2_) protected void
NearestPlayersSensor.doTick
(ServerWorld p_212872_1_, LivingEntity p_212872_2_) protected void
PiglinBruteSpecificSensor.doTick
(ServerWorld p_212872_1_, LivingEntity p_212872_2_) protected void
PiglinMobsSensor.doTick
(ServerWorld p_212872_1_, LivingEntity p_212872_2_) protected void
VillagerBabiesSensor.doTick
(ServerWorld p_212872_1_, LivingEntity p_212872_2_) protected void
VillagerHostilesSensor.doTick
(ServerWorld p_212872_1_, LivingEntity p_212872_2_) PiglinMobsSensor.findNearestRepellent
(ServerWorld p_234126_0_, LivingEntity p_234126_1_) private Optional<LivingEntity>
VillagerHostilesSensor.getNearestHostile
(LivingEntity p_220989_1_) private List<LivingEntity>
VillagerBabiesSensor.getNearestVillagerBabies
(LivingEntity p_220994_1_) private List<LivingEntity>
VillagerBabiesSensor.getVisibleEntities
(LivingEntity p_220992_1_) private Optional<List<LivingEntity>>
VillagerHostilesSensor.getVisibleEntities
(LivingEntity p_220990_1_) static void
GolemLastSeenSensor.golemDetected
(LivingEntity p_242313_0_) private boolean
VillagerHostilesSensor.isClose
(LivingEntity p_220987_1_, LivingEntity p_220987_2_) protected static boolean
Sensor.isEntityTargetable
(LivingEntity p_242316_0_, LivingEntity p_242316_1_) private boolean
VillagerHostilesSensor.isHostile
(LivingEntity p_220988_1_) private boolean
VillagerBabiesSensor.isVillagerBaby
(LivingEntity p_220993_1_) Modifier and TypeMethodDescriptionprivate void
MateSensor.setNearestVisibleAdult
(AgeableEntity p_234116_1_, List<LivingEntity> p_234116_2_) -
Uses of LivingEntity in net.minecraft.entity.ai.brain.task
Modifier and TypeClassDescriptionclass
FirstShuffledTask<E extends LivingEntity>
class
InteractWithEntityTask<E extends LivingEntity,
T extends LivingEntity> class
InteractWithEntityTask<E extends LivingEntity,
T extends LivingEntity> class
MultiTask<E extends LivingEntity>
class
PickupWantedItemTask<E extends LivingEntity>
class
PredicateTask<E extends LivingEntity>
class
RideEntityTask<E extends LivingEntity>
class
RunSometimesTask<E extends LivingEntity>
class
ShootTargetTask<E extends MobEntity & ICrossbowUser,
T extends LivingEntity> class
StopRidingEntityTask<E extends LivingEntity,
T extends Entity> class
SupplementedTask<E extends LivingEntity>
class
Task<E extends LivingEntity>
Modifier and TypeFieldDescriptionprivate final BiPredicate<LivingEntity,
LivingEntity> EndAttackTask.dancePredicate
private final BiPredicate<LivingEntity,
LivingEntity> EndAttackTask.dancePredicate
private final Predicate<LivingEntity>
LookAtEntityTask.predicate
private final Predicate<LivingEntity>
FindInteractionAndLookTargetTask.selfFilter
private final Predicate<LivingEntity>
FindNewAttackTargetTask.stopAttackingWhen
private final Predicate<LivingEntity>
FindInteractionAndLookTargetTask.targetFilter
private final Function<E,
Optional<? extends LivingEntity>> ForgetAttackTargetTask.targetFinderFunction
Modifier and TypeMethodDescriptionabstract <E extends LivingEntity>
voidMultiTask.RunType.apply
(WeightedList<Task<? super E>> p_220630_1_, ServerWorld p_220630_2_, E p_220630_3_, long p_220630_4_) private static <E extends LivingEntity>
booleanFindNewAttackTargetTask.isTiredOfTryingToReachTarget
(E p_233982_0_) static <T extends LivingEntity>
InteractWithEntityTask<LivingEntity,T> InteractWithEntityTask.of
(EntityType<? extends T> p_220445_0_, int p_220445_1_, MemoryModuleType<T> p_220445_2_, float p_220445_3_, int p_220445_4_) Modifier and TypeMethodDescriptionprivate LivingEntity
AttackTargetTask.getAttackTarget
(MobEntity p_233923_1_) private LivingEntity
EndAttackTask.getAttackTarget
(LivingEntity p_233980_1_) private LivingEntity
FindNewAttackTargetTask.getAttackTarget
(E p_233985_1_) private static LivingEntity
ShootTargetTask.getAttackTarget
(LivingEntity p_233887_0_) private LivingEntity
private LivingEntity
ShowWaresTask.lookAtTarget
(VillagerEntity p_220557_1_) private LivingEntity
WalkToVillagerBabiesTask.seeIfSomeoneIsChasingMe
(LivingEntity p_220500_1_) private LivingEntity
WalkToVillagerBabiesTask.whoAreYouChasing
(LivingEntity p_220495_1_) Modifier and TypeMethodDescriptionprivate Map<LivingEntity,
Integer> WalkToVillagerBabiesTask.checkHowManyChasersEachFriendHas
(CreatureEntity p_220505_1_) private Optional<LivingEntity>
WalkToVillagerBabiesTask.findSomeoneBeingChased
(CreatureEntity p_220497_1_) private Optional<LivingEntity>
WalkToVillagerBabiesTask.findSomeoneToChase
(CreatureEntity p_220510_1_) private List<LivingEntity>
WalkToVillagerBabiesTask.getFriendsNearby
(CreatureEntity p_220503_1_) private static com.mojang.datafixers.util.Pair<Integer,
Task<LivingEntity>> VillagerTasks.getFullLookBehavior()
private static com.mojang.datafixers.util.Pair<Integer,
Task<LivingEntity>> VillagerTasks.getMinimalLookBehavior()
private List<LivingEntity>
FindInteractionAndLookTargetTask.getVisibleEntities
(LivingEntity p_220530_1_) static <T extends LivingEntity>
InteractWithEntityTask<LivingEntity,T> InteractWithEntityTask.of
(EntityType<? extends T> p_220445_0_, int p_220445_1_, MemoryModuleType<T> p_220445_2_, float p_220445_3_, int p_220445_4_) Modifier and TypeMethodDescriptionprivate static boolean
InteractWithDoorTask.areOtherMobsComingThroughDoor
(ServerWorld p_242295_0_, LivingEntity p_242295_1_, BlockPos p_242295_2_) private boolean
ExpirePOITask.bedIsOccupied
(ServerWorld p_223019_1_, BlockPos p_223019_2_, LivingEntity p_223019_3_) protected boolean
DummyTask.canStillUse
(ServerWorld p_212834_1_, LivingEntity p_212834_2_, long p_212834_3_) protected boolean
SleepAtHomeTask.canStillUse
(ServerWorld p_212834_1_, LivingEntity p_212834_2_, long p_212834_3_) private static void
WalkToVillagerBabiesTask.chaseKid
(CreatureEntity p_220498_0_, LivingEntity p_220498_1_) protected boolean
BeginRaidTask.checkExtraStartConditions
(ServerWorld p_212832_1_, LivingEntity p_212832_2_) protected boolean
CongregateTask.checkExtraStartConditions
(ServerWorld p_212832_1_, LivingEntity p_212832_2_) protected boolean
EndAttackTask.checkExtraStartConditions
(ServerWorld p_212832_1_, LivingEntity p_212832_2_) protected boolean
ExpirePOITask.checkExtraStartConditions
(ServerWorld p_212832_1_, LivingEntity p_212832_2_) protected boolean
FindHidingPlaceDuringRaidTask.checkExtraStartConditions
(ServerWorld p_212832_1_, LivingEntity p_212832_2_) protected boolean
FindHidingPlaceTask.checkExtraStartConditions
(ServerWorld p_212832_1_, LivingEntity p_212832_2_) boolean
FindInteractionAndLookTargetTask.checkExtraStartConditions
(ServerWorld p_212832_1_, LivingEntity p_212832_2_) protected boolean
ForgetRaidTask.checkExtraStartConditions
(ServerWorld p_212832_1_, LivingEntity p_212832_2_) protected boolean
GoOutsideAfterRaidTask.checkExtraStartConditions
(ServerWorld p_212832_1_, LivingEntity p_212832_2_) protected boolean
InteractWithDoorTask.checkExtraStartConditions
(ServerWorld p_212832_1_, LivingEntity p_212832_2_) protected boolean
LookAtEntityTask.checkExtraStartConditions
(ServerWorld p_212832_1_, LivingEntity p_212832_2_) protected boolean
MoveToSkylightTask.checkExtraStartConditions
(ServerWorld p_212832_1_, LivingEntity p_212832_2_) protected boolean
RingBellTask.checkExtraStartConditions
(ServerWorld p_212832_1_, LivingEntity p_212832_2_) protected boolean
SleepAtHomeTask.checkExtraStartConditions
(ServerWorld p_212832_1_, LivingEntity p_212832_2_) protected boolean
WakeUpTask.checkExtraStartConditions
(ServerWorld p_212832_1_, LivingEntity p_212832_2_) protected boolean
WalkToHouseTask.checkExtraStartConditions
(ServerWorld p_212832_1_, LivingEntity p_212832_2_) private void
MoveToTargetTask.clearWalkTarget
(LivingEntity p_233967_1_) static void
InteractWithDoorTask.closeDoorsThatIHaveOpenedOrPassedThrough
(ServerWorld p_242294_0_, LivingEntity p_242294_1_, PathPoint p_242294_2_, PathPoint p_242294_3_) private void
ShootTargetTask.crossbowAttack
(E p_233888_1_, LivingEntity p_233888_2_) private void
ShowWaresTask.findItemsToDisplay
(LivingEntity p_220556_1_, VillagerEntity p_220556_2_) private void
WalkToVillagerBabiesTask.fleeFromChaser
(ServerWorld p_220508_1_, CreatureEntity p_220508_2_, LivingEntity p_220508_3_) private LivingEntity
EndAttackTask.getAttackTarget
(LivingEntity p_233980_1_) private static LivingEntity
ShootTargetTask.getAttackTarget
(LivingEntity p_233887_0_) private Vector3d
MoveToSkylightTask.getOutdoorPosition
(ServerWorld p_220493_1_, LivingEntity p_220493_2_) private List<LivingEntity>
FindInteractionAndLookTargetTask.getVisibleEntities
(LivingEntity p_220530_1_) static boolean
PanicTask.hasHostile
(LivingEntity p_220513_0_) static boolean
MoveToSkylightTask.hasNoBlocksAbove
(ServerWorld p_226306_0_, LivingEntity p_226306_1_, BlockPos p_226306_2_) private boolean
WalkToVillagerBabiesTask.isChasingSomeone
(LivingEntity p_220502_1_) private static boolean
InteractWithDoorTask.isDoorTooFarAway
(ServerWorld p_242296_0_, LivingEntity p_242296_1_, GlobalPos p_242296_2_) private boolean
WalkToVillagerBabiesTask.isFriendChasingMe
(LivingEntity p_220499_1_, LivingEntity p_220499_2_) static boolean
PanicTask.isHurt
(LivingEntity p_220512_0_) private boolean
FindInteractionAndLookTargetTask.isMatchingTarget
(LivingEntity p_220532_1_) private static boolean
InteractWithDoorTask.isMobComingThroughDoor
(ServerWorld p_242300_0_, LivingEntity p_242300_1_, BlockPos p_242300_2_) private boolean
InteractWithEntityTask.isTargetValid
(LivingEntity p_233914_1_) private void
ShootTargetTask.lookAtTarget
(MobEntity p_233889_1_, LivingEntity p_233889_2_) private void
InteractWithDoorTask.rememberDoorToClose
(ServerWorld p_242301_1_, LivingEntity p_242301_2_, BlockPos p_242301_3_) private LivingEntity
WalkToVillagerBabiesTask.seeIfSomeoneIsChasingMe
(LivingEntity p_220500_1_) private void
ForgetAttackTargetTask.setAttackTarget
(E p_233976_1_, LivingEntity p_233976_2_) private void
MoveToTargetTask.setWalkAndLookTarget
(LivingEntity p_233968_1_, LivingEntity p_233968_2_) protected void
BeginRaidTask.start
(ServerWorld p_212831_1_, LivingEntity p_212831_2_, long p_212831_3_) protected void
CongregateTask.start
(ServerWorld p_212831_1_, LivingEntity p_212831_2_, long p_212831_3_) protected void
EndAttackTask.start
(ServerWorld p_212831_1_, LivingEntity p_212831_2_, long p_212831_3_) protected void
ExpireHidingTask.start
(ServerWorld p_212831_1_, LivingEntity p_212831_2_, long p_212831_3_) protected void
ExpirePOITask.start
(ServerWorld p_212831_1_, LivingEntity p_212831_2_, long p_212831_3_) protected void
FindHidingPlaceTask.start
(ServerWorld p_212831_1_, LivingEntity p_212831_2_, long p_212831_3_) void
FindInteractionAndLookTargetTask.start
(ServerWorld p_212831_1_, LivingEntity p_212831_2_, long p_212831_3_) protected void
ForgetRaidTask.start
(ServerWorld p_212831_1_, LivingEntity p_212831_2_, long p_212831_3_) protected void
HideFromRaidOnBellRingTask.start
(ServerWorld p_212831_1_, LivingEntity p_212831_2_, long p_212831_3_) protected void
InteractWithDoorTask.start
(ServerWorld p_212831_1_, LivingEntity p_212831_2_, long p_212831_3_) protected void
LookAtEntityTask.start
(ServerWorld p_212831_1_, LivingEntity p_212831_2_, long p_212831_3_) protected void
MoveToSkylightTask.start
(ServerWorld p_212831_1_, LivingEntity p_212831_2_, long p_212831_3_) protected void
RandomlyStopAttackingTask.start
(ServerWorld p_212831_1_, LivingEntity p_212831_2_, long p_212831_3_) protected void
RingBellTask.start
(ServerWorld p_212831_1_, LivingEntity p_212831_2_, long p_212831_3_) protected void
SleepAtHomeTask.start
(ServerWorld p_212831_1_, LivingEntity p_212831_2_, long p_212831_3_) protected void
UpdateActivityTask.start
(ServerWorld p_212831_1_, LivingEntity p_212831_2_, long p_212831_3_) protected void
WakeUpTask.start
(ServerWorld p_212831_1_, LivingEntity p_212831_2_, long p_212831_3_) protected void
WalkToHouseTask.start
(ServerWorld p_212831_1_, LivingEntity p_212831_2_, long p_212831_3_) protected void
WalkTowardsLookTargetTask.start
(ServerWorld p_212831_1_, LivingEntity p_212831_2_, long p_212831_3_) protected void
SleepAtHomeTask.stop
(ServerWorld p_212835_1_, LivingEntity p_212835_2_, long p_212835_3_) private void
GiveHeroGiftsTask.throwGift
(VillagerEntity p_220398_1_, LivingEntity p_220398_2_) private static void
ShareItemsTask.throwHalfStack
(VillagerEntity p_220586_0_, Set<Item> p_220586_1_, LivingEntity p_220586_2_) private LivingEntity
WalkToVillagerBabiesTask.whoAreYouChasing
(LivingEntity p_220495_1_) ModifierConstructorDescriptionEndAttackTask
(int p_i231538_1_, BiPredicate<LivingEntity, LivingEntity> p_i231538_2_) EndAttackTask
(int p_i231538_1_, BiPredicate<LivingEntity, LivingEntity> p_i231538_2_) FindInteractionAndLookTargetTask
(EntityType<?> p_i50347_1_, int p_i50347_2_, Predicate<LivingEntity> p_i50347_3_, Predicate<LivingEntity> p_i50347_4_) FindNewAttackTargetTask
(Predicate<LivingEntity> p_i231539_1_) ForgetAttackTargetTask
(Function<E, Optional<? extends LivingEntity>> p_i231536_1_) ForgetAttackTargetTask
(Predicate<E> p_i231537_1_, Function<E, Optional<? extends LivingEntity>> p_i231537_2_) LookAtEntityTask
(Predicate<LivingEntity> p_i50352_1_, float p_i50352_2_) -
Uses of LivingEntity in net.minecraft.entity.ai.goal
Modifier and TypeClassDescriptionclass
AvoidEntityGoal<T extends LivingEntity>
class
NearestAttackableTargetExpiringGoal<T extends LivingEntity>
class
NearestAttackableTargetGoal<T extends LivingEntity>
class
NonTamedTargetGoal<T extends LivingEntity>
class
Modifier and TypeFieldDescriptionprivate LivingEntity
FollowOwnerGoal.owner
private LivingEntity
OwnerHurtTargetGoal.ownerLastHurt
private LivingEntity
OwnerHurtByTargetGoal.ownerLastHurtBy
private LivingEntity
DefendVillageTargetGoal.potentialTarget
private LivingEntity
CreeperSwellGoal.target
private LivingEntity
LeapAtTargetGoal.target
private LivingEntity
MoveTowardsTargetGoal.target
protected LivingEntity
NearestAttackableTargetGoal.target
private LivingEntity
OcelotAttackGoal.target
private LivingEntity
RangedAttackGoal.target
protected LivingEntity
TargetGoal.targetMob
protected T
AvoidEntityGoal.toAvoid
Modifier and TypeFieldDescriptionprotected final Predicate<LivingEntity>
AvoidEntityGoal.avoidPredicate
protected final Class<? extends LivingEntity>
LookAtGoal.lookAtType
protected final Predicate<LivingEntity>
AvoidEntityGoal.predicateOnAvoidEntity
Modifier and TypeMethodDescriptionprotected void
HurtByTargetGoal.alertOther
(MobEntity p_220793_1_, LivingEntity p_220793_2_) protected boolean
TargetGoal.canAttack
(LivingEntity p_220777_1_, EntityPredicate p_220777_2_) private boolean
TargetGoal.canReach
(LivingEntity p_75295_1_) protected void
MeleeAttackGoal.checkAndPerformAttack
(LivingEntity p_190102_1_, double p_190102_2_) protected double
MeleeAttackGoal.getAttackReachSqr
(LivingEntity p_179512_1_) void
NearestAttackableTargetGoal.setTarget
(LivingEntity p_234054_1_) ModifierConstructorDescriptionAvoidEntityGoal
(CreatureEntity p_i48860_1_, Class<T> p_i48860_2_, float p_i48860_3_, double p_i48860_4_, double p_i48860_6_, Predicate<LivingEntity> p_i48860_8_) AvoidEntityGoal
(CreatureEntity p_i48859_1_, Class<T> p_i48859_2_, Predicate<LivingEntity> p_i48859_3_, float p_i48859_4_, double p_i48859_5_, double p_i48859_7_, Predicate<LivingEntity> p_i48859_9_) LookAtGoal
(MobEntity p_i1631_1_, Class<? extends LivingEntity> p_i1631_2_, float p_i1631_3_) LookAtGoal
(MobEntity p_i1632_1_, Class<? extends LivingEntity> p_i1632_2_, float p_i1632_3_, float p_i1632_4_) LookAtWithoutMovingGoal
(MobEntity p_i1629_1_, Class<? extends LivingEntity> p_i1629_2_, float p_i1629_3_, float p_i1629_4_) NearestAttackableTargetExpiringGoal
(AbstractRaiderEntity p_i50311_1_, Class<T> p_i50311_2_, boolean p_i50311_3_, Predicate<LivingEntity> p_i50311_4_) NearestAttackableTargetGoal
(MobEntity p_i50315_1_, Class<T> p_i50315_2_, int p_i50315_3_, boolean p_i50315_4_, boolean p_i50315_5_, Predicate<LivingEntity> p_i50315_6_) NonTamedTargetGoal
(TameableEntity p_i48571_1_, Class<T> p_i48571_2_, boolean p_i48571_3_, Predicate<LivingEntity> p_i48571_4_) ToggleableNearestAttackableTargetGoal
(AbstractRaiderEntity p_i50312_1_, Class<T> p_i50312_2_, int p_i50312_3_, boolean p_i50312_4_, boolean p_i50312_5_, Predicate<LivingEntity> p_i50312_6_) -
Uses of LivingEntity in net.minecraft.entity.boss
Modifier and TypeFieldDescriptionprivate static final Predicate<LivingEntity>
WitherEntity.LIVING_ENTITY_SELECTOR
Modifier and TypeMethodDescriptionprivate void
WitherEntity.performRangedAttack
(int p_82216_1_, LivingEntity p_82216_2_) void
WitherEntity.performRangedAttack
(LivingEntity p_82196_1_, float p_82196_2_) -
Uses of LivingEntity in net.minecraft.entity.boss.dragon
-
Uses of LivingEntity in net.minecraft.entity.boss.dragon.phase
-
Uses of LivingEntity in net.minecraft.entity.item
Modifier and TypeMethodDescriptionBoatEntity.getDismountLocationForPassenger
(LivingEntity p_230268_1_) ModifierConstructorDescriptionEnderPearlEntity
(World p_i1783_1_, LivingEntity p_i1783_2_) ExperienceBottleEntity
(World p_i1786_1_, LivingEntity p_i1786_2_) TNTEntity
(World p_i1730_1_, double p_i1730_2_, double p_i1730_4_, double p_i1730_6_, LivingEntity p_i1730_8_) -
Uses of LivingEntity in net.minecraft.entity.item.minecart
Modifier and TypeMethodDescriptionAbstractMinecartEntity.getDismountLocationForPassenger
(LivingEntity p_230268_1_) -
Uses of LivingEntity in net.minecraft.entity.merchant.villager
Modifier and TypeClassDescriptionclass
class
class
-
Uses of LivingEntity in net.minecraft.entity.monster
Modifier and TypeClassDescription(package private) static class
SpiderEntity.TargetGoal<T extends LivingEntity>
Modifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
Modifier and TypeFieldDescriptionprivate LivingEntity
GuardianEntity.clientSideCachedAttackTarget
private LivingEntity
EndermanEntity.StareGoal.target
Modifier and TypeFieldDescriptionprivate static final Predicate<LivingEntity>
EndermanEntity.ENDERMITE_SELECTOR
Modifier and TypeMethodDescriptionprivate static Optional<? extends LivingEntity>
HoglinTasks.findNearestValidAttackTarget
(HoglinEntity p_234392_0_) private Optional<? extends LivingEntity>
ZoglinEntity.findNearestValidAttackTarget()
Modifier and TypeMethodDescriptionprotected void
HoglinEntity.blockedByShield
(LivingEntity p_213371_1_) protected void
RavagerEntity.blockedByShield
(LivingEntity p_213371_1_) protected void
ZoglinEntity.blockedByShield
(LivingEntity p_213371_1_) private static void
HoglinTasks.broadcastAttackTarget
(HoglinEntity p_234399_0_, LivingEntity p_234399_1_) private static void
HoglinTasks.broadcastRetreat
(HoglinEntity p_234387_0_, LivingEntity p_234387_1_) protected void
SlimeEntity.dealDamage
(LivingEntity p_175451_1_) protected double
RavagerEntity.AttackGoal.getAttackReachSqr
(LivingEntity p_179512_1_) protected double
SpiderEntity.AttackGoal.getAttackReachSqr
(LivingEntity p_179512_1_) protected double
VindicatorEntity.AttackGoal.getAttackReachSqr
(LivingEntity p_179512_1_) static boolean
IFlinging.hurtAndThrowTarget
(LivingEntity p_234403_0_, LivingEntity p_234403_1_) private static boolean
ZoglinEntity.isTargetable
(LivingEntity p_234337_0_) void
ZombieEntity.killed
(ServerWorld p_241847_1_, LivingEntity p_241847_2_) private static void
HoglinTasks.maybeRetaliate
(HoglinEntity p_234395_0_, LivingEntity p_234395_1_) boolean
DrownedEntity.okTarget
(LivingEntity p_204714_1_) protected static void
HoglinTasks.onHitTarget
(HoglinEntity p_234378_0_, LivingEntity p_234378_1_) void
AbstractSkeletonEntity.performRangedAttack
(LivingEntity p_82196_1_, float p_82196_2_) void
DrownedEntity.performRangedAttack
(LivingEntity p_82196_1_, float p_82196_2_) void
IllusionerEntity.performRangedAttack
(LivingEntity p_82196_1_, float p_82196_2_) void
PillagerEntity.performRangedAttack
(LivingEntity p_82196_1_, float p_82196_2_) void
WitchEntity.performRangedAttack
(LivingEntity p_82196_1_, float p_82196_2_) private static void
HoglinTasks.retreatFromNearestTarget
(HoglinEntity p_234390_0_, LivingEntity p_234390_1_) private static void
HoglinTasks.setAttackTarget
(HoglinEntity p_234397_0_, LivingEntity p_234397_1_) private void
ZoglinEntity.setAttackTarget
(LivingEntity p_234338_1_) private static void
HoglinTasks.setAttackTargetIfCloserThanCurrent
(HoglinEntity p_234401_0_, LivingEntity p_234401_1_) private static void
HoglinTasks.setAvoidTarget
(HoglinEntity p_234393_0_, LivingEntity p_234393_1_) void
EndermanEntity.setTarget
(LivingEntity p_70624_1_) void
ZombifiedPiglinEntity.setTarget
(LivingEntity p_70624_1_) void
PillagerEntity.shootCrossbowProjectile
(LivingEntity p_230284_1_, ItemStack p_230284_2_, ProjectileEntity p_230284_3_, float p_230284_4_) boolean
GuardianEntity.TargetPredicate.test
(LivingEntity p_test_1_) static void
IFlinging.throwTarget
(LivingEntity p_234404_0_, LivingEntity p_234404_1_) protected static void
HoglinTasks.wasHurtBy
(HoglinEntity p_234384_0_, LivingEntity p_234384_1_) ModifierConstructorDescriptionFindPlayerGoal
(EndermanEntity p_i241912_1_, Predicate<LivingEntity> p_i241912_2_) -
Uses of LivingEntity in net.minecraft.entity.monster.piglin
Modifier and TypeClassDescriptionclass
class
class
Modifier and TypeMethodDescriptionprivate static PiglinIdleActivityTask<PiglinEntity,
LivingEntity> PiglinTasks.avoidZombified()
private static PiglinIdleActivityTask<PiglinEntity,
LivingEntity> PiglinTasks.babyAvoidNemesis()
private static Optional<? extends LivingEntity>
PiglinBruteBrain.findNearestValidAttackTarget
(AbstractPiglinEntity p_242349_0_) private static Optional<? extends LivingEntity>
PiglinTasks.findNearestValidAttackTarget
(PiglinEntity p_234526_0_) private static Optional<LivingEntity>
PiglinTasks.getAngerTarget
(AbstractPiglinEntity p_234532_0_) static Optional<LivingEntity>
PiglinTasks.getAvoidTarget
(PiglinEntity p_234515_0_) private static Optional<? extends LivingEntity>
PiglinBruteBrain.getTargetIfWithinRange
(AbstractPiglinEntity p_242351_0_, MemoryModuleType<? extends LivingEntity> p_242351_1_) Modifier and TypeMethodDescriptionprivate static void
PiglinTasks.admireGoldItem
(LivingEntity p_234501_0_) protected static void
PiglinTasks.broadcastAngerTarget
(AbstractPiglinEntity p_234487_0_, LivingEntity p_234487_1_) private static void
PiglinTasks.broadcastRetreat
(PiglinEntity p_234516_0_, LivingEntity p_234516_1_) private static boolean
PiglinTasks.doesntSeeAnyPlayerHoldingLovedItem
(LivingEntity p_234514_0_) private static boolean
PiglinTasks.hasCrossbow
(LivingEntity p_234494_0_) private static boolean
PiglinBruteBrain.isAttackAllowed
(LivingEntity p_242347_0_) private static boolean
PiglinTasks.isAttackAllowed
(LivingEntity p_234506_0_) private static boolean
PiglinBruteBrain.isNearestValidAttackTarget
(AbstractPiglinEntity p_242350_0_, LivingEntity p_242350_1_) private static boolean
PiglinTasks.isNearestValidAttackTarget
(PiglinEntity p_234504_0_, LivingEntity p_234504_1_) static boolean
PiglinTasks.isPlayerHoldingLovedItem
(LivingEntity p_234482_0_) static boolean
PiglinTasks.isWearingGold
(LivingEntity p_234460_0_) protected static void
PiglinTasks.maybeRetaliate
(AbstractPiglinEntity p_234509_0_, LivingEntity p_234509_1_) void
PiglinEntity.performRangedAttack
(LivingEntity p_82196_1_, float p_82196_2_) private static void
PiglinTasks.retreatFromNearestTarget
(PiglinEntity p_234519_0_, LivingEntity p_234519_1_) private static boolean
PiglinTasks.seesPlayerHoldingLovedItem
(LivingEntity p_234510_0_) protected static void
PiglinTasks.setAngerTarget
(AbstractPiglinEntity p_234497_0_, LivingEntity p_234497_1_) private static void
PiglinTasks.setAngerTargetIfCloserThanCurrent
(AbstractPiglinEntity p_234513_0_, LivingEntity p_234513_1_) private static void
PiglinTasks.setAngerTargetToNearestTargetablePlayerIfFound
(AbstractPiglinEntity p_241431_0_, LivingEntity p_241431_1_) private static void
PiglinTasks.setAvoidTargetAndDontHuntForAWhile
(PiglinEntity p_234521_0_, LivingEntity p_234521_1_) void
PiglinEntity.shootCrossbowProjectile
(LivingEntity p_230284_1_, ItemStack p_230284_2_, ProjectileEntity p_230284_3_, float p_230284_4_) private static boolean
PiglinTasks.wantsToDance
(LivingEntity p_234461_0_, LivingEntity p_234461_1_) protected static void
PiglinBruteBrain.wasHurtBy
(PiglinBruteEntity p_242353_0_, LivingEntity p_242353_1_) protected static void
PiglinTasks.wasHurtBy
(PiglinEntity p_234468_0_, LivingEntity p_234468_1_) private static boolean
PiglinTasks.wasHurtRecently
(LivingEntity p_234517_0_) Modifier and TypeMethodDescriptionprivate static Optional<? extends LivingEntity>
PiglinBruteBrain.getTargetIfWithinRange
(AbstractPiglinEntity p_242351_0_, MemoryModuleType<? extends LivingEntity> p_242351_1_) -
Uses of LivingEntity in net.minecraft.entity.passive
Modifier and TypeClassDescription(package private) static class
CatEntity.AvoidPlayerGoal<T extends LivingEntity>
(package private) static class
OcelotEntity.AvoidEntityGoal<T extends LivingEntity>
(package private) static class
PandaEntity.AvoidGoal<T extends LivingEntity>
(package private) static class
RabbitEntity.AvoidEntityGoal<T extends LivingEntity>
(package private) class
WolfEntity.AvoidEntityGoal<T extends LivingEntity>
Modifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
Modifier and TypeFieldDescriptionprivate LivingEntity
FoxEntity.RevengeGoal.trustedLastHurt
private LivingEntity
FoxEntity.RevengeGoal.trustedLastHurtBy
Modifier and TypeFieldDescriptionstatic final Predicate<LivingEntity>
TurtleEntity.BABY_ON_LAND_SELECTOR
static final Predicate<LivingEntity>
WolfEntity.PREY_SELECTOR
Modifier and TypeMethodDescriptionprotected void
BeeEntity.AngerGoal.alertOther
(MobEntity p_220793_1_, LivingEntity p_220793_2_) protected void
PandaEntity.RevengeGoal.alertOther
(MobEntity p_220793_1_, LivingEntity p_220793_2_) protected void
PolarBearEntity.HurtByTargetGoal.alertOther
(MobEntity p_220793_1_, LivingEntity p_220793_2_) boolean
TameableEntity.canAttack
(LivingEntity p_213336_1_) protected void
FoxEntity.BiteGoal.checkAndPerformAttack
(LivingEntity p_190102_1_, double p_190102_2_) protected void
PolarBearEntity.MeleeAttackGoal.checkAndPerformAttack
(LivingEntity p_190102_1_, double p_190102_2_) protected double
PolarBearEntity.MeleeAttackGoal.getAttackReachSqr
(LivingEntity p_179512_1_) protected double
RabbitEntity.EvilAttackGoal.getAttackReachSqr
(LivingEntity p_179512_1_) PigEntity.getDismountLocationForPassenger
(LivingEntity p_230268_1_) StriderEntity.getDismountLocationForPassenger
(LivingEntity p_230268_1_) boolean
TameableEntity.isOwnedBy
(LivingEntity p_152114_1_) static boolean
FoxEntity.isPathClear
(FoxEntity p_213481_0_, LivingEntity p_213481_1_) void
SnowGolemEntity.performRangedAttack
(LivingEntity p_82196_1_, float p_82196_2_) void
FoxEntity.setTarget
(LivingEntity p_70624_1_) void
PandaEntity.WatchGoal.setTarget
(LivingEntity p_229975_1_) boolean
FoxEntity.AlertablePredicate.test
(LivingEntity p_test_1_) boolean
TameableEntity.wantsToAttack
(LivingEntity p_142018_1_, LivingEntity p_142018_2_) boolean
WolfEntity.wantsToAttack
(LivingEntity p_142018_1_, LivingEntity p_142018_2_) ModifierConstructorDescriptionRevengeGoal
(Class<LivingEntity> p_i50743_2_, boolean p_i50743_3_, boolean p_i50743_4_, Predicate<LivingEntity> p_i50743_5_) RevengeGoal
(Class<LivingEntity> p_i50743_2_, boolean p_i50743_3_, boolean p_i50743_4_, Predicate<LivingEntity> p_i50743_5_) WatchGoal
(MobEntity p_i50733_2_, Class<? extends LivingEntity> p_i50733_3_, float p_i50733_4_) WatchGoal
(PandaEntity p_i51458_1_, Class<? extends LivingEntity> p_i51458_2_, float p_i51458_3_) -
Uses of LivingEntity in net.minecraft.entity.passive.fish
Modifier and TypeClassDescriptionclass
class
class
class
class
class
Modifier and TypeFieldDescriptionprivate static final Predicate<LivingEntity>
PufferfishEntity.NO_SPECTATORS_AND_NO_WATER_MOB
-
Uses of LivingEntity in net.minecraft.entity.passive.horse
Modifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
class
Modifier and TypeFieldDescriptionprivate LivingEntity
TraderLlamaEntity.FollowTraderGoal.ownerLastHurtBy
Modifier and TypeFieldDescriptionprivate static final Predicate<LivingEntity>
AbstractHorseEntity.PARENT_HORSE_SELECTOR
Modifier and TypeMethodDescriptionAbstractHorseEntity.getDismountLocationForPassenger
(LivingEntity p_230268_1_) private Vector3d
AbstractHorseEntity.getDismountLocationInDirection
(Vector3d p_234236_1_, LivingEntity p_234236_2_) void
LlamaEntity.performRangedAttack
(LivingEntity p_82196_1_, float p_82196_2_) private void
LlamaEntity.spit
(LivingEntity p_190713_1_) -
Uses of LivingEntity in net.minecraft.entity.player
Modifier and TypeMethodDescriptionprotected void
PlayerEntity.blockUsingShield
(LivingEntity p_190629_1_) protected void
PlayerEntity.doAutoAttackOnTouch
(LivingEntity p_204804_1_) void
PlayerEntity.killed
(ServerWorld p_241847_1_, LivingEntity p_241847_2_) -
Uses of LivingEntity in net.minecraft.entity.projectile
Modifier and TypeFieldDescriptionprivate LivingEntity
FireworkRocketEntity.attachedToEntity
private LivingEntity
EvokerFangsEntity.owner
Modifier and TypeFieldDescriptionstatic final Predicate<LivingEntity>
PotionEntity.WATER_SENSITIVE
Modifier and TypeMethodDescriptionprivate void
EvokerFangsEntity.dealDamageTo
(LivingEntity p_190551_1_) protected void
AbstractArrowEntity.doPostHurtEffects
(LivingEntity p_184548_1_) protected void
ArrowEntity.doPostHurtEffects
(LivingEntity p_184548_1_) protected void
SpectralArrowEntity.doPostHurtEffects
(LivingEntity p_184548_1_) static AbstractArrowEntity
ProjectileHelper.getMobArrow
(LivingEntity p_221272_0_, ItemStack p_221272_1_, float p_221272_2_) static Hand
ProjectileHelper.getWeaponHoldingHand
(LivingEntity livingEntity, Predicate<Item> itemPredicate) static Hand
ProjectileHelper.getWeaponHoldingHand
(LivingEntity p_221274_0_, Item p_221274_1_) Deprecated.void
AbstractArrowEntity.setEnchantmentEffectsFromEntity
(LivingEntity p_190547_1_, float p_190547_2_) void
EvokerFangsEntity.setOwner
(LivingEntity p_190549_1_) ModifierConstructorDescriptionprotected
AbstractArrowEntity
(EntityType<? extends AbstractArrowEntity> p_i48548_1_, LivingEntity p_i48548_2_, World p_i48548_3_) AbstractFireballEntity
(EntityType<? extends AbstractFireballEntity> p_i50168_1_, LivingEntity p_i50168_2_, double p_i50168_3_, double p_i50168_5_, double p_i50168_7_, World p_i50168_9_) ArrowEntity
(World p_i46758_1_, LivingEntity p_i46758_2_) DamagingProjectileEntity
(EntityType<? extends DamagingProjectileEntity> p_i50175_1_, LivingEntity p_i50175_2_, double p_i50175_3_, double p_i50175_5_, double p_i50175_7_, World p_i50175_9_) DragonFireballEntity
(World p_i46776_1_, LivingEntity p_i46776_2_, double p_i46776_3_, double p_i46776_5_, double p_i46776_7_) EggEntity
(World p_i1780_1_, LivingEntity p_i1780_2_) EvokerFangsEntity
(World p_i47276_1_, double p_i47276_2_, double p_i47276_4_, double p_i47276_6_, float p_i47276_8_, int p_i47276_9_, LivingEntity p_i47276_10_) FireballEntity
(World p_i1769_1_, LivingEntity p_i1769_2_, double p_i1769_3_, double p_i1769_5_, double p_i1769_7_) FireworkRocketEntity
(World p_i47367_1_, ItemStack p_i47367_2_, LivingEntity p_i47367_3_) PotionEntity
(World p_i50150_1_, LivingEntity p_i50150_2_) ProjectileItemEntity
(EntityType<? extends ProjectileItemEntity> p_i50157_1_, LivingEntity p_i50157_2_, World p_i50157_3_) ShulkerBulletEntity
(World p_i46772_1_, LivingEntity p_i46772_2_, Entity p_i46772_3_, Direction.Axis p_i46772_4_) SmallFireballEntity
(World p_i1771_1_, LivingEntity p_i1771_2_, double p_i1771_3_, double p_i1771_5_, double p_i1771_7_) SnowballEntity
(World p_i1774_1_, LivingEntity p_i1774_2_) SpectralArrowEntity
(World p_i46768_1_, LivingEntity p_i46768_2_) protected
ThrowableEntity
(EntityType<? extends ThrowableEntity> p_i48542_1_, LivingEntity p_i48542_2_, World p_i48542_3_) TridentEntity
(World p_i48790_1_, LivingEntity p_i48790_2_, ItemStack p_i48790_3_) WitherSkullEntity
(World p_i1794_1_, LivingEntity p_i1794_2_, double p_i1794_3_, double p_i1794_5_, double p_i1794_7_) -
Uses of LivingEntity in net.minecraft.item
Modifier and TypeMethodDescription<T extends LivingEntity>
voidItemStack.hurtAndBreak
(int p_222118_1_, T p_222118_2_, Consumer<T> p_222118_3_) Modifier and TypeMethodDescriptionfloat
IItemPropertyGetter.call
(ItemStack p_call_1_, ClientWorld p_call_2_, LivingEntity p_call_3_) boolean
ElytraItem.canElytraFly
(ItemStack stack, LivingEntity entity) ArrowItem.createArrow
(World p_200887_1_, ItemStack p_200887_2_, LivingEntity p_200887_3_) SpectralArrowItem.createArrow
(World p_200887_1_, ItemStack p_200887_2_, LivingEntity p_200887_3_) boolean
ElytraItem.elytraFlightTick
(ItemStack stack, LivingEntity entity, int flightTicks) ChorusFruitItem.finishUsingItem
(ItemStack p_77654_1_, World p_77654_2_, LivingEntity p_77654_3_) HoneyBottleItem.finishUsingItem
(ItemStack p_77654_1_, World p_77654_2_, LivingEntity p_77654_3_) Item.finishUsingItem
(ItemStack p_77654_1_, World p_77654_2_, LivingEntity p_77654_3_) ItemStack.finishUsingItem
(World p_77950_1_, LivingEntity p_77950_2_) MilkBucketItem.finishUsingItem
(ItemStack p_77654_1_, World p_77654_2_, LivingEntity p_77654_3_) PotionItem.finishUsingItem
(ItemStack p_77654_1_, World p_77654_2_, LivingEntity p_77654_3_) SoupItem.finishUsingItem
(ItemStack p_77654_1_, World p_77654_2_, LivingEntity p_77654_3_) SuspiciousStewItem.finishUsingItem
(ItemStack p_77654_1_, World p_77654_2_, LivingEntity p_77654_3_) private static AbstractArrowEntity
CrossbowItem.getArrow
(World p_220024_0_, LivingEntity p_220024_1_, ItemStack p_220024_2_, ItemStack p_220024_3_) static ItemStack
ShootableItem.getHeldProjectile
(LivingEntity p_220005_0_, Predicate<ItemStack> p_220005_1_) boolean
Item.hurtEnemy
(ItemStack p_77644_1_, LivingEntity p_77644_2_, LivingEntity p_77644_3_) void
ItemStack.hurtEnemy
(LivingEntity p_77961_1_, PlayerEntity p_77961_2_) boolean
SwordItem.hurtEnemy
(ItemStack p_77644_1_, LivingEntity p_77644_2_, LivingEntity p_77644_3_) boolean
ToolItem.hurtEnemy
(ItemStack p_77644_1_, LivingEntity p_77644_2_, LivingEntity p_77644_3_) boolean
TridentItem.hurtEnemy
(ItemStack p_77644_1_, LivingEntity p_77644_2_, LivingEntity p_77644_3_) DyeItem.interactLivingEntity
(ItemStack p_111207_1_, PlayerEntity p_111207_2_, LivingEntity p_111207_3_, Hand p_111207_4_) Item.interactLivingEntity
(ItemStack p_111207_1_, PlayerEntity p_111207_2_, LivingEntity p_111207_3_, Hand p_111207_4_) ItemStack.interactLivingEntity
(PlayerEntity p_111282_1_, LivingEntity p_111282_2_, Hand p_111282_3_) NameTagItem.interactLivingEntity
(ItemStack p_111207_1_, PlayerEntity p_111207_2_, LivingEntity p_111207_3_, Hand p_111207_4_) SaddleItem.interactLivingEntity
(ItemStack p_111207_1_, PlayerEntity p_111207_2_, LivingEntity p_111207_3_, Hand p_111207_4_) ShearsItem.interactLivingEntity
(ItemStack stack, PlayerEntity playerIn, LivingEntity entity, Hand hand) private static boolean
CrossbowItem.loadProjectile
(LivingEntity p_220023_0_, ItemStack p_220023_1_, ItemStack p_220023_2_, boolean p_220023_3_, boolean p_220023_4_) boolean
Item.mineBlock
(ItemStack p_179218_1_, World p_179218_2_, BlockState p_179218_3_, BlockPos p_179218_4_, LivingEntity p_179218_5_) boolean
ShearsItem.mineBlock
(ItemStack p_179218_1_, World p_179218_2_, BlockState p_179218_3_, BlockPos p_179218_4_, LivingEntity p_179218_5_) boolean
SwordItem.mineBlock
(ItemStack p_179218_1_, World p_179218_2_, BlockState p_179218_3_, BlockPos p_179218_4_, LivingEntity p_179218_5_) boolean
ToolItem.mineBlock
(ItemStack p_179218_1_, World p_179218_2_, BlockState p_179218_3_, BlockPos p_179218_4_, LivingEntity p_179218_5_) boolean
TridentItem.mineBlock
(ItemStack p_179218_1_, World p_179218_2_, BlockState p_179218_3_, BlockPos p_179218_4_, LivingEntity p_179218_5_) private static void
CrossbowItem.onCrossbowShot
(World p_220015_0_, LivingEntity p_220015_1_, ItemStack p_220015_2_) void
CrossbowItem.onUseTick
(World p_219972_1_, LivingEntity p_219972_2_, ItemStack p_219972_3_, int p_219972_4_) void
Item.onUseTick
(World p_219972_1_, LivingEntity p_219972_2_, ItemStack p_219972_3_, int p_219972_4_) void
ItemStack.onUseTick
(World p_222121_1_, LivingEntity p_222121_2_, int p_222121_3_) static void
CrossbowItem.performShooting
(World p_220014_0_, LivingEntity p_220014_1_, Hand p_220014_2_, ItemStack p_220014_3_, float p_220014_4_, float p_220014_5_) void
BowItem.releaseUsing
(ItemStack p_77615_1_, World p_77615_2_, LivingEntity p_77615_3_, int p_77615_4_) void
CrossbowItem.releaseUsing
(ItemStack p_77615_1_, World p_77615_2_, LivingEntity p_77615_3_, int p_77615_4_) void
Item.releaseUsing
(ItemStack p_77615_1_, World p_77615_2_, LivingEntity p_77615_3_, int p_77615_4_) void
ItemStack.releaseUsing
(World p_77974_1_, LivingEntity p_77974_2_, int p_77974_3_) void
TridentItem.releaseUsing
(ItemStack p_77615_1_, World p_77615_2_, LivingEntity p_77615_3_, int p_77615_4_) private static void
CrossbowItem.shootProjectile
(World p_220016_0_, LivingEntity p_220016_1_, Hand p_220016_2_, ItemStack p_220016_3_, ItemStack p_220016_4_, float p_220016_5_, boolean p_220016_6_, float p_220016_7_, float p_220016_8_, float p_220016_9_) private static boolean
CrossbowItem.tryLoadProjectiles
(LivingEntity p_220021_0_, ItemStack p_220021_1_) -
Uses of LivingEntity in net.minecraft.network
Modifier and TypeMethodDescriptionstatic void
DebugPacketSender.sendEntityBrain
(LivingEntity p_218798_0_) -
Uses of LivingEntity in net.minecraft.network.play.server
-
Uses of LivingEntity in net.minecraft.potion
Modifier and TypeMethodDescriptionvoid
AbsorptionEffect.addAttributeModifiers
(LivingEntity p_111185_1_, AttributeModifierManager p_111185_2_, int p_111185_3_) void
Effect.addAttributeModifiers
(LivingEntity p_111185_1_, AttributeModifierManager p_111185_2_, int p_111185_3_) void
EffectInstance.applyEffect
(LivingEntity p_76457_1_) void
Effect.applyEffectTick
(LivingEntity p_76394_1_, int p_76394_2_) void
Effect.applyInstantenousEffect
(Entity p_180793_1_, Entity p_180793_2_, LivingEntity p_180793_3_, int p_180793_4_, double p_180793_5_) static int
EffectUtils.getDigSpeedAmplification
(LivingEntity p_205134_0_) static boolean
EffectUtils.hasDigSpeed
(LivingEntity p_205135_0_) static boolean
EffectUtils.hasWaterBreathing
(LivingEntity p_205133_0_) void
AbsorptionEffect.removeAttributeModifiers
(LivingEntity p_111187_1_, AttributeModifierManager p_111187_2_, int p_111187_3_) void
Effect.removeAttributeModifiers
(LivingEntity p_111187_1_, AttributeModifierManager p_111187_2_, int p_111187_3_) void
HealthBoostEffect.removeAttributeModifiers
(LivingEntity p_111187_1_, AttributeModifierManager p_111187_2_, int p_111187_3_) boolean
EffectInstance.tick
(LivingEntity p_76455_1_, Runnable p_76455_2_) -
Uses of LivingEntity in net.minecraft.tileentity
Modifier and TypeMethodDescriptionvoid
StructureBlockTileEntity.createdBy
(LivingEntity p_189720_1_) private void
BellTileEntity.glow
(LivingEntity p_222827_1_) private boolean
BellTileEntity.isRaiderWithinRange
(LivingEntity p_222832_1_) -
Uses of LivingEntity in net.minecraft.util
Modifier and TypeFieldDescriptionstatic final Predicate<LivingEntity>
EntityPredicates.LIVING_ENTITY_STILL_ALIVE
Modifier and TypeMethodDescriptionstatic boolean
TransportationHelper.canDismountTo
(ICollisionReader p_234631_0_, LivingEntity p_234631_1_, AxisAlignedBB p_234631_2_) static DamageSource
DamageSource.explosion
(LivingEntity p_188405_0_) static Vector3d
TransportationHelper.findDismountLocation
(ICollisionReader p_242381_0_, double p_242381_1_, double p_242381_3_, double p_242381_5_, LivingEntity p_242381_7_, Pose p_242381_8_) BedExplosionDamageSource.getLocalizedDeathMessage
(LivingEntity p_151519_1_) DamageSource.getLocalizedDeathMessage
(LivingEntity p_151519_1_) EntityDamageSource.getLocalizedDeathMessage
(LivingEntity p_151519_1_) IndirectEntityDamageSource.getLocalizedDeathMessage
(LivingEntity p_151519_1_) static DamageSource
DamageSource.indirectMobAttack
(Entity p_188403_0_, LivingEntity p_188403_1_) static DamageSource
DamageSource.mobAttack
(LivingEntity p_76358_0_) static DamageSource
DamageSource.sting
(LivingEntity p_226252_0_) -
Uses of LivingEntity in net.minecraft.util.math
Modifier and TypeMethodDescriptionboolean
BlockPosWrapper.isVisibleBy
(LivingEntity p_220610_1_) boolean
EntityPosWrapper.isVisibleBy
(LivingEntity p_220610_1_) boolean
IPosWrapper.isVisibleBy
(LivingEntity p_220610_1_) -
Uses of LivingEntity in net.minecraft.world
Modifier and TypeMethodDescriptiondefault <T extends LivingEntity>
List<T>IEntityReader.getNearbyEntities
(Class<? extends T> p_217374_1_, EntityPredicate p_217374_2_, LivingEntity p_217374_3_, AxisAlignedBB p_217374_4_) default <T extends LivingEntity>
TIEntityReader.getNearestEntity
(Class<? extends T> p_217360_1_, EntityPredicate p_217360_2_, LivingEntity p_217360_3_, double p_217360_4_, double p_217360_6_, double p_217360_8_, AxisAlignedBB p_217360_10_) default <T extends LivingEntity>
TIEntityReader.getNearestEntity
(List<? extends T> p_217361_1_, EntityPredicate p_217361_2_, LivingEntity p_217361_3_, double p_217361_4_, double p_217361_6_, double p_217361_8_) default <T extends LivingEntity>
TIEntityReader.getNearestLoadedEntity
(Class<? extends T> p_225318_1_, EntityPredicate p_225318_2_, LivingEntity p_225318_3_, double p_225318_4_, double p_225318_6_, double p_225318_8_, AxisAlignedBB p_225318_10_) Modifier and TypeMethodDescriptiondefault <T extends LivingEntity>
List<T>IEntityReader.getNearbyEntities
(Class<? extends T> p_217374_1_, EntityPredicate p_217374_2_, LivingEntity p_217374_3_, AxisAlignedBB p_217374_4_) default List<PlayerEntity>
IEntityReader.getNearbyPlayers
(EntityPredicate p_217373_1_, LivingEntity p_217373_2_, AxisAlignedBB p_217373_3_) default <T extends LivingEntity>
TIEntityReader.getNearestEntity
(Class<? extends T> p_217360_1_, EntityPredicate p_217360_2_, LivingEntity p_217360_3_, double p_217360_4_, double p_217360_6_, double p_217360_8_, AxisAlignedBB p_217360_10_) default <T extends LivingEntity>
TIEntityReader.getNearestEntity
(List<? extends T> p_217361_1_, EntityPredicate p_217361_2_, LivingEntity p_217361_3_, double p_217361_4_, double p_217361_6_, double p_217361_8_) default <T extends LivingEntity>
TIEntityReader.getNearestLoadedEntity
(Class<? extends T> p_225318_1_, EntityPredicate p_225318_2_, LivingEntity p_225318_3_, double p_225318_4_, double p_225318_6_, double p_225318_8_, AxisAlignedBB p_225318_10_) default PlayerEntity
IEntityReader.getNearestPlayer
(EntityPredicate p_217370_1_, LivingEntity p_217370_2_) default PlayerEntity
IEntityReader.getNearestPlayer
(EntityPredicate p_217372_1_, LivingEntity p_217372_2_, double p_217372_3_, double p_217372_5_, double p_217372_7_) -
Uses of LivingEntity in net.minecraftforge.client
Modifier and TypeMethodDescriptionstatic <A extends BipedModel<?>>
AForgeHooksClient.getArmorModel
(LivingEntity entityLiving, ItemStack itemStack, EquipmentSlotType slot, A _default) -
Uses of LivingEntity in net.minecraftforge.client.event
Modifier and TypeClassDescriptionclass
RenderLivingEvent<T extends LivingEntity,
M extends EntityModel<T>> static class
RenderLivingEvent.Post<T extends LivingEntity,
M extends EntityModel<T>> static class
RenderLivingEvent.Pre<T extends LivingEntity,
M extends EntityModel<T>> ModifierConstructorDescriptionPost
(LivingEntity entity, LivingRenderer<T, M> renderer, float partialRenderTick, MatrixStack matrixStack, IRenderTypeBuffer buffers, int light) Pre
(LivingEntity entity, LivingRenderer<T, M> renderer, float partialRenderTick, MatrixStack matrixStack, IRenderTypeBuffer buffers, int light) RenderLivingEvent
(LivingEntity entity, LivingRenderer<T, M> renderer, float partialRenderTick, MatrixStack matrixStack, IRenderTypeBuffer buffers, int light) -
Uses of LivingEntity in net.minecraftforge.client.model
Modifier and TypeMethodDescriptionDynamicBucketModel.ContainedFluidOverrideHandler.resolve
(IBakedModel originalModel, ItemStack stack, ClientWorld world, LivingEntity entity) PerspectiveMapWrapper.OverrideListWrapper.resolve
(IBakedModel model, ItemStack stack, ClientWorld worldIn, LivingEntity entityIn) -
Uses of LivingEntity in net.minecraftforge.client.model.animation
Modifier and TypeMethodDescriptionAnimationItemOverrideList.resolve
(IBakedModel originalModel, ItemStack stack, ClientWorld world, LivingEntity entity) -
Uses of LivingEntity in net.minecraftforge.common
Modifier and TypeFieldDescriptionprivate static final Map<EntityType<? extends LivingEntity>,
AttributeModifierMap> ForgeHooks.FORGE_ATTRIBUTES
Modifier and TypeMethodDescriptionstatic Map<EntityType<? extends LivingEntity>,
AttributeModifierMap> ForgeHooks.getAttributesView()
Deprecated.Modifier and TypeMethodDescriptionstatic boolean
ForgeHooks.canEntityDestroy
(World world, BlockPos pos, LivingEntity entity) static double
ForgeHooks.getEntityVisibilityMultiplier
(LivingEntity entity, Entity lookingEntity, double originalMultiplier) static int
ForgeHooks.getLootingLevel
(LivingEntity target, DamageSource cause, int level) static boolean
ForgeHooks.isLivingOnLadder
(BlockState state, World world, BlockPos pos, LivingEntity entity) Deprecated.ForgeHooks.isLivingOnLadderPos
(BlockState state, World world, BlockPos pos, LivingEntity entity) static boolean
ForgeHooks.onLivingAttack
(LivingEntity entity, DamageSource src, float amount) static float
ForgeHooks.onLivingDamage
(LivingEntity entity, DamageSource src, float amount) static boolean
ForgeHooks.onLivingDeath
(LivingEntity entity, DamageSource src) static boolean
ForgeHooks.onLivingDrops
(LivingEntity entity, DamageSource source, Collection<ItemEntity> drops, int lootingLevel, boolean recentlyHit) static float[]
ForgeHooks.onLivingFall
(LivingEntity entity, float distance, float damageMultiplier) static float
ForgeHooks.onLivingHurt
(LivingEntity entity, DamageSource src, float amount) static void
ForgeHooks.onLivingJump
(LivingEntity entity) static LivingKnockBackEvent
ForgeHooks.onLivingKnockBack
(LivingEntity target, float strength, double ratioX, double ratioZ) static void
ForgeHooks.onLivingSetAttackTarget
(LivingEntity entity, LivingEntity target) static boolean
ForgeHooks.onLivingUpdate
(LivingEntity entity) static boolean
ForgeHooks.onPlayerAttack
(LivingEntity entity, DamageSource src, float amount) Modifier and TypeMethodDescriptionstatic AttributeModifierMap
ForgeHooks.putAttributesOld
(EntityType<? extends LivingEntity> type, AttributeModifierMap map) Deprecated. -
Uses of LivingEntity in net.minecraftforge.common.extensions
Modifier and TypeMethodDescriptiondefault <T extends LivingEntity>
intIForgeItem.damageItem
(ItemStack stack, int amount, T entity, Consumer<T> onBroken) Reduce the durability of this item by the amount given.Modifier and TypeMethodDescriptiondefault boolean
IForgeBlock.addLandingEffects
(BlockState state1, ServerWorld worldserver, BlockPos pos, BlockState state2, LivingEntity entity, int numberOfParticles) Allows a block to override the standard EntityLivingBase.updateFallState particles, this is a server side method that spawns particles with WorldServer.spawnParticle.default boolean
IForgeBlockState.addLandingEffects
(ServerWorld worldserver, BlockPos pos, BlockState state2, LivingEntity entity, int numberOfParticles) Allows a block to override the standard EntityLivingBase.updateFallState particles, this is a server side method that spawns particles with WorldServer.spawnParticle.default boolean
IForgeItem.canDisableShield
(ItemStack stack, ItemStack shield, LivingEntity entity, LivingEntity attacker) Can this Item disable a shielddefault boolean
IForgeItemStack.canDisableShield
(ItemStack shield, LivingEntity entity, LivingEntity attacker) Can this Item disable a shielddefault boolean
IForgeItem.canElytraFly
(ItemStack stack, LivingEntity entity) Used to determine if the player can use Elytra flight.default boolean
IForgeItemStack.canElytraFly
(LivingEntity entity) Used to determine if the player can use Elytra flight.default void
IForgeBlock.catchFire
(BlockState state, World world, BlockPos pos, Direction face, LivingEntity igniter) If the block is flammable, this is called when it gets lit on fire.default void
IForgeBlockState.catchFire
(World world, BlockPos pos, Direction face, LivingEntity igniter) If the block is flammable, this is called when it gets lit on fire.default boolean
IForgeItem.elytraFlightTick
(ItemStack stack, LivingEntity entity, int flightTicks) Used to determine if the player can continue Elytra flight, this is called each tick, and can be used to apply ItemStack damage, consume Energy, or what have you.default boolean
IForgeItemStack.elytraFlightTick
(LivingEntity entity, int flightTicks) Used to determine if the player can continue Elytra flight, this is called each tick, and can be used to apply ItemStack damage, consume Energy, or what have you.default <A extends BipedModel<?>>
AIForgeItem.getArmorModel
(LivingEntity entityLiving, ItemStack itemStack, EquipmentSlotType armorSlot, A _default) Override this method to have an item handle its own armor rendering.IForgeBlock.getBedSpawnPosition
(EntityType<?> entityType, BlockState state, IWorldReader world, BlockPos pos, float orientation, LivingEntity sleeper) IForgeBlockState.getBedSpawnPosition
(EntityType<?> type, IWorldReader world, BlockPos pos, float orientation, LivingEntity sleeper) IForgeBlock.getRespawnPosition
(BlockState state, EntityType<?> type, IWorldReader world, BlockPos pos, float orientation, LivingEntity entity) Returns the position that the entity is moved to upon respawning at this block.IForgeBlockState.getRespawnPosition
(EntityType<?> type, IWorldReader world, BlockPos pos, float orientation, LivingEntity entity) Returns the position that the entity is moved to upon respawning at this block.default boolean
IForgeBlockState.isBed
(IBlockReader world, BlockPos pos, LivingEntity sleeper) Determines if this block is classified as a Bed, Allowing players to sleep in it, though the block has to specifically perform the sleeping functionality in it's activated event.default boolean
IForgeBlock.isLadder
(BlockState state, IWorldReader world, BlockPos pos, LivingEntity entity) Checks if a player or entity can use this block to 'climb' like a ladder.default boolean
IForgeBlockState.isLadder
(IWorldReader world, BlockPos pos, LivingEntity entity) Checks if a player or entity can use this block to 'climb' like a ladder.default boolean
IForgeBlock.isScaffolding
(BlockState state, IWorldReader world, BlockPos pos, LivingEntity entity) Checks if a player or entity handles movement on this block like scaffolding.default boolean
IForgeBlockState.isScaffolding
(LivingEntity entity) Checks if a player or entity handles movement on this block like scaffolding.default boolean
IForgeItem.isShield
(ItemStack stack, LivingEntity entity) Is this Item a shielddefault boolean
IForgeItemStack.isShield
(LivingEntity entity) Is this Item a shielddefault boolean
IForgeItem.makesPiglinsNeutral
(ItemStack stack, LivingEntity wearer) Called by Piglins to check if a given item prevents hostility on sight.default boolean
IForgeItemStack.makesPiglinsNeutral
(LivingEntity wearer) Called by Piglins to check if a given item prevents hostility on sight.default boolean
IForgeItem.onEntitySwing
(ItemStack stack, LivingEntity entity) Called when a entity tries to play the 'swing' animation.default boolean
IForgeItemStack.onEntitySwing
(LivingEntity entity) Called when a entity tries to play the 'swing' animation.default void
IForgeItem.onUsingTick
(ItemStack stack, LivingEntity player, int count) Called each tick while using an item.default void
IForgeItemStack.onUsingTick
(LivingEntity player, int count) Called each tick while using an item.default void
IForgeBlock.setBedOccupied
(BlockState state, World world, BlockPos pos, LivingEntity sleeper, boolean occupied) Called when a user either starts or stops sleeping in the bed.default void
IForgeBlockState.setBedOccupied
(World world, BlockPos pos, LivingEntity sleeper, boolean occupied) Called when a user either starts or stops sleeping in the bed. -
Uses of LivingEntity in net.minecraftforge.common.util
-
Uses of LivingEntity in net.minecraftforge.debug.block
Modifier and TypeMethodDescriptionCustomRespawnTest.CustomRespawnBlock.getRespawnPosition
(BlockState state, EntityType<?> type, IWorldReader world, BlockPos pos, float orientation, LivingEntity entity) boolean
ScaffoldingTest.ScaffoldingMethodTestBlock.isScaffolding
(BlockState state, IWorldReader world, BlockPos pos, LivingEntity entity) -
Uses of LivingEntity in net.minecraftforge.debug.item
Modifier and TypeMethodDescriptionboolean
CustomElytraTest.CustomElytra.canElytraFly
(ItemStack stack, LivingEntity entity) boolean
CustomElytraTest.CustomElytra.elytraFlightTick
(ItemStack stack, LivingEntity entity, int flightTicks) -
Uses of LivingEntity in net.minecraftforge.event
Modifier and TypeMethodDescriptionstatic boolean
ForgeEventFactory.canLivingConvert
(LivingEntity entity, EntityType<? extends LivingEntity> outcome, Consumer<Integer> timer) static boolean
ForgeEventFactory.fireSleepingLocationCheck
(LivingEntity player, BlockPos sleepingLocation) static ZombieEvent.SummonAidEvent
ForgeEventFactory.fireZombieSummonAid
(ZombieEntity zombie, World world, int x, int y, int z, LivingEntity attacker, double summonChance) static int
ForgeEventFactory.getExperienceDrop
(LivingEntity entity, PlayerEntity attackingPlayer, int originalExperience) ForgeEventFactory.onChorusFruitTeleport
(LivingEntity entity, double targetX, double targetY, double targetZ) ForgeEventFactory.onEnderTeleport
(LivingEntity entity, double targetX, double targetY, double targetZ) static boolean
ForgeEventFactory.onEntityDestroyBlock
(LivingEntity entity, BlockPos pos, BlockState state) static ItemStack
ForgeEventFactory.onItemUseFinish
(LivingEntity entity, ItemStack item, int duration, ItemStack result) static int
ForgeEventFactory.onItemUseStart
(LivingEntity entity, ItemStack item, int duration) static int
ForgeEventFactory.onItemUseTick
(LivingEntity entity, ItemStack item, int duration) static void
ForgeEventFactory.onLivingConvert
(LivingEntity entity, LivingEntity outcome) static float
ForgeEventFactory.onLivingHeal
(LivingEntity entity, float amount) private static float
ForgeEventFactory.onOldEnderTeleport
(LivingEntity entity, float attackDamage, EntityTeleportEvent event) static boolean
ForgeEventFactory.onUseItemStop
(LivingEntity entity, ItemStack item, int duration) Modifier and TypeMethodDescriptionstatic boolean
ForgeEventFactory.canLivingConvert
(LivingEntity entity, EntityType<? extends LivingEntity> outcome, Consumer<Integer> timer) -
Uses of LivingEntity in net.minecraftforge.event.entity
Modifier and TypeFieldDescriptionprivate final Map<EntityType<? extends LivingEntity>,
AttributeModifierMap.MutableAttribute> EntityAttributeModificationEvent.entityAttributes
private final List<EntityType<? extends LivingEntity>>
EntityAttributeModificationEvent.entityTypes
private final Map<EntityType<? extends LivingEntity>,
AttributeModifierMap> EntityAttributeCreationEvent.map
Modifier and TypeMethodDescriptionList<EntityType<? extends LivingEntity>>
EntityAttributeModificationEvent.getTypes()
Modifier and TypeMethodDescriptionvoid
EntityAttributeModificationEvent.add
(EntityType<? extends LivingEntity> entityType, Attribute attribute) void
EntityAttributeModificationEvent.add
(EntityType<? extends LivingEntity> entityType, Attribute attribute, double value) boolean
EntityAttributeModificationEvent.has
(EntityType<? extends LivingEntity> entityType, Attribute attribute) void
EntityAttributeCreationEvent.put
(EntityType<? extends LivingEntity> entity, AttributeModifierMap map) ModifierConstructorDescriptionEntityAttributeCreationEvent
(Map<EntityType<? extends LivingEntity>, AttributeModifierMap> map) EntityAttributeModificationEvent
(Map<EntityType<? extends LivingEntity>, AttributeModifierMap.MutableAttribute> mapIn) -
Uses of LivingEntity in net.minecraftforge.event.entity.living
Modifier and TypeFieldDescriptionprivate final LivingEntity
ZombieEvent.SummonAidEvent.attacker
private final LivingEntity
EntityTeleportEvent.ChorusFruit.entityLiving
private final LivingEntity
EntityTeleportEvent.EnderEntity.entityLiving
private final LivingEntity
LivingEvent.entityLiving
private final LivingEntity
LivingConversionEvent.Post.outcome
private final LivingEntity
LivingSetAttackTargetEvent.target
Modifier and TypeFieldDescriptionprivate final EntityType<? extends LivingEntity>
LivingConversionEvent.Pre.outcome
Modifier and TypeMethodDescriptionZombieEvent.SummonAidEvent.getAttacker()
EntityTeleportEvent.ChorusFruit.getEntityLiving()
EntityTeleportEvent.EnderEntity.getEntityLiving()
LivingEvent.getEntityLiving()
LivingConversionEvent.Post.getOutcome()
Gets the finalized new entity (with all data like potion effect and equipments set)LivingSetAttackTargetEvent.getTarget()
Modifier and TypeMethodDescriptionEntityType<? extends LivingEntity>
LivingConversionEvent.Pre.getOutcome()
Gets the entity type of the new entity this living entity is converting toModifierConstructorDescriptionChorusFruit
(LivingEntity entity, double targetX, double targetY, double targetZ) EnderEntity
(LivingEntity entity, double targetX, double targetY, double targetZ) EnderTeleportEvent
(LivingEntity entity, double targetX, double targetY, double targetZ, float attackDamage) Deprecated.Finish
(LivingEntity entity, ItemStack item, int duration, ItemStack result) LivingAttackEvent
(LivingEntity entity, DamageSource source, float amount) LivingConversionEvent
(LivingEntity entity) LivingDamageEvent
(LivingEntity entity, DamageSource source, float amount) LivingDeathEvent
(LivingEntity entity, DamageSource source) LivingDestroyBlockEvent
(LivingEntity entity, BlockPos pos, BlockState state) LivingDropsEvent
(LivingEntity entity, DamageSource source, Collection<ItemEntity> drops, int lootingLevel, boolean recentlyHit) private
LivingEntityUseItemEvent
(LivingEntity entity, ItemStack item, int duration) LivingEquipmentChangeEvent
(LivingEntity entity, EquipmentSlotType slot, ItemStack from, ItemStack to) LivingEvent
(LivingEntity entity) LivingExperienceDropEvent
(LivingEntity entity, PlayerEntity attackingPlayer, int originalExperience) LivingFallEvent
(LivingEntity entity, float distance, float damageMultiplier) LivingHealEvent
(LivingEntity entity, float amount) LivingHurtEvent
(LivingEntity entity, DamageSource source, float amount) LivingKnockBackEvent
(LivingEntity target, float strength, double ratioX, double ratioZ) LivingSetAttackTargetEvent
(LivingEntity entity, LivingEntity target) LivingVisibilityEvent
(LivingEntity livingEntity, Entity lookingEntity, double originalMultiplier) LootingLevelEvent
(LivingEntity entity, DamageSource damageSource, int lootingLevel) Post
(LivingEntity entity, LivingEntity outcome) PotionAddedEvent
(LivingEntity living, EffectInstance oldEffect, EffectInstance newEffect) PotionApplicableEvent
(LivingEntity living, EffectInstance effect) PotionColorCalculationEvent
(LivingEntity entity, int color, boolean hideParticle, Collection<EffectInstance> effectList) PotionEvent
(LivingEntity living, EffectInstance effect) PotionExpiryEvent
(LivingEntity living, EffectInstance effect) PotionRemoveEvent
(LivingEntity living, Effect potion) PotionRemoveEvent
(LivingEntity living, EffectInstance effect) Pre
(LivingEntity entity, EntityType<? extends LivingEntity> outcome, Consumer<Integer> timer) Start
(LivingEntity entity, ItemStack item, int duration) Stop
(LivingEntity entity, ItemStack item, int duration) SummonAidEvent
(ZombieEntity entity, World world, int x, int y, int z, LivingEntity attacker, double summonChance) Tick
(LivingEntity entity, ItemStack item, int duration) ModifierConstructorDescriptionPre
(LivingEntity entity, EntityType<? extends LivingEntity> outcome, Consumer<Integer> timer) -
Uses of LivingEntity in net.minecraftforge.event.entity.player
ModifierConstructorDescriptionSleepingLocationCheckEvent
(LivingEntity player, BlockPos sleepingLocation) -
Uses of LivingEntity in net.minecraftforge.items.wrapper
Modifier and TypeFieldDescriptionprotected final LivingEntity
EntityEquipmentInvWrapper.entity
The entity.Modifier and TypeMethodDescriptionstatic LazyOptional<IItemHandlerModifiable>[]
EntityEquipmentInvWrapper.create
(LivingEntity entity) ModifierConstructorDescriptionEntityArmorInvWrapper
(LivingEntity entity) EntityEquipmentInvWrapper
(LivingEntity entity, EquipmentSlotType.Group slotType) EntityHandsInvWrapper
(LivingEntity entity)
ForgeHooks.isLivingOnLadderPos(BlockState, World, BlockPos, LivingEntity)
instead in 1.16.