Uses of Class
net.minecraft.entity.LivingEntity
-
-
Uses of LivingEntity in net.minecraft.advancements.criterion
Methods in net.minecraft.advancements.criterion with parameters of type LivingEntity Modifier and Type Method Description boolean
MobEffectsPredicate. matches(LivingEntity p_193472_1_)
-
Uses of LivingEntity in net.minecraft.block
Methods in net.minecraft.block with parameters of type LivingEntity Modifier and Type Method Description void
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
Subclasses of LivingEntity in net.minecraft.client.entity.player Modifier and Type Class Description class
AbstractClientPlayerEntity
class
ClientPlayerEntity
class
RemoteClientPlayerEntity
-
Uses of LivingEntity in net.minecraft.client.gui
Methods in net.minecraft.client.gui that return LivingEntity Modifier and Type Method Description private LivingEntity
IngameGui. getPlayerVehicleWithHealth()
Methods in net.minecraft.client.gui with parameters of type LivingEntity Modifier and Type Method Description private int
IngameGui. getVehicleMaxHearts(LivingEntity p_212306_1_)
-
Uses of LivingEntity in net.minecraft.client.gui.screen.inventory
Methods in net.minecraft.client.gui.screen.inventory with parameters of type LivingEntity Modifier and Type Method Description static 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
Methods in net.minecraft.client.renderer with parameters of type LivingEntity Modifier and Type Method Description IBakedModel
ItemRenderer. 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
Classes in net.minecraft.client.renderer.entity with type parameters of type LivingEntity Modifier and Type Class Description class
LivingRenderer<T extends LivingEntity,M extends EntityModel<T>>
Methods in net.minecraft.client.renderer.entity with parameters of type LivingEntity Modifier and Type Method Description static 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
Methods in net.minecraft.client.renderer.entity.layers with type parameters of type LivingEntity Modifier and Type Method Description protected 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_)
Methods in net.minecraft.client.renderer.entity.layers with parameters of type LivingEntity Modifier and Type Method Description private 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
Classes in net.minecraft.client.renderer.entity.model with type parameters of type LivingEntity Modifier and Type Class Description class
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
Methods in net.minecraft.client.renderer.model with parameters of type LivingEntity Modifier and Type Method Description static void
ModelHelper. animateCrossbowCharge(ModelRenderer p_239102_0_, ModelRenderer p_239102_1_, LivingEntity p_239102_2_, boolean p_239102_3_)
IBakedModel
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
Methods in net.minecraft.command.impl that return LivingEntity Modifier and Type Method Description private 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
Methods in net.minecraft.enchantment with parameters of type LivingEntity Modifier and Type Method Description void
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 java.util.Map.Entry<EquipmentSlotType,ItemStack>
EnchantmentHelper. getRandomItemWith(Enchantment p_222189_0_, LivingEntity p_222189_1_)
static java.util.Map.Entry<EquipmentSlotType,ItemStack>
EnchantmentHelper. getRandomItemWith(Enchantment p_234844_0_, LivingEntity p_234844_1_, java.util.function.Predicate<ItemStack> p_234844_2_)
static int
EnchantmentHelper. getRespiration(LivingEntity p_185292_0_)
java.util.Map<EquipmentSlotType,ItemStack>
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
Subclasses of LivingEntity in net.minecraft.entity Modifier and Type Class Description class
AgeableEntity
class
CreatureEntity
class
FlyingEntity
class
MobEntity
Fields in net.minecraft.entity declared as LivingEntity Modifier and Type Field Description private LivingEntity
LivingEntity. lastHurtByMob
private LivingEntity
LivingEntity. lastHurtMob
private LivingEntity
AreaEffectCloudEntity. owner
private LivingEntity
MobEntity. target
Fields in net.minecraft.entity with type parameters of type LivingEntity Modifier and Type Field Description private java.util.function.Predicate<LivingEntity>
EntityPredicate. selector
Methods in net.minecraft.entity that return LivingEntity Modifier and Type Method Description LivingEntity
LivingEntity. getKillCredit()
LivingEntity
LivingEntity. getLastHurtByMob()
LivingEntity
LivingEntity. getLastHurtMob()
LivingEntity
AreaEffectCloudEntity. getOwner()
LivingEntity
IAngerable. getTarget()
LivingEntity
ICrossbowUser. getTarget()
LivingEntity
MobEntity. getTarget()
Methods in net.minecraft.entity with parameters of type LivingEntity Modifier and Type Method Description private 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_)
Vector3d
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_)
Method parameters in net.minecraft.entity with type arguments of type LivingEntity Modifier and Type Method Description EntityPredicate
EntityPredicate. selector(java.util.function.Predicate<LivingEntity> p_221012_1_)
Constructor parameters in net.minecraft.entity with type arguments of type LivingEntity Constructor Description LivingEntity(EntityType<? extends LivingEntity> p_i48577_1_, World p_i48577_2_)
-
Uses of LivingEntity in net.minecraft.entity.ai.attributes
Fields in net.minecraft.entity.ai.attributes with type parameters of type LivingEntity Modifier and Type Field Description private static java.util.Map<EntityType<? extends LivingEntity>,AttributeModifierMap>
GlobalEntityTypeAttributes. FORGE_ATTRIBUTES
Deprecated.private static java.util.Map<EntityType<? extends LivingEntity>,AttributeModifierMap>
GlobalEntityTypeAttributes. SUPPLIERS
Method parameters in net.minecraft.entity.ai.attributes with type arguments of type LivingEntity Modifier and Type Method Description static 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
Classes in net.minecraft.entity.ai.brain with type parameters of type LivingEntity Modifier and Type Class Description class
Brain<E extends LivingEntity>
static class
Brain.BrainCodec<E extends LivingEntity>
Methods in net.minecraft.entity.ai.brain with type parameters of type LivingEntity Modifier and Type Method Description static <E extends LivingEntity>
com.mojang.serialization.Codec<Brain<E>>Brain. codec(java.util.Collection<? extends MemoryModuleType<?>> p_233710_0_, java.util.Collection<? extends SensorType<? extends Sensor<? super E>>> p_233710_1_)
static <E extends LivingEntity>
Brain.BrainCodec<E>Brain. provider(java.util.Collection<? extends MemoryModuleType<?>> p_233705_0_, java.util.Collection<? extends SensorType<? extends Sensor<? super E>>> p_233705_1_)
Methods in net.minecraft.entity.ai.brain that return LivingEntity Modifier and Type Method Description static LivingEntity
BrainUtil. getNearestTarget(LivingEntity p_233867_0_, java.util.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_)
Methods in net.minecraft.entity.ai.brain that return types with arguments of type LivingEntity Modifier and Type Method Description static java.util.Optional<LivingEntity>
BrainUtil. getLivingEntityFromUUIDMemory(LivingEntity p_233864_0_, MemoryModuleType<java.util.UUID> p_233864_1_)
Methods in net.minecraft.entity.ai.brain with parameters of type LivingEntity Modifier and Type Method Description static boolean
BrainUtil. canSee(LivingEntity p_233876_0_, LivingEntity p_233876_1_)
static boolean
BrainUtil. entityIsVisible(Brain<?> p_220619_0_, LivingEntity p_220619_1_)
static java.util.Optional<LivingEntity>
BrainUtil. getLivingEntityFromUUIDMemory(LivingEntity p_233864_0_, MemoryModuleType<java.util.UUID> p_233864_1_)
static LivingEntity
BrainUtil. getNearestTarget(LivingEntity p_233867_0_, java.util.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_)
Method parameters in net.minecraft.entity.ai.brain with type arguments of type LivingEntity Modifier and Type Method Description static LivingEntity
BrainUtil. getNearestTarget(LivingEntity p_233867_0_, java.util.Optional<LivingEntity> p_233867_1_, LivingEntity p_233867_2_)
private static boolean
BrainUtil. targetIsValid(Brain<?> p_233870_0_, MemoryModuleType<? extends LivingEntity> p_233870_1_, java.util.function.Predicate<LivingEntity> p_233870_2_)
private static boolean
BrainUtil. targetIsValid(Brain<?> p_233870_0_, MemoryModuleType<? extends LivingEntity> p_233870_1_, java.util.function.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
Fields in net.minecraft.entity.ai.brain.memory with type parameters of type LivingEntity Modifier and Type Field Description static MemoryModuleType<LivingEntity>
MemoryModuleType. ATTACK_TARGET
static MemoryModuleType<LivingEntity>
MemoryModuleType. AVOID_TARGET
static MemoryModuleType<LivingEntity>
MemoryModuleType. HURT_BY_ENTITY
static MemoryModuleType<LivingEntity>
MemoryModuleType. INTERACTION_TARGET
static MemoryModuleType<java.util.List<LivingEntity>>
MemoryModuleType. LIVING_ENTITIES
static MemoryModuleType<LivingEntity>
MemoryModuleType. NEAREST_HOSTILE
static MemoryModuleType<LivingEntity>
MemoryModuleType. NEAREST_VISIBLE_ZOMBIFIED
static MemoryModuleType<java.util.List<LivingEntity>>
MemoryModuleType. VISIBLE_LIVING_ENTITIES
static MemoryModuleType<java.util.List<LivingEntity>>
MemoryModuleType. VISIBLE_VILLAGER_BABIES
-
Uses of LivingEntity in net.minecraft.entity.ai.brain.sensor
Classes in net.minecraft.entity.ai.brain.sensor with type parameters of type LivingEntity Modifier and Type Class Description class
Sensor<E extends LivingEntity>
Methods in net.minecraft.entity.ai.brain.sensor that return types with arguments of type LivingEntity Modifier and Type Method Description private java.util.Optional<LivingEntity>
VillagerHostilesSensor. getNearestHostile(LivingEntity p_220989_1_)
private java.util.List<LivingEntity>
VillagerBabiesSensor. getNearestVillagerBabies(LivingEntity p_220994_1_)
private java.util.List<LivingEntity>
VillagerBabiesSensor. getVisibleEntities(LivingEntity p_220992_1_)
private java.util.Optional<java.util.List<LivingEntity>>
VillagerHostilesSensor. getVisibleEntities(LivingEntity p_220990_1_)
Methods in net.minecraft.entity.ai.brain.sensor with parameters of type LivingEntity Modifier and Type Method Description static 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_)
private static java.util.Optional<BlockPos>
PiglinMobsSensor. findNearestRepellent(ServerWorld p_234126_0_, LivingEntity p_234126_1_)
private java.util.Optional<LivingEntity>
VillagerHostilesSensor. getNearestHostile(LivingEntity p_220989_1_)
private java.util.List<LivingEntity>
VillagerBabiesSensor. getNearestVillagerBabies(LivingEntity p_220994_1_)
private java.util.List<LivingEntity>
VillagerBabiesSensor. getVisibleEntities(LivingEntity p_220992_1_)
private java.util.Optional<java.util.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_)
Method parameters in net.minecraft.entity.ai.brain.sensor with type arguments of type LivingEntity Modifier and Type Method Description private void
MateSensor. setNearestVisibleAdult(AgeableEntity p_234116_1_, java.util.List<LivingEntity> p_234116_2_)
-
Uses of LivingEntity in net.minecraft.entity.ai.brain.task
Classes in net.minecraft.entity.ai.brain.task with type parameters of type LivingEntity Modifier and Type Class Description class
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>
Fields in net.minecraft.entity.ai.brain.task with type parameters of type LivingEntity Modifier and Type Field Description private java.util.function.BiPredicate<LivingEntity,LivingEntity>
EndAttackTask. dancePredicate
private java.util.function.BiPredicate<LivingEntity,LivingEntity>
EndAttackTask. dancePredicate
private java.util.function.Predicate<LivingEntity>
LookAtEntityTask. predicate
private java.util.function.Predicate<LivingEntity>
FindInteractionAndLookTargetTask. selfFilter
private java.util.function.Predicate<LivingEntity>
FindNewAttackTargetTask. stopAttackingWhen
private java.util.function.Predicate<LivingEntity>
FindInteractionAndLookTargetTask. targetFilter
private java.util.function.Function<E,java.util.Optional<? extends LivingEntity>>
ForgetAttackTargetTask. targetFinderFunction
Methods in net.minecraft.entity.ai.brain.task with type parameters of type LivingEntity Modifier and Type Method Description abstract <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_)
Methods in net.minecraft.entity.ai.brain.task that return LivingEntity Modifier and Type Method Description private 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
AttackStrafingTask. getTarget(E p_233857_1_)
private LivingEntity
ShowWaresTask. lookAtTarget(VillagerEntity p_220557_1_)
private LivingEntity
WalkToVillagerBabiesTask. seeIfSomeoneIsChasingMe(LivingEntity p_220500_1_)
private LivingEntity
WalkToVillagerBabiesTask. whoAreYouChasing(LivingEntity p_220495_1_)
Methods in net.minecraft.entity.ai.brain.task that return types with arguments of type LivingEntity Modifier and Type Method Description private java.util.Map<LivingEntity,java.lang.Integer>
WalkToVillagerBabiesTask. checkHowManyChasersEachFriendHas(CreatureEntity p_220505_1_)
private java.util.Optional<LivingEntity>
WalkToVillagerBabiesTask. findSomeoneBeingChased(CreatureEntity p_220497_1_)
private java.util.Optional<LivingEntity>
WalkToVillagerBabiesTask. findSomeoneToChase(CreatureEntity p_220510_1_)
private java.util.List<LivingEntity>
WalkToVillagerBabiesTask. getFriendsNearby(CreatureEntity p_220503_1_)
private static com.mojang.datafixers.util.Pair<java.lang.Integer,Task<LivingEntity>>
VillagerTasks. getFullLookBehavior()
private static com.mojang.datafixers.util.Pair<java.lang.Integer,Task<LivingEntity>>
VillagerTasks. getMinimalLookBehavior()
private java.util.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_)
Methods in net.minecraft.entity.ai.brain.task with parameters of type LivingEntity Modifier and Type Method Description private 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 java.util.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_, java.util.Set<Item> p_220586_1_, LivingEntity p_220586_2_)
private LivingEntity
WalkToVillagerBabiesTask. whoAreYouChasing(LivingEntity p_220495_1_)
Constructor parameters in net.minecraft.entity.ai.brain.task with type arguments of type LivingEntity Constructor Description EndAttackTask(int p_i231538_1_, java.util.function.BiPredicate<LivingEntity,LivingEntity> p_i231538_2_)
EndAttackTask(int p_i231538_1_, java.util.function.BiPredicate<LivingEntity,LivingEntity> p_i231538_2_)
FindInteractionAndLookTargetTask(EntityType<?> p_i50347_1_, int p_i50347_2_, java.util.function.Predicate<LivingEntity> p_i50347_3_, java.util.function.Predicate<LivingEntity> p_i50347_4_)
FindNewAttackTargetTask(java.util.function.Predicate<LivingEntity> p_i231539_1_)
ForgetAttackTargetTask(java.util.function.Function<E,java.util.Optional<? extends LivingEntity>> p_i231536_1_)
ForgetAttackTargetTask(java.util.function.Predicate<E> p_i231537_1_, java.util.function.Function<E,java.util.Optional<? extends LivingEntity>> p_i231537_2_)
LookAtEntityTask(java.util.function.Predicate<LivingEntity> p_i50352_1_, float p_i50352_2_)
-
Uses of LivingEntity in net.minecraft.entity.ai.goal
Classes in net.minecraft.entity.ai.goal with type parameters of type LivingEntity Modifier and Type Class Description class
AvoidEntityGoal<T extends LivingEntity>
class
NearestAttackableTargetExpiringGoal<T extends LivingEntity>
class
NearestAttackableTargetGoal<T extends LivingEntity>
class
NonTamedTargetGoal<T extends LivingEntity>
class
ToggleableNearestAttackableTargetGoal<T extends LivingEntity>
Fields in net.minecraft.entity.ai.goal declared as LivingEntity Modifier and Type Field Description private 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
Fields in net.minecraft.entity.ai.goal with type parameters of type LivingEntity Modifier and Type Field Description protected java.util.function.Predicate<LivingEntity>
AvoidEntityGoal. avoidPredicate
protected java.lang.Class<? extends LivingEntity>
LookAtGoal. lookAtType
protected java.util.function.Predicate<LivingEntity>
AvoidEntityGoal. predicateOnAvoidEntity
Methods in net.minecraft.entity.ai.goal with parameters of type LivingEntity Modifier and Type Method Description protected 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_)
Constructor parameters in net.minecraft.entity.ai.goal with type arguments of type LivingEntity Constructor Description AvoidEntityGoal(CreatureEntity p_i48860_1_, java.lang.Class<T> p_i48860_2_, float p_i48860_3_, double p_i48860_4_, double p_i48860_6_, java.util.function.Predicate<LivingEntity> p_i48860_8_)
AvoidEntityGoal(CreatureEntity p_i48859_1_, java.lang.Class<T> p_i48859_2_, java.util.function.Predicate<LivingEntity> p_i48859_3_, float p_i48859_4_, double p_i48859_5_, double p_i48859_7_, java.util.function.Predicate<LivingEntity> p_i48859_9_)
LookAtGoal(MobEntity p_i1631_1_, java.lang.Class<? extends LivingEntity> p_i1631_2_, float p_i1631_3_)
LookAtGoal(MobEntity p_i1632_1_, java.lang.Class<? extends LivingEntity> p_i1632_2_, float p_i1632_3_, float p_i1632_4_)
LookAtWithoutMovingGoal(MobEntity p_i1629_1_, java.lang.Class<? extends LivingEntity> p_i1629_2_, float p_i1629_3_, float p_i1629_4_)
NearestAttackableTargetExpiringGoal(AbstractRaiderEntity p_i50311_1_, java.lang.Class<T> p_i50311_2_, boolean p_i50311_3_, java.util.function.Predicate<LivingEntity> p_i50311_4_)
NearestAttackableTargetGoal(MobEntity p_i50315_1_, java.lang.Class<T> p_i50315_2_, int p_i50315_3_, boolean p_i50315_4_, boolean p_i50315_5_, java.util.function.Predicate<LivingEntity> p_i50315_6_)
NonTamedTargetGoal(TameableEntity p_i48571_1_, java.lang.Class<T> p_i48571_2_, boolean p_i48571_3_, java.util.function.Predicate<LivingEntity> p_i48571_4_)
ToggleableNearestAttackableTargetGoal(AbstractRaiderEntity p_i50312_1_, java.lang.Class<T> p_i50312_2_, int p_i50312_3_, boolean p_i50312_4_, boolean p_i50312_5_, java.util.function.Predicate<LivingEntity> p_i50312_6_)
-
Uses of LivingEntity in net.minecraft.entity.boss
Subclasses of LivingEntity in net.minecraft.entity.boss Modifier and Type Class Description class
WitherEntity
Fields in net.minecraft.entity.boss with type parameters of type LivingEntity Modifier and Type Field Description private static java.util.function.Predicate<LivingEntity>
WitherEntity. LIVING_ENTITY_SELECTOR
Methods in net.minecraft.entity.boss with parameters of type LivingEntity Modifier and Type Method Description private 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
Subclasses of LivingEntity in net.minecraft.entity.boss.dragon Modifier and Type Class Description class
EnderDragonEntity
-
Uses of LivingEntity in net.minecraft.entity.boss.dragon.phase
Fields in net.minecraft.entity.boss.dragon.phase declared as LivingEntity Modifier and Type Field Description private LivingEntity
StrafePlayerPhase. attackTarget
Methods in net.minecraft.entity.boss.dragon.phase with parameters of type LivingEntity Modifier and Type Method Description void
StrafePlayerPhase. setTarget(LivingEntity p_188686_1_)
-
Uses of LivingEntity in net.minecraft.entity.item
Subclasses of LivingEntity in net.minecraft.entity.item Modifier and Type Class Description class
ArmorStandEntity
Fields in net.minecraft.entity.item declared as LivingEntity Modifier and Type Field Description private LivingEntity
TNTEntity. owner
Methods in net.minecraft.entity.item that return LivingEntity Modifier and Type Method Description LivingEntity
TNTEntity. getOwner()
Methods in net.minecraft.entity.item with parameters of type LivingEntity Modifier and Type Method Description Vector3d
BoatEntity. getDismountLocationForPassenger(LivingEntity p_230268_1_)
Constructors in net.minecraft.entity.item with parameters of type LivingEntity Constructor Description EnderPearlEntity(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
Methods in net.minecraft.entity.item.minecart with parameters of type LivingEntity Modifier and Type Method Description Vector3d
AbstractMinecartEntity. getDismountLocationForPassenger(LivingEntity p_230268_1_)
-
Uses of LivingEntity in net.minecraft.entity.merchant.villager
Subclasses of LivingEntity in net.minecraft.entity.merchant.villager Modifier and Type Class Description class
AbstractVillagerEntity
class
VillagerEntity
class
WanderingTraderEntity
Methods in net.minecraft.entity.merchant.villager with parameters of type LivingEntity Modifier and Type Method Description void
VillagerEntity. setLastHurtByMob(LivingEntity p_70604_1_)
-
Uses of LivingEntity in net.minecraft.entity.monster
Classes in net.minecraft.entity.monster with type parameters of type LivingEntity Modifier and Type Class Description (package private) static class
SpiderEntity.TargetGoal<T extends LivingEntity>
Subclasses of LivingEntity in net.minecraft.entity.monster Modifier and Type Class Description class
AbstractIllagerEntity
class
AbstractRaiderEntity
class
AbstractSkeletonEntity
class
BlazeEntity
class
CaveSpiderEntity
class
CreeperEntity
class
DrownedEntity
class
ElderGuardianEntity
class
EndermanEntity
class
EndermiteEntity
class
EvokerEntity
class
GhastEntity
class
GiantEntity
class
GuardianEntity
class
HoglinEntity
class
HuskEntity
class
IllusionerEntity
class
MagmaCubeEntity
class
MonsterEntity
class
PatrollerEntity
class
PhantomEntity
class
PillagerEntity
class
RavagerEntity
class
ShulkerEntity
class
SilverfishEntity
class
SkeletonEntity
class
SlimeEntity
class
SpellcastingIllagerEntity
class
SpiderEntity
class
StrayEntity
class
VexEntity
class
VindicatorEntity
class
WitchEntity
class
WitherSkeletonEntity
class
ZoglinEntity
class
ZombieEntity
class
ZombieVillagerEntity
class
ZombifiedPiglinEntity
Fields in net.minecraft.entity.monster declared as LivingEntity Modifier and Type Field Description private LivingEntity
GuardianEntity. clientSideCachedAttackTarget
private LivingEntity
EndermanEntity.StareGoal. target
Fields in net.minecraft.entity.monster with type parameters of type LivingEntity Modifier and Type Field Description private static java.util.function.Predicate<LivingEntity>
EndermanEntity. ENDERMITE_SELECTOR
Methods in net.minecraft.entity.monster that return LivingEntity Modifier and Type Method Description LivingEntity
GuardianEntity. getActiveAttackTarget()
Methods in net.minecraft.entity.monster that return types with arguments of type LivingEntity Modifier and Type Method Description private static java.util.Optional<? extends LivingEntity>
HoglinTasks. findNearestValidAttackTarget(HoglinEntity p_234392_0_)
private java.util.Optional<? extends LivingEntity>
ZoglinEntity. findNearestValidAttackTarget()
Methods in net.minecraft.entity.monster with parameters of type LivingEntity Modifier and Type Method Description protected 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_)
Constructor parameters in net.minecraft.entity.monster with type arguments of type LivingEntity Constructor Description FindPlayerGoal(EndermanEntity p_i241912_1_, java.util.function.Predicate<LivingEntity> p_i241912_2_)
-
Uses of LivingEntity in net.minecraft.entity.monster.piglin
Subclasses of LivingEntity in net.minecraft.entity.monster.piglin Modifier and Type Class Description class
AbstractPiglinEntity
class
PiglinBruteEntity
class
PiglinEntity
Methods in net.minecraft.entity.monster.piglin that return LivingEntity Modifier and Type Method Description LivingEntity
AbstractPiglinEntity. getTarget()
Methods in net.minecraft.entity.monster.piglin that return types with arguments of type LivingEntity Modifier and Type Method Description private static PiglinIdleActivityTask<PiglinEntity,LivingEntity>
PiglinTasks. avoidZombified()
private static PiglinIdleActivityTask<PiglinEntity,LivingEntity>
PiglinTasks. babyAvoidNemesis()
private static java.util.Optional<? extends LivingEntity>
PiglinBruteBrain. findNearestValidAttackTarget(AbstractPiglinEntity p_242349_0_)
private static java.util.Optional<? extends LivingEntity>
PiglinTasks. findNearestValidAttackTarget(PiglinEntity p_234526_0_)
private static java.util.Optional<LivingEntity>
PiglinTasks. getAngerTarget(AbstractPiglinEntity p_234532_0_)
static java.util.Optional<LivingEntity>
PiglinTasks. getAvoidTarget(PiglinEntity p_234515_0_)
private static java.util.Optional<? extends LivingEntity>
PiglinBruteBrain. getTargetIfWithinRange(AbstractPiglinEntity p_242351_0_, MemoryModuleType<? extends LivingEntity> p_242351_1_)
Methods in net.minecraft.entity.monster.piglin with parameters of type LivingEntity Modifier and Type Method Description private 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_)
Method parameters in net.minecraft.entity.monster.piglin with type arguments of type LivingEntity Modifier and Type Method Description private static java.util.Optional<? extends LivingEntity>
PiglinBruteBrain. getTargetIfWithinRange(AbstractPiglinEntity p_242351_0_, MemoryModuleType<? extends LivingEntity> p_242351_1_)
-
Uses of LivingEntity in net.minecraft.entity.passive
Classes in net.minecraft.entity.passive with type parameters of type LivingEntity Modifier and Type Class Description (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>
Subclasses of LivingEntity in net.minecraft.entity.passive Modifier and Type Class Description class
AmbientEntity
class
AnimalEntity
class
BatEntity
class
BeeEntity
class
CatEntity
class
ChickenEntity
class
CowEntity
class
DolphinEntity
class
FoxEntity
class
GolemEntity
class
IronGolemEntity
class
MooshroomEntity
class
OcelotEntity
class
PandaEntity
class
ParrotEntity
class
PigEntity
class
PolarBearEntity
class
RabbitEntity
class
SheepEntity
class
ShoulderRidingEntity
class
SnowGolemEntity
class
SquidEntity
class
StriderEntity
class
TameableEntity
class
TurtleEntity
class
WaterMobEntity
class
WolfEntity
Fields in net.minecraft.entity.passive declared as LivingEntity Modifier and Type Field Description private LivingEntity
FoxEntity.RevengeGoal. trustedLastHurt
private LivingEntity
FoxEntity.RevengeGoal. trustedLastHurtBy
Fields in net.minecraft.entity.passive with type parameters of type LivingEntity Modifier and Type Field Description static java.util.function.Predicate<LivingEntity>
TurtleEntity. BABY_ON_LAND_SELECTOR
static java.util.function.Predicate<LivingEntity>
WolfEntity. PREY_SELECTOR
Methods in net.minecraft.entity.passive that return LivingEntity Modifier and Type Method Description LivingEntity
TameableEntity. getOwner()
Methods in net.minecraft.entity.passive with parameters of type LivingEntity Modifier and Type Method Description protected 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_)
Vector3d
PigEntity. getDismountLocationForPassenger(LivingEntity p_230268_1_)
Vector3d
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_)
Constructor parameters in net.minecraft.entity.passive with type arguments of type LivingEntity Constructor Description RevengeGoal(java.lang.Class<LivingEntity> p_i50743_2_, boolean p_i50743_3_, boolean p_i50743_4_, java.util.function.Predicate<LivingEntity> p_i50743_5_)
RevengeGoal(java.lang.Class<LivingEntity> p_i50743_2_, boolean p_i50743_3_, boolean p_i50743_4_, java.util.function.Predicate<LivingEntity> p_i50743_5_)
WatchGoal(MobEntity p_i50733_2_, java.lang.Class<? extends LivingEntity> p_i50733_3_, float p_i50733_4_)
WatchGoal(PandaEntity p_i51458_1_, java.lang.Class<? extends LivingEntity> p_i51458_2_, float p_i51458_3_)
-
Uses of LivingEntity in net.minecraft.entity.passive.fish
Subclasses of LivingEntity in net.minecraft.entity.passive.fish Modifier and Type Class Description class
AbstractFishEntity
class
AbstractGroupFishEntity
class
CodEntity
class
PufferfishEntity
class
SalmonEntity
class
TropicalFishEntity
Fields in net.minecraft.entity.passive.fish with type parameters of type LivingEntity Modifier and Type Field Description private static java.util.function.Predicate<LivingEntity>
PufferfishEntity. NO_SPECTATORS_AND_NO_WATER_MOB
-
Uses of LivingEntity in net.minecraft.entity.passive.horse
Subclasses of LivingEntity in net.minecraft.entity.passive.horse Modifier and Type Class Description class
AbstractChestedHorseEntity
class
AbstractHorseEntity
class
DonkeyEntity
class
HorseEntity
class
LlamaEntity
class
MuleEntity
class
SkeletonHorseEntity
class
TraderLlamaEntity
class
ZombieHorseEntity
Fields in net.minecraft.entity.passive.horse declared as LivingEntity Modifier and Type Field Description private LivingEntity
TraderLlamaEntity.FollowTraderGoal. ownerLastHurtBy
Fields in net.minecraft.entity.passive.horse with type parameters of type LivingEntity Modifier and Type Field Description private static java.util.function.Predicate<LivingEntity>
AbstractHorseEntity. PARENT_HORSE_SELECTOR
Methods in net.minecraft.entity.passive.horse with parameters of type LivingEntity Modifier and Type Method Description Vector3d
AbstractHorseEntity. 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
Subclasses of LivingEntity in net.minecraft.entity.player Modifier and Type Class Description class
PlayerEntity
class
ServerPlayerEntity
Methods in net.minecraft.entity.player with parameters of type LivingEntity Modifier and Type Method Description protected 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
Fields in net.minecraft.entity.projectile declared as LivingEntity Modifier and Type Field Description private LivingEntity
FireworkRocketEntity. attachedToEntity
private LivingEntity
EvokerFangsEntity. owner
Fields in net.minecraft.entity.projectile with type parameters of type LivingEntity Modifier and Type Field Description static java.util.function.Predicate<LivingEntity>
PotionEntity. WATER_SENSITIVE
Methods in net.minecraft.entity.projectile that return LivingEntity Modifier and Type Method Description LivingEntity
EvokerFangsEntity. getOwner()
Methods in net.minecraft.entity.projectile with parameters of type LivingEntity Modifier and Type Method Description private 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, java.util.function.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_)
Constructors in net.minecraft.entity.projectile with parameters of type LivingEntity Constructor Description 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_)
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
Methods in net.minecraft.item with type parameters of type LivingEntity Modifier and Type Method Description <T extends LivingEntity>
voidItemStack. hurtAndBreak(int p_222118_1_, T p_222118_2_, java.util.function.Consumer<T> p_222118_3_)
Methods in net.minecraft.item with parameters of type LivingEntity Modifier and Type Method Description float
IItemPropertyGetter. call(ItemStack p_call_1_, ClientWorld p_call_2_, LivingEntity p_call_3_)
boolean
ElytraItem. canElytraFly(ItemStack stack, LivingEntity entity)
AbstractArrowEntity
ArrowItem. createArrow(World p_200887_1_, ItemStack p_200887_2_, LivingEntity p_200887_3_)
AbstractArrowEntity
SpectralArrowItem. createArrow(World p_200887_1_, ItemStack p_200887_2_, LivingEntity p_200887_3_)
boolean
ElytraItem. elytraFlightTick(ItemStack stack, LivingEntity entity, int flightTicks)
ItemStack
ChorusFruitItem. finishUsingItem(ItemStack p_77654_1_, World p_77654_2_, LivingEntity p_77654_3_)
ItemStack
HoneyBottleItem. finishUsingItem(ItemStack p_77654_1_, World p_77654_2_, LivingEntity p_77654_3_)
ItemStack
Item. finishUsingItem(ItemStack p_77654_1_, World p_77654_2_, LivingEntity p_77654_3_)
ItemStack
ItemStack. finishUsingItem(World p_77950_1_, LivingEntity p_77950_2_)
ItemStack
MilkBucketItem. finishUsingItem(ItemStack p_77654_1_, World p_77654_2_, LivingEntity p_77654_3_)
ItemStack
PotionItem. finishUsingItem(ItemStack p_77654_1_, World p_77654_2_, LivingEntity p_77654_3_)
ItemStack
SoupItem. finishUsingItem(ItemStack p_77654_1_, World p_77654_2_, LivingEntity p_77654_3_)
ItemStack
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_, java.util.function.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_)
ActionResultType
DyeItem. interactLivingEntity(ItemStack p_111207_1_, PlayerEntity p_111207_2_, LivingEntity p_111207_3_, Hand p_111207_4_)
ActionResultType
Item. interactLivingEntity(ItemStack p_111207_1_, PlayerEntity p_111207_2_, LivingEntity p_111207_3_, Hand p_111207_4_)
ActionResultType
ItemStack. interactLivingEntity(PlayerEntity p_111282_1_, LivingEntity p_111282_2_, Hand p_111282_3_)
ActionResultType
NameTagItem. interactLivingEntity(ItemStack p_111207_1_, PlayerEntity p_111207_2_, LivingEntity p_111207_3_, Hand p_111207_4_)
ActionResultType
SaddleItem. interactLivingEntity(ItemStack p_111207_1_, PlayerEntity p_111207_2_, LivingEntity p_111207_3_, Hand p_111207_4_)
ActionResultType
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
Methods in net.minecraft.network with parameters of type LivingEntity Modifier and Type Method Description static void
DebugPacketSender. sendEntityBrain(LivingEntity p_218798_0_)
-
Uses of LivingEntity in net.minecraft.network.play.server
Constructors in net.minecraft.network.play.server with parameters of type LivingEntity Constructor Description SSpawnMobPacket(LivingEntity p_i46973_1_)
-
Uses of LivingEntity in net.minecraft.potion
Methods in net.minecraft.potion with parameters of type LivingEntity Modifier and Type Method Description void
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_, java.lang.Runnable p_76455_2_)
-
Uses of LivingEntity in net.minecraft.tileentity
Fields in net.minecraft.tileentity declared as LivingEntity Modifier and Type Field Description private LivingEntity
ConduitTileEntity. destroyTarget
Fields in net.minecraft.tileentity with type parameters of type LivingEntity Modifier and Type Field Description private java.util.List<LivingEntity>
BellTileEntity. nearbyEntities
Methods in net.minecraft.tileentity that return LivingEntity Modifier and Type Method Description private LivingEntity
ConduitTileEntity. findDestroyTarget()
Methods in net.minecraft.tileentity with parameters of type LivingEntity Modifier and Type Method Description void
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
Fields in net.minecraft.util declared as LivingEntity Modifier and Type Field Description private LivingEntity
CombatTracker. mob
Fields in net.minecraft.util with type parameters of type LivingEntity Modifier and Type Field Description static java.util.function.Predicate<LivingEntity>
EntityPredicates. LIVING_ENTITY_STILL_ALIVE
Methods in net.minecraft.util that return LivingEntity Modifier and Type Method Description LivingEntity
CombatTracker. getKiller()
LivingEntity
CombatTracker. getMob()
Methods in net.minecraft.util with parameters of type LivingEntity Modifier and Type Method Description static 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_)
ITextComponent
BedExplosionDamageSource. getLocalizedDeathMessage(LivingEntity p_151519_1_)
ITextComponent
DamageSource. getLocalizedDeathMessage(LivingEntity p_151519_1_)
ITextComponent
EntityDamageSource. getLocalizedDeathMessage(LivingEntity p_151519_1_)
ITextComponent
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_)
Constructors in net.minecraft.util with parameters of type LivingEntity Constructor Description CombatTracker(LivingEntity p_i1565_1_)
-
Uses of LivingEntity in net.minecraft.util.math
Methods in net.minecraft.util.math with parameters of type LivingEntity Modifier and Type Method Description boolean
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
Methods in net.minecraft.world with type parameters of type LivingEntity Modifier and Type Method Description default <T extends LivingEntity>
java.util.List<T>IEntityReader. getNearbyEntities(java.lang.Class<? extends T> p_217374_1_, EntityPredicate p_217374_2_, LivingEntity p_217374_3_, AxisAlignedBB p_217374_4_)
default <T extends LivingEntity>
TIEntityReader. getNearestEntity(java.lang.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(java.util.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(java.lang.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_)
Methods in net.minecraft.world that return LivingEntity Modifier and Type Method Description LivingEntity
Explosion. getSourceMob()
Methods in net.minecraft.world with parameters of type LivingEntity Modifier and Type Method Description default <T extends LivingEntity>
java.util.List<T>IEntityReader. getNearbyEntities(java.lang.Class<? extends T> p_217374_1_, EntityPredicate p_217374_2_, LivingEntity p_217374_3_, AxisAlignedBB p_217374_4_)
default java.util.List<PlayerEntity>
IEntityReader. getNearbyPlayers(EntityPredicate p_217373_1_, LivingEntity p_217373_2_, AxisAlignedBB p_217373_3_)
default <T extends LivingEntity>
TIEntityReader. getNearestEntity(java.lang.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(java.util.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(java.lang.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
Methods in net.minecraftforge.client with parameters of type LivingEntity Modifier and Type Method Description static <A extends BipedModel<?>>
AForgeHooksClient. getArmorModel(LivingEntity entityLiving, ItemStack itemStack, EquipmentSlotType slot, A _default)
-
Uses of LivingEntity in net.minecraftforge.client.event
Classes in net.minecraftforge.client.event with type parameters of type LivingEntity Modifier and Type Class Description class
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>>
Fields in net.minecraftforge.client.event declared as LivingEntity Modifier and Type Field Description private LivingEntity
RenderLivingEvent. entity
Methods in net.minecraftforge.client.event that return LivingEntity Modifier and Type Method Description LivingEntity
RenderLivingEvent. getEntity()
Constructors in net.minecraftforge.client.event with parameters of type LivingEntity Constructor Description Post(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
Methods in net.minecraftforge.client.model with parameters of type LivingEntity Modifier and Type Method Description IBakedModel
DynamicBucketModel.ContainedFluidOverrideHandler. resolve(IBakedModel originalModel, ItemStack stack, ClientWorld world, LivingEntity entity)
IBakedModel
PerspectiveMapWrapper.OverrideListWrapper. resolve(IBakedModel model, ItemStack stack, ClientWorld worldIn, LivingEntity entityIn)
-
Uses of LivingEntity in net.minecraftforge.client.model.animation
Methods in net.minecraftforge.client.model.animation with parameters of type LivingEntity Modifier and Type Method Description IBakedModel
AnimationItemOverrideList. resolve(IBakedModel originalModel, ItemStack stack, ClientWorld world, LivingEntity entity)
-
Uses of LivingEntity in net.minecraftforge.common
Fields in net.minecraftforge.common with type parameters of type LivingEntity Modifier and Type Field Description private static java.util.Map<EntityType<? extends LivingEntity>,AttributeModifierMap>
ForgeHooks. FORGE_ATTRIBUTES
Methods in net.minecraftforge.common that return types with arguments of type LivingEntity Modifier and Type Method Description static java.util.Map<EntityType<? extends LivingEntity>,AttributeModifierMap>
ForgeHooks. getAttributesView()
Deprecated.Methods in net.minecraftforge.common with parameters of type LivingEntity Modifier and Type Method Description static 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.UseForgeHooks.isLivingOnLadderPos(BlockState, World, BlockPos, LivingEntity)
instead in 1.16.static java.util.Optional<BlockPos>
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, java.util.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)
Method parameters in net.minecraftforge.common with type arguments of type LivingEntity Modifier and Type Method Description static AttributeModifierMap
ForgeHooks. putAttributesOld(EntityType<? extends LivingEntity> type, AttributeModifierMap map)
Deprecated. -
Uses of LivingEntity in net.minecraftforge.common.extensions
Methods in net.minecraftforge.common.extensions with type parameters of type LivingEntity Modifier and Type Method Description default <T extends LivingEntity>
intIForgeItem. damageItem(ItemStack stack, int amount, T entity, java.util.function.Consumer<T> onBroken)
Reduce the durability of this item by the amount given.Methods in net.minecraftforge.common.extensions with parameters of type LivingEntity Modifier and Type Method Description default 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.default java.util.Optional<Vector3d>
IForgeBlock. getBedSpawnPosition(EntityType<?> entityType, BlockState state, IWorldReader world, BlockPos pos, float orientation, LivingEntity sleeper)
default java.util.Optional<Vector3d>
IForgeBlockState. getBedSpawnPosition(EntityType<?> type, IWorldReader world, BlockPos pos, float orientation, LivingEntity sleeper)
default java.util.Optional<Vector3d>
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.default java.util.Optional<Vector3d>
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
Subclasses of LivingEntity in net.minecraftforge.common.util Modifier and Type Class Description class
FakePlayer
-
Uses of LivingEntity in net.minecraftforge.debug.block
Methods in net.minecraftforge.debug.block with parameters of type LivingEntity Modifier and Type Method Description java.util.Optional<Vector3d>
CustomRespawnTest.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
Methods in net.minecraftforge.debug.item with parameters of type LivingEntity Modifier and Type Method Description boolean
CustomElytraTest.CustomElytra. canElytraFly(ItemStack stack, LivingEntity entity)
boolean
CustomElytraTest.CustomElytra. elytraFlightTick(ItemStack stack, LivingEntity entity, int flightTicks)
-
Uses of LivingEntity in net.minecraftforge.event
Methods in net.minecraftforge.event with parameters of type LivingEntity Modifier and Type Method Description static boolean
ForgeEventFactory. canLivingConvert(LivingEntity entity, EntityType<? extends LivingEntity> outcome, java.util.function.Consumer<java.lang.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)
static EntityTeleportEvent.ChorusFruit
ForgeEventFactory. onChorusFruitTeleport(LivingEntity entity, double targetX, double targetY, double targetZ)
static EntityTeleportEvent.EnderEntity
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)
Method parameters in net.minecraftforge.event with type arguments of type LivingEntity Modifier and Type Method Description static boolean
ForgeEventFactory. canLivingConvert(LivingEntity entity, EntityType<? extends LivingEntity> outcome, java.util.function.Consumer<java.lang.Integer> timer)
-
Uses of LivingEntity in net.minecraftforge.event.entity
Fields in net.minecraftforge.event.entity with type parameters of type LivingEntity Modifier and Type Field Description private java.util.Map<EntityType<? extends LivingEntity>,AttributeModifierMap.MutableAttribute>
EntityAttributeModificationEvent. entityAttributes
private java.util.List<EntityType<? extends LivingEntity>>
EntityAttributeModificationEvent. entityTypes
private java.util.Map<EntityType<? extends LivingEntity>,AttributeModifierMap>
EntityAttributeCreationEvent. map
Methods in net.minecraftforge.event.entity that return types with arguments of type LivingEntity Modifier and Type Method Description java.util.List<EntityType<? extends LivingEntity>>
EntityAttributeModificationEvent. getTypes()
Method parameters in net.minecraftforge.event.entity with type arguments of type LivingEntity Modifier and Type Method Description void
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)
Constructor parameters in net.minecraftforge.event.entity with type arguments of type LivingEntity Constructor Description EntityAttributeCreationEvent(java.util.Map<EntityType<? extends LivingEntity>,AttributeModifierMap> map)
EntityAttributeModificationEvent(java.util.Map<EntityType<? extends LivingEntity>,AttributeModifierMap.MutableAttribute> mapIn)
-
Uses of LivingEntity in net.minecraftforge.event.entity.living
Fields in net.minecraftforge.event.entity.living declared as LivingEntity Modifier and Type Field Description private LivingEntity
ZombieEvent.SummonAidEvent. attacker
private LivingEntity
EntityTeleportEvent.ChorusFruit. entityLiving
private LivingEntity
EntityTeleportEvent.EnderEntity. entityLiving
private LivingEntity
LivingEvent. entityLiving
private LivingEntity
LivingConversionEvent.Post. outcome
private LivingEntity
LivingSetAttackTargetEvent. target
Fields in net.minecraftforge.event.entity.living with type parameters of type LivingEntity Modifier and Type Field Description private EntityType<? extends LivingEntity>
LivingConversionEvent.Pre. outcome
Methods in net.minecraftforge.event.entity.living that return LivingEntity Modifier and Type Method Description LivingEntity
ZombieEvent.SummonAidEvent. getAttacker()
LivingEntity
EntityTeleportEvent.ChorusFruit. getEntityLiving()
LivingEntity
EntityTeleportEvent.EnderEntity. getEntityLiving()
LivingEntity
LivingEvent. getEntityLiving()
LivingEntity
LivingConversionEvent.Post. getOutcome()
Gets the finalized new entity (with all data like potion effect and equipments set)LivingEntity
LivingSetAttackTargetEvent. getTarget()
Methods in net.minecraftforge.event.entity.living that return types with arguments of type LivingEntity Modifier and Type Method Description EntityType<? extends LivingEntity>
LivingConversionEvent.Pre. getOutcome()
Gets the entity type of the new entity this living entity is converting toConstructors in net.minecraftforge.event.entity.living with parameters of type LivingEntity Constructor Description ChorusFruit(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, java.util.Collection<ItemEntity> drops, int lootingLevel, boolean recentlyHit)
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)
LivingJumpEvent(LivingEntity e)
LivingKnockBackEvent(LivingEntity target, float strength, double ratioX, double ratioZ)
LivingSetAttackTargetEvent(LivingEntity entity, LivingEntity target)
LivingUpdateEvent(LivingEntity e)
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, java.util.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, java.util.function.Consumer<java.lang.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)
Constructor parameters in net.minecraftforge.event.entity.living with type arguments of type LivingEntity Constructor Description Pre(LivingEntity entity, EntityType<? extends LivingEntity> outcome, java.util.function.Consumer<java.lang.Integer> timer)
-
Uses of LivingEntity in net.minecraftforge.event.entity.player
Constructors in net.minecraftforge.event.entity.player with parameters of type LivingEntity Constructor Description SleepingLocationCheckEvent(LivingEntity player, BlockPos sleepingLocation)
-
Uses of LivingEntity in net.minecraftforge.items.wrapper
Fields in net.minecraftforge.items.wrapper declared as LivingEntity Modifier and Type Field Description protected LivingEntity
EntityEquipmentInvWrapper. entity
The entity.Methods in net.minecraftforge.items.wrapper with parameters of type LivingEntity Modifier and Type Method Description static LazyOptional<IItemHandlerModifiable>[]
EntityEquipmentInvWrapper. create(LivingEntity entity)
Constructors in net.minecraftforge.items.wrapper with parameters of type LivingEntity Constructor Description EntityArmorInvWrapper(LivingEntity entity)
EntityEquipmentInvWrapper(LivingEntity entity, EquipmentSlotType.Group slotType)
EntityHandsInvWrapper(LivingEntity entity)
-