Modifier and Type | Method and Description |
---|---|
boolean |
MobEffectsPredicate.test(LivingEntity entityIn) |
Modifier and Type | Method and Description |
---|---|
void |
TNTBlock.catchFire(BlockState state,
World world,
BlockPos pos,
Direction face,
LivingEntity igniter) |
private static void |
TNTBlock.explode(World worldIn,
BlockPos pos,
LivingEntity entityIn)
Deprecated.
|
boolean |
VineBlock.isLadder(BlockState state,
IWorldReader world,
BlockPos pos,
LivingEntity entity) |
boolean |
ScaffoldingBlock.isLadder(BlockState state,
IWorldReader world,
BlockPos pos,
LivingEntity entity) |
boolean |
LadderBlock.isLadder(BlockState state,
IWorldReader world,
BlockPos pos,
LivingEntity entity) |
boolean |
TrapDoorBlock.isLadder(BlockState state,
IWorldReader world,
BlockPos pos,
LivingEntity entity) |
void |
SkullWallPlayerBlock.onBlockPlacedBy(World worldIn,
BlockPos pos,
BlockState state,
LivingEntity placer,
ItemStack stack) |
void |
CommandBlockBlock.onBlockPlacedBy(World worldIn,
BlockPos pos,
BlockState state,
LivingEntity placer,
ItemStack stack) |
void |
TripWireHookBlock.onBlockPlacedBy(World worldIn,
BlockPos pos,
BlockState state,
LivingEntity placer,
ItemStack stack) |
void |
BeaconBlock.onBlockPlacedBy(World worldIn,
BlockPos pos,
BlockState state,
LivingEntity placer,
ItemStack stack) |
void |
DoorBlock.onBlockPlacedBy(World worldIn,
BlockPos pos,
BlockState state,
LivingEntity placer,
ItemStack stack) |
void |
BedBlock.onBlockPlacedBy(World worldIn,
BlockPos pos,
BlockState state,
LivingEntity placer,
ItemStack stack) |
void |
AbstractBannerBlock.onBlockPlacedBy(World worldIn,
BlockPos pos,
BlockState state,
LivingEntity placer,
ItemStack stack) |
void |
WitherSkeletonSkullBlock.onBlockPlacedBy(World worldIn,
BlockPos pos,
BlockState state,
LivingEntity placer,
ItemStack stack) |
void |
StructureBlock.onBlockPlacedBy(World worldIn,
BlockPos pos,
BlockState state,
LivingEntity placer,
ItemStack stack) |
void |
DispenserBlock.onBlockPlacedBy(World worldIn,
BlockPos pos,
BlockState state,
LivingEntity placer,
ItemStack stack) |
void |
ShulkerBoxBlock.onBlockPlacedBy(World worldIn,
BlockPos pos,
BlockState state,
LivingEntity placer,
ItemStack stack) |
void |
RedstoneDiodeBlock.onBlockPlacedBy(World worldIn,
BlockPos pos,
BlockState state,
LivingEntity placer,
ItemStack stack) |
void |
BarrelBlock.onBlockPlacedBy(World worldIn,
BlockPos pos,
BlockState state,
LivingEntity placer,
ItemStack stack) |
void |
HopperBlock.onBlockPlacedBy(World worldIn,
BlockPos pos,
BlockState state,
LivingEntity placer,
ItemStack stack) |
void |
WitherSkeletonWallSkullBlock.onBlockPlacedBy(World worldIn,
BlockPos pos,
BlockState state,
LivingEntity placer,
ItemStack stack) |
void |
ConduitBlock.onBlockPlacedBy(World worldIn,
BlockPos pos,
BlockState state,
LivingEntity placer,
ItemStack stack) |
void |
EnchantingTableBlock.onBlockPlacedBy(World worldIn,
BlockPos pos,
BlockState state,
LivingEntity placer,
ItemStack stack) |
void |
PistonBlock.onBlockPlacedBy(World worldIn,
BlockPos pos,
BlockState state,
LivingEntity placer,
ItemStack stack) |
void |
BrewingStandBlock.onBlockPlacedBy(World worldIn,
BlockPos pos,
BlockState state,
LivingEntity placer,
ItemStack stack) |
void |
Block.onBlockPlacedBy(World worldIn,
BlockPos pos,
BlockState state,
LivingEntity placer,
ItemStack stack) |
void |
DoublePlantBlock.onBlockPlacedBy(World worldIn,
BlockPos pos,
BlockState state,
LivingEntity placer,
ItemStack stack) |
void |
SkullPlayerBlock.onBlockPlacedBy(World worldIn,
BlockPos pos,
BlockState state,
LivingEntity placer,
ItemStack stack) |
void |
AbstractFurnaceBlock.onBlockPlacedBy(World worldIn,
BlockPos pos,
BlockState state,
LivingEntity placer,
ItemStack stack) |
void |
ChestBlock.onBlockPlacedBy(World worldIn,
BlockPos pos,
BlockState state,
LivingEntity placer,
ItemStack stack) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractClientPlayerEntity |
class |
ClientPlayerEntity |
class |
RemoteClientPlayerEntity |
Modifier and Type | Method and Description |
---|---|
private LivingEntity |
IngameGui.getMountEntity() |
Modifier and Type | Method and Description |
---|---|
private int |
IngameGui.getRenderMountHealth(LivingEntity p_212306_1_) |
Modifier and Type | Method and Description |
---|---|
static void |
InventoryScreen.drawEntityOnScreen(int posX,
int posY,
int scale,
float mouseX,
float mouseY,
LivingEntity p_228187_5_) |
Modifier and Type | Method and Description |
---|---|
IBakedModel |
ItemRenderer.getItemModelWithOverrides(ItemStack stack,
World worldIn,
LivingEntity entitylivingbaseIn) |
private IBakedModel |
ItemRenderer.getModelWithOverrides(IBakedModel model,
ItemStack stack,
World worldIn,
LivingEntity entityIn) |
static float |
GameRenderer.getNightVisionBrightness(LivingEntity livingEntityIn,
float entitylivingbaseIn) |
void |
ItemRenderer.renderItem(LivingEntity livingEntityIn,
ItemStack itemStackIn,
ItemCameraTransforms.TransformType transformTypeIn,
boolean leftHand,
MatrixStack matrixStackIn,
IRenderTypeBuffer bufferIn,
World worldIn,
int combinedLightIn,
int combinedOverlayIn) |
void |
ItemRenderer.renderItemAndEffectIntoGUI(LivingEntity entityIn,
ItemStack itemIn,
int x,
int y) |
void |
FirstPersonRenderer.renderItemSide(LivingEntity livingEntityIn,
ItemStack itemStackIn,
ItemCameraTransforms.TransformType transformTypeIn,
boolean leftHand,
MatrixStack matrixStackIn,
IRenderTypeBuffer bufferIn,
int combinedLightIn) |
Modifier and Type | Class and Description |
---|---|
class |
LivingRenderer<T extends LivingEntity,M extends EntityModel<T>> |
Modifier and Type | Method and Description |
---|---|
static int |
LivingRenderer.getPackedOverlay(LivingEntity livingEntityIn,
float uIn) |
private Vec3d |
GuardianRenderer.getPosition(LivingEntity entityLivingBaseIn,
double p_177110_2_,
float p_177110_4_) |
Modifier and Type | Method and Description |
---|---|
protected static <T extends LivingEntity> |
LayerRenderer.renderCopyCutoutModel(EntityModel<T> modelParentIn,
EntityModel<T> modelIn,
ResourceLocation textureLocationIn,
MatrixStack matrixStackIn,
IRenderTypeBuffer bufferIn,
int packedLightIn,
T entityIn,
float limbSwing,
float limbSwingAmount,
float ageInTicks,
float netHeadYaw,
float headPitch,
float partialTicks,
float red,
float green,
float blue) |
protected static <T extends LivingEntity> |
LayerRenderer.renderCutoutModel(EntityModel<T> modelIn,
ResourceLocation textureLocationIn,
MatrixStack matrixStackIn,
IRenderTypeBuffer bufferIn,
int packedLightIn,
T entityIn,
float red,
float green,
float blue) |
Modifier and Type | Method and Description |
---|---|
private void |
HeldItemLayer.func_229135_a_(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_) |
Modifier and Type | Class and Description |
---|---|
class |
BipedModel<T extends LivingEntity> |
class |
ElytraModel<T extends LivingEntity> |
class |
EndermanModel<T extends LivingEntity> |
class |
PlayerModel<T extends LivingEntity> |
Modifier and Type | Method and Description |
---|---|
IBakedModel |
ItemOverrideList.getModelWithOverrides(IBakedModel model,
ItemStack stack,
World worldIn,
LivingEntity entityIn) |
(package private) boolean |
ItemOverride.matchesItemStack(ItemStack stack,
World worldIn,
LivingEntity livingEntity) |
Modifier and Type | Method and Description |
---|---|
static void |
EnchantmentHelper.applyArthropodEnchantments(LivingEntity user,
Entity target) |
static void |
EnchantmentHelper.applyThornEnchantments(LivingEntity user,
Entity attacker) |
static void |
FrostWalkerEnchantment.freezeNearby(LivingEntity living,
World worldIn,
BlockPos pos,
int level) |
static double |
ProtectionEnchantment.getBlastDamageReduction(LivingEntity entityLivingBaseIn,
double damage) |
static int |
EnchantmentHelper.getDepthStriderModifier(LivingEntity entityIn) |
static int |
EnchantmentHelper.getEfficiencyModifier(LivingEntity entityIn) |
java.util.Map<EquipmentSlotType,ItemStack> |
Enchantment.getEntityEquipment(LivingEntity livingEntityIn) |
static int |
EnchantmentHelper.getFireAspectModifier(LivingEntity player) |
static int |
ProtectionEnchantment.getFireTimeForEntity(LivingEntity p_92093_0_,
int p_92093_1_) |
static int |
EnchantmentHelper.getKnockbackModifier(LivingEntity player) |
static int |
EnchantmentHelper.getLootingModifier(LivingEntity entityIn) |
static int |
EnchantmentHelper.getMaxEnchantmentLevel(Enchantment enchantmentIn,
LivingEntity entityIn) |
static java.util.Map.Entry<EquipmentSlotType,ItemStack> |
EnchantmentHelper.getRandomItemWithEnchantment(Enchantment targetEnchantment,
LivingEntity entityIn) |
static int |
EnchantmentHelper.getRespirationModifier(LivingEntity entityIn) |
static float |
EnchantmentHelper.getSweepingDamageRatio(LivingEntity entityIn) |
static boolean |
EnchantmentHelper.hasAquaAffinity(LivingEntity entityIn) |
static boolean |
EnchantmentHelper.hasFrostWalker(LivingEntity player) |
void |
DamageEnchantment.onEntityDamaged(LivingEntity user,
Entity target,
int level) |
void |
Enchantment.onEntityDamaged(LivingEntity user,
Entity target,
int level) |
void |
ThornsEnchantment.onUserHurt(LivingEntity user,
Entity attacker,
int level) |
void |
Enchantment.onUserHurt(LivingEntity user,
Entity attacker,
int level) |
Modifier and Type | Class and Description |
---|---|
class |
AgeableEntity |
class |
CreatureEntity |
class |
FlyingEntity |
class |
MobEntity |
Modifier and Type | Field and Description |
---|---|
private LivingEntity |
MobEntity.attackTarget |
private LivingEntity |
LivingEntity.lastAttackedEntity |
private LivingEntity |
AreaEffectCloudEntity.owner |
private LivingEntity |
LivingEntity.revengeTarget |
Modifier and Type | Field and Description |
---|---|
private java.util.function.Predicate<LivingEntity> |
EntityPredicate.customPredicate |
Modifier and Type | Method and Description |
---|---|
LivingEntity |
LivingEntity.getAttackingEntity() |
LivingEntity |
MobEntity.getAttackTarget() |
LivingEntity |
ICrossbowUser.getAttackTarget() |
LivingEntity |
LivingEntity.getLastAttackedEntity() |
LivingEntity |
AreaEffectCloudEntity.getOwner() |
LivingEntity |
LivingEntity.getRevengeTarget() |
Modifier and Type | Method and Description |
---|---|
protected void |
Entity.applyEnchantments(LivingEntity entityLivingBaseIn,
Entity entityIn) |
private void |
LivingEntity.applyFoodEffects(ItemStack p_213349_1_,
World p_213349_2_,
LivingEntity p_213349_3_) |
void |
IRangedAttackMob.attackEntityWithRangedAttack(LivingEntity target,
float distanceFactor) |
protected void |
LivingEntity.blockUsingShield(LivingEntity entityIn) |
boolean |
LivingEntity.canAttack(LivingEntity target) |
boolean |
MobEntity.canAttack(LivingEntity target) |
boolean |
LivingEntity.canAttack(LivingEntity livingentityIn,
EntityPredicate predicateIn) |
boolean |
EntityPredicate.canTarget(LivingEntity attacker,
LivingEntity target) |
protected void |
LivingEntity.constructKnockBackVector(LivingEntity entityIn) |
protected void |
LivingEntity.createWitherRose(LivingEntity p_226298_1_) |
void |
Entity.onKillEntity(LivingEntity entityLivingIn) |
void |
MobEntity.setAttackTarget(LivingEntity entitylivingbaseIn) |
void |
AreaEffectCloudEntity.setOwner(LivingEntity ownerIn) |
void |
LivingEntity.setRevengeTarget(LivingEntity livingBase) |
void |
ICrossbowUser.shoot(LivingEntity target,
ItemStack p_213670_2_,
IProjectile projectile,
float projectileAngle) |
protected void |
LivingEntity.spinAttack(LivingEntity p_204804_1_) |
Modifier and Type | Method and Description |
---|---|
EntityPredicate |
EntityPredicate.setCustomPredicate(java.util.function.Predicate<LivingEntity> p_221012_1_) |
Constructor and Description |
---|
LivingEntity(EntityType<? extends LivingEntity> type,
World worldIn) |
Modifier and Type | Class and Description |
---|---|
class |
Brain<E extends LivingEntity> |
Modifier and Type | Method and Description |
---|---|
static void |
BrainUtil.approach(LivingEntity living,
LivingEntity target,
int targetDistance) |
static void |
BrainUtil.approachEachOther(LivingEntity firstEntity,
LivingEntity secondEntity) |
static boolean |
BrainUtil.canSee(Brain<?> brainIn,
LivingEntity target) |
static void |
BrainUtil.lookApproachEachOther(LivingEntity firstEntity,
LivingEntity secondEntity) |
static void |
BrainUtil.lookAt(LivingEntity entityIn,
LivingEntity targetIn) |
static void |
BrainUtil.lookAtEachOther(LivingEntity firstEntity,
LivingEntity secondEntity) |
static void |
BrainUtil.throwItemAt(LivingEntity from,
ItemStack stack,
LivingEntity to) |
Modifier and Type | Method and Description |
---|---|
static boolean |
BrainUtil.isCorrectVisibleType(Brain<?> brains,
MemoryModuleType<? extends LivingEntity> memorymodule,
EntityType<?> entityTypeIn) |
Modifier and Type | Field and Description |
---|---|
static MemoryModuleType<LivingEntity> |
MemoryModuleType.HURT_BY_ENTITY |
static MemoryModuleType<LivingEntity> |
MemoryModuleType.INTERACTION_TARGET |
static MemoryModuleType<java.util.List<LivingEntity>> |
MemoryModuleType.MOBS |
static MemoryModuleType<LivingEntity> |
MemoryModuleType.NEAREST_HOSTILE |
static MemoryModuleType<java.util.List<LivingEntity>> |
MemoryModuleType.VISIBLE_MOBS |
static MemoryModuleType<java.util.List<LivingEntity>> |
MemoryModuleType.VISIBLE_VILLAGER_BABIES |
Modifier and Type | Class and Description |
---|---|
class |
Sensor<E extends LivingEntity> |
Modifier and Type | Method and Description |
---|---|
private java.util.Optional<LivingEntity> |
VillagerHostilesSensor.func_220989_a(LivingEntity p_220989_1_) |
private java.util.Optional<java.util.List<LivingEntity>> |
VillagerHostilesSensor.func_220990_b(LivingEntity p_220990_1_) |
private java.util.List<LivingEntity> |
VillagerBabiesSensor.func_220992_c(LivingEntity p_220992_1_) |
private java.util.List<LivingEntity> |
VillagerBabiesSensor.func_220994_a(LivingEntity p_220994_1_) |
Modifier and Type | Method and Description |
---|---|
private int |
VillagerHostilesSensor.func_220983_a(LivingEntity p_220983_1_,
LivingEntity p_220983_2_,
LivingEntity p_220983_3_) |
private boolean |
VillagerHostilesSensor.func_220987_a(LivingEntity p_220987_1_,
LivingEntity p_220987_2_) |
private boolean |
VillagerHostilesSensor.func_220988_c(LivingEntity p_220988_1_) |
private java.util.Optional<LivingEntity> |
VillagerHostilesSensor.func_220989_a(LivingEntity p_220989_1_) |
private java.util.Optional<java.util.List<LivingEntity>> |
VillagerHostilesSensor.func_220990_b(LivingEntity p_220990_1_) |
private java.util.List<LivingEntity> |
VillagerBabiesSensor.func_220992_c(LivingEntity p_220992_1_) |
private boolean |
VillagerBabiesSensor.func_220993_b(LivingEntity p_220993_1_) |
private java.util.List<LivingEntity> |
VillagerBabiesSensor.func_220994_a(LivingEntity p_220994_1_) |
static void |
GolemLastSeenSensor.func_223545_a(long p_223545_0_,
LivingEntity p_223545_2_) |
protected void |
DummySensor.update(ServerWorld worldIn,
LivingEntity entityIn) |
protected void |
NearestPlayersSensor.update(ServerWorld worldIn,
LivingEntity entityIn) |
protected void |
InteractableDoorsSensor.update(ServerWorld worldIn,
LivingEntity entityIn) |
protected void |
VillagerHostilesSensor.update(ServerWorld worldIn,
LivingEntity entityIn) |
protected void |
GolemLastSeenSensor.update(ServerWorld worldIn,
LivingEntity entityIn) |
protected void |
HurtBySensor.update(ServerWorld worldIn,
LivingEntity entityIn) |
protected void |
NearestLivingEntitiesSensor.update(ServerWorld worldIn,
LivingEntity entityIn) |
protected void |
VillagerBabiesSensor.update(ServerWorld worldIn,
LivingEntity entityIn) |
Modifier and Type | Class and 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 |
Task<E extends LivingEntity> |
Modifier and Type | Field and Description |
---|---|
private java.util.function.Predicate<LivingEntity> |
LookAtEntityTask.field_220519_a |
private java.util.function.Predicate<LivingEntity> |
FindInteractionAndLookTargetTask.field_220535_c |
private java.util.function.Predicate<LivingEntity> |
FindInteractionAndLookTargetTask.field_220536_d |
Modifier and Type | Method and Description |
---|---|
static <T extends LivingEntity> |
InteractWithEntityTask.func_220445_a(EntityType<? extends T> p_220445_0_,
int p_220445_1_,
MemoryModuleType<T> p_220445_2_,
float p_220445_3_,
int p_220445_4_) |
abstract <E extends LivingEntity> |
MultiTask.RunType.func_220630_a(WeightedList<Task<? super E>> p_220630_1_,
ServerWorld p_220630_2_,
E p_220630_3_,
long p_220630_4_) |
Modifier and Type | Method and Description |
---|---|
private LivingEntity |
WalkToVillagerBabiesTask.func_220495_a(LivingEntity p_220495_1_) |
private LivingEntity |
WalkToVillagerBabiesTask.func_220500_b(LivingEntity p_220500_1_) |
private LivingEntity |
ShowWaresTask.func_220557_c(VillagerEntity p_220557_1_) |
Modifier and Type | Method and Description |
---|---|
static <T extends LivingEntity> |
InteractWithEntityTask.func_220445_a(EntityType<? extends T> p_220445_0_,
int p_220445_1_,
MemoryModuleType<T> p_220445_2_,
float p_220445_3_,
int p_220445_4_) |
private java.util.Optional<LivingEntity> |
WalkToVillagerBabiesTask.func_220497_b(CreatureEntity p_220497_1_) |
private java.util.List<LivingEntity> |
WalkToVillagerBabiesTask.func_220503_d(CreatureEntity p_220503_1_) |
private java.util.Map<LivingEntity,java.lang.Integer> |
WalkToVillagerBabiesTask.func_220505_c(CreatureEntity p_220505_1_) |
private java.util.Optional<LivingEntity> |
WalkToVillagerBabiesTask.func_220510_a(CreatureEntity p_220510_1_) |
private java.util.List<LivingEntity> |
FindInteractionAndLookTargetTask.func_220530_b(LivingEntity p_220530_1_) |
private static com.mojang.datafixers.util.Pair<java.lang.Integer,Task<LivingEntity>> |
VillagerTasks.lookAtMany() |
private static com.mojang.datafixers.util.Pair<java.lang.Integer,Task<LivingEntity>> |
VillagerTasks.lookAtPlayerOrVillager() |
Modifier and Type | Method and Description |
---|---|
private void |
InteractWithDoorTask.func_220434_a(ServerWorld p_220434_1_,
java.util.List<BlockPos> p_220434_2_,
java.util.Set<BlockPos> p_220434_3_,
int p_220434_4_,
LivingEntity p_220434_5_,
Brain<?> p_220434_6_) |
private Vec3d |
MoveToSkylightTask.func_220493_b(ServerWorld p_220493_1_,
LivingEntity p_220493_2_) |
private LivingEntity |
WalkToVillagerBabiesTask.func_220495_a(LivingEntity p_220495_1_) |
private static void |
WalkToVillagerBabiesTask.func_220498_a(CreatureEntity p_220498_0_,
LivingEntity p_220498_1_) |
private boolean |
WalkToVillagerBabiesTask.func_220499_a(LivingEntity p_220499_1_,
LivingEntity p_220499_2_) |
private LivingEntity |
WalkToVillagerBabiesTask.func_220500_b(LivingEntity p_220500_1_) |
private boolean |
WalkToVillagerBabiesTask.func_220502_c(LivingEntity p_220502_1_) |
private void |
WalkToVillagerBabiesTask.func_220508_a(ServerWorld p_220508_1_,
CreatureEntity p_220508_2_,
LivingEntity p_220508_3_) |
private java.util.List<LivingEntity> |
FindInteractionAndLookTargetTask.func_220530_b(LivingEntity p_220530_1_) |
private boolean |
FindInteractionAndLookTargetTask.func_220532_a(LivingEntity p_220532_1_) |
private void |
ShowWaresTask.func_220556_a(LivingEntity p_220556_1_,
VillagerEntity p_220556_2_) |
private static void |
ShareItemsTask.func_220586_a(VillagerEntity p_220586_0_,
java.util.Set<Item> p_220586_1_,
LivingEntity p_220586_2_) |
private boolean |
ExpirePOITask.func_223019_a(ServerWorld p_223019_1_,
BlockPos p_223019_2_,
LivingEntity p_223019_3_) |
static void |
InteractWithDoorTask.func_225449_a(ServerWorld p_225449_0_,
java.util.List<BlockPos> p_225449_1_,
int p_225449_2_,
LivingEntity p_225449_3_,
Brain<?> p_225449_4_) |
static boolean |
MoveToSkylightTask.func_226306_a_(ServerWorld p_226306_0_,
LivingEntity p_226306_1_,
BlockPos p_226306_2_) |
private void |
GiveHeroGiftsTask.giveGifts(VillagerEntity p_220398_1_,
LivingEntity p_220398_2_) |
static boolean |
PanicTask.hasBeenHurt(LivingEntity p_220512_0_) |
static boolean |
PanicTask.hostileNearby(LivingEntity p_220513_0_) |
protected void |
SleepAtHomeTask.resetTask(ServerWorld worldIn,
LivingEntity entityIn,
long gameTimeIn) |
protected boolean |
SleepAtHomeTask.shouldContinueExecuting(ServerWorld worldIn,
LivingEntity entityIn,
long gameTimeIn) |
protected boolean |
DummyTask.shouldContinueExecuting(ServerWorld worldIn,
LivingEntity entityIn,
long gameTimeIn) |
protected boolean |
FindHidingPlaceDuringRaidTask.shouldExecute(ServerWorld worldIn,
LivingEntity owner) |
boolean |
FindInteractionAndLookTargetTask.shouldExecute(ServerWorld worldIn,
LivingEntity owner) |
protected boolean |
WakeUpTask.shouldExecute(ServerWorld worldIn,
LivingEntity owner) |
protected boolean |
GoOutsideAfterRaidTask.shouldExecute(ServerWorld worldIn,
LivingEntity owner) |
protected boolean |
LookAtEntityTask.shouldExecute(ServerWorld worldIn,
LivingEntity owner) |
protected boolean |
ForgetRaidTask.shouldExecute(ServerWorld worldIn,
LivingEntity owner) |
protected boolean |
SleepAtHomeTask.shouldExecute(ServerWorld worldIn,
LivingEntity owner) |
protected boolean |
FindHidingPlaceTask.shouldExecute(ServerWorld worldIn,
LivingEntity owner) |
protected boolean |
RingBellTask.shouldExecute(ServerWorld worldIn,
LivingEntity owner) |
protected boolean |
ExpirePOITask.shouldExecute(ServerWorld worldIn,
LivingEntity owner) |
protected boolean |
CongregateTask.shouldExecute(ServerWorld worldIn,
LivingEntity owner) |
protected boolean |
BeginRaidTask.shouldExecute(ServerWorld worldIn,
LivingEntity owner) |
protected boolean |
WalkToHouseTask.shouldExecute(ServerWorld worldIn,
LivingEntity owner) |
protected boolean |
MoveToSkylightTask.shouldExecute(ServerWorld worldIn,
LivingEntity owner) |
void |
FindInteractionAndLookTargetTask.startExecuting(ServerWorld worldIn,
LivingEntity entityIn,
long gameTimeIn) |
protected void |
UpdateActivityTask.startExecuting(ServerWorld worldIn,
LivingEntity entityIn,
long gameTimeIn) |
protected void |
WakeUpTask.startExecuting(ServerWorld worldIn,
LivingEntity entityIn,
long gameTimeIn) |
protected void |
HideFromRaidOnBellRingTask.startExecuting(ServerWorld worldIn,
LivingEntity entityIn,
long gameTimeIn) |
protected void |
LookAtEntityTask.startExecuting(ServerWorld worldIn,
LivingEntity entityIn,
long gameTimeIn) |
protected void |
ForgetRaidTask.startExecuting(ServerWorld worldIn,
LivingEntity entityIn,
long gameTimeIn) |
protected void |
SleepAtHomeTask.startExecuting(ServerWorld worldIn,
LivingEntity entityIn,
long gameTimeIn) |
protected void |
FindHidingPlaceTask.startExecuting(ServerWorld worldIn,
LivingEntity entityIn,
long gameTimeIn) |
protected void |
RingBellTask.startExecuting(ServerWorld worldIn,
LivingEntity entityIn,
long gameTimeIn) |
protected void |
ExpirePOITask.startExecuting(ServerWorld worldIn,
LivingEntity entityIn,
long gameTimeIn) |
protected void |
CongregateTask.startExecuting(ServerWorld worldIn,
LivingEntity entityIn,
long gameTimeIn) |
protected void |
BeginRaidTask.startExecuting(ServerWorld worldIn,
LivingEntity entityIn,
long gameTimeIn) |
protected void |
WalkTowardsLookTargetTask.startExecuting(ServerWorld worldIn,
LivingEntity entityIn,
long gameTimeIn) |
protected void |
InteractWithDoorTask.startExecuting(ServerWorld worldIn,
LivingEntity entityIn,
long gameTimeIn) |
protected void |
ExpireHidingTask.startExecuting(ServerWorld worldIn,
LivingEntity entityIn,
long gameTimeIn) |
protected void |
WalkToHouseTask.startExecuting(ServerWorld worldIn,
LivingEntity entityIn,
long gameTimeIn) |
protected void |
MoveToSkylightTask.startExecuting(ServerWorld worldIn,
LivingEntity entityIn,
long gameTimeIn) |
Constructor and Description |
---|
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_) |
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_) |
LookAtEntityTask(java.util.function.Predicate<LivingEntity> p_i50352_1_,
float p_i50352_2_) |
Modifier and Type | Class and 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> |
Modifier and Type | Field and Description |
---|---|
private LivingEntity |
OwnerHurtByTargetGoal.attacker |
private LivingEntity |
OwnerHurtTargetGoal.attacker |
private LivingEntity |
RangedAttackGoal.attackTarget |
protected T |
AvoidEntityGoal.avoidTarget |
private LivingEntity |
CreeperSwellGoal.creeperAttackTarget |
private LivingEntity |
FollowBoatGoal.field_205145_c |
private LivingEntity |
LeapAtTargetGoal.leapTarget |
protected LivingEntity |
NearestAttackableTargetGoal.nearestTarget |
private LivingEntity |
FollowOwnerGoal.owner |
protected LivingEntity |
TargetGoal.target |
private LivingEntity |
OcelotAttackGoal.target |
private LivingEntity |
MoveTowardsTargetGoal.targetEntity |
private LivingEntity |
DefendVillageTargetGoal.villageAgressorTarget |
Modifier and Type | Field and Description |
---|---|
protected java.util.function.Predicate<LivingEntity> |
AvoidEntityGoal.avoidTargetSelector |
protected java.util.function.Predicate<LivingEntity> |
AvoidEntityGoal.field_203784_k |
protected java.lang.Class<? extends LivingEntity> |
LookAtGoal.watchedClass |
Modifier and Type | Method and Description |
---|---|
private boolean |
TargetGoal.canEasilyReach(LivingEntity target) |
protected void |
MeleeAttackGoal.checkAndPerformAttack(LivingEntity enemy,
double distToEnemySqr) |
protected double |
MeleeAttackGoal.getAttackReachSqr(LivingEntity attackTarget) |
protected boolean |
TargetGoal.isSuitableTarget(LivingEntity potentialTarget,
EntityPredicate targetPredicate) |
protected void |
HurtByTargetGoal.setAttackTarget(MobEntity mobIn,
LivingEntity targetIn) |
Constructor and Description |
---|
AvoidEntityGoal(CreatureEntity entityIn,
java.lang.Class<T> avoidClass,
float distance,
double nearSpeedIn,
double farSpeedIn,
java.util.function.Predicate<LivingEntity> targetPredicate) |
AvoidEntityGoal(CreatureEntity entityIn,
java.lang.Class<T> avoidClass,
java.util.function.Predicate<LivingEntity> targetPredicate,
float distance,
double nearSpeedIn,
double farSpeedIn,
java.util.function.Predicate<LivingEntity> p_i48859_9_) |
AvoidEntityGoal(CreatureEntity entityIn,
java.lang.Class<T> avoidClass,
java.util.function.Predicate<LivingEntity> targetPredicate,
float distance,
double nearSpeedIn,
double farSpeedIn,
java.util.function.Predicate<LivingEntity> p_i48859_9_) |
LookAtGoal(MobEntity entityIn,
java.lang.Class<? extends LivingEntity> watchTargetClass,
float maxDistance) |
LookAtGoal(MobEntity entityIn,
java.lang.Class<? extends LivingEntity> watchTargetClass,
float maxDistance,
float chanceIn) |
LookAtWithoutMovingGoal(MobEntity entitylivingIn,
java.lang.Class<? extends LivingEntity> watchTargetClass,
float maxDistance,
float chanceIn) |
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 goalOwnerIn,
java.lang.Class<T> targetClassIn,
int targetChanceIn,
boolean checkSight,
boolean nearbyOnlyIn,
java.util.function.Predicate<LivingEntity> targetPredicate) |
NonTamedTargetGoal(TameableEntity tameableIn,
java.lang.Class<T> targetClassIn,
boolean checkSight,
java.util.function.Predicate<LivingEntity> targetPredicate) |
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_) |
Modifier and Type | Class and Description |
---|---|
class |
WitherEntity |
Modifier and Type | Field and Description |
---|---|
private static java.util.function.Predicate<LivingEntity> |
WitherEntity.NOT_UNDEAD |
Modifier and Type | Method and Description |
---|---|
void |
WitherEntity.attackEntityWithRangedAttack(LivingEntity target,
float distanceFactor) |
private void |
WitherEntity.launchWitherSkullToEntity(int p_82216_1_,
LivingEntity p_82216_2_) |
Modifier and Type | Class and Description |
---|---|
class |
EnderDragonEntity |
Modifier and Type | Field and Description |
---|---|
private LivingEntity |
StrafePlayerPhase.attackTarget |
Modifier and Type | Method and Description |
---|---|
void |
StrafePlayerPhase.setTarget(LivingEntity p_188686_1_) |
Modifier and Type | Class and Description |
---|---|
class |
ArmorStandEntity |
Modifier and Type | Field and Description |
---|---|
private LivingEntity |
FireworkRocketEntity.boostedEntity |
private LivingEntity |
EnderPearlEntity.perlThrower |
private LivingEntity |
TNTEntity.tntPlacedBy |
Modifier and Type | Method and Description |
---|---|
LivingEntity |
TNTEntity.getTntPlacedBy() |
Constructor and Description |
---|
EnderPearlEntity(World worldIn,
LivingEntity throwerIn) |
ExperienceBottleEntity(World worldIn,
LivingEntity throwerIn) |
FireworkRocketEntity(World p_i47367_1_,
ItemStack p_i47367_2_,
LivingEntity p_i47367_3_) |
TNTEntity(World worldIn,
double x,
double y,
double z,
LivingEntity igniter) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractVillagerEntity |
class |
VillagerEntity |
class |
WanderingTraderEntity |
Modifier and Type | Method and Description |
---|---|
void |
VillagerEntity.setRevengeTarget(LivingEntity livingBase) |
Modifier and Type | Class and Description |
---|---|
(package private) static class |
SpiderEntity.TargetGoal<T extends LivingEntity> |
Modifier and Type | Class and 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 |
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 |
ZombieEntity |
class |
ZombiePigmanEntity |
class |
ZombieVillagerEntity |
Modifier and Type | Field and Description |
---|---|
private LivingEntity |
GuardianEntity.targetedEntity |
private LivingEntity |
EndermanEntity.StareGoal.targetPlayer |
Modifier and Type | Field and Description |
---|---|
private static java.util.function.Predicate<LivingEntity> |
EndermanEntity.field_213627_bA |
Modifier and Type | Method and Description |
---|---|
LivingEntity |
GuardianEntity.getTargetedEntity() |
Modifier and Type | Method and Description |
---|---|
void |
IllusionerEntity.attackEntityWithRangedAttack(LivingEntity target,
float distanceFactor) |
void |
PillagerEntity.attackEntityWithRangedAttack(LivingEntity target,
float distanceFactor) |
void |
WitchEntity.attackEntityWithRangedAttack(LivingEntity target,
float distanceFactor) |
void |
DrownedEntity.attackEntityWithRangedAttack(LivingEntity target,
float distanceFactor) |
void |
AbstractSkeletonEntity.attackEntityWithRangedAttack(LivingEntity target,
float distanceFactor) |
protected void |
RavagerEntity.constructKnockBackVector(LivingEntity entityIn) |
protected void |
SlimeEntity.dealDamage(LivingEntity entityIn) |
private boolean |
ZombiePigmanEntity.func_226547_i_(LivingEntity p_226547_1_) |
protected double |
SpiderEntity.AttackGoal.getAttackReachSqr(LivingEntity attackTarget) |
protected double |
VindicatorEntity.AttackGoal.getAttackReachSqr(LivingEntity attackTarget) |
protected double |
RavagerEntity.AttackGoal.getAttackReachSqr(LivingEntity attackTarget) |
void |
ZombieEntity.onKillEntity(LivingEntity entityLivingIn) |
void |
EndermanEntity.setAttackTarget(LivingEntity entitylivingbaseIn) |
protected void |
ZombiePigmanEntity.HurtByAggressorGoal.setAttackTarget(MobEntity mobIn,
LivingEntity targetIn) |
void |
ZombiePigmanEntity.setRevengeTarget(LivingEntity livingBase) |
void |
PillagerEntity.shoot(LivingEntity target,
ItemStack p_213670_2_,
IProjectile projectile,
float projectileAngle) |
boolean |
DrownedEntity.shouldAttack(LivingEntity p_204714_1_) |
boolean |
GuardianEntity.TargetPredicate.test(LivingEntity p_test_1_) |
Modifier and Type | Class and 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> |
Modifier and Type | Class and 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 |
TameableEntity |
class |
TurtleEntity |
class |
WaterMobEntity |
class |
WolfEntity |
Modifier and Type | Field and Description |
---|---|
private LivingEntity |
FoxEntity.RevengeGoal.field_220786_j |
private LivingEntity |
FoxEntity.RevengeGoal.field_220787_k |
Modifier and Type | Field and Description |
---|---|
static java.util.function.Predicate<LivingEntity> |
TurtleEntity.TARGET_DRY_BABY |
static java.util.function.Predicate<LivingEntity> |
WolfEntity.TARGET_ENTITIES |
Modifier and Type | Method and Description |
---|---|
LivingEntity |
TameableEntity.getOwner() |
Modifier and Type | Method and Description |
---|---|
void |
SnowGolemEntity.attackEntityWithRangedAttack(LivingEntity target,
float distanceFactor) |
boolean |
TameableEntity.canAttack(LivingEntity target) |
protected void |
FoxEntity.BiteGoal.checkAndPerformAttack(LivingEntity enemy,
double distToEnemySqr) |
protected void |
PolarBearEntity.MeleeAttackGoal.checkAndPerformAttack(LivingEntity enemy,
double distToEnemySqr) |
static boolean |
FoxEntity.func_213481_a(FoxEntity p_213481_0_,
LivingEntity p_213481_1_) |
void |
PandaEntity.WatchGoal.func_229975_a_(LivingEntity p_229975_1_) |
protected double |
RabbitEntity.EvilAttackGoal.getAttackReachSqr(LivingEntity attackTarget) |
protected double |
PolarBearEntity.MeleeAttackGoal.getAttackReachSqr(LivingEntity attackTarget) |
boolean |
TameableEntity.isOwner(LivingEntity entityIn) |
void |
WolfEntity.setAttackTarget(LivingEntity entitylivingbaseIn) |
void |
FoxEntity.setAttackTarget(LivingEntity entitylivingbaseIn) |
protected void |
PandaEntity.RevengeGoal.setAttackTarget(MobEntity mobIn,
LivingEntity targetIn) |
protected void |
PolarBearEntity.HurtByTargetGoal.setAttackTarget(MobEntity mobIn,
LivingEntity targetIn) |
protected void |
BeeEntity.AngerGoal.setAttackTarget(MobEntity mobIn,
LivingEntity targetIn) |
void |
BeeEntity.setRevengeTarget(LivingEntity livingBase) |
boolean |
WolfEntity.shouldAttackEntity(LivingEntity target,
LivingEntity owner) |
boolean |
TameableEntity.shouldAttackEntity(LivingEntity target,
LivingEntity owner) |
boolean |
FoxEntity.AlertablePredicate.test(LivingEntity p_test_1_) |
Constructor and 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_) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractFishEntity |
class |
AbstractGroupFishEntity |
class |
CodEntity |
class |
PufferfishEntity |
class |
SalmonEntity |
class |
TropicalFishEntity |
Modifier and Type | Field and Description |
---|---|
private static java.util.function.Predicate<LivingEntity> |
PufferfishEntity.ENEMY_MATCHER |
Modifier and Type | Class and Description |
---|---|
class |
AbstractChestedHorseEntity |
class |
AbstractHorseEntity |
class |
DonkeyEntity |
class |
HorseEntity |
class |
LlamaEntity |
class |
MuleEntity |
class |
SkeletonHorseEntity |
class |
TraderLlamaEntity |
class |
ZombieHorseEntity |
Modifier and Type | Field and Description |
---|---|
private LivingEntity |
TraderLlamaEntity.FollowTraderGoal.field_220801_c |
Modifier and Type | Field and Description |
---|---|
private static java.util.function.Predicate<LivingEntity> |
AbstractHorseEntity.IS_HORSE_BREEDING |
Modifier and Type | Method and Description |
---|---|
void |
LlamaEntity.attackEntityWithRangedAttack(LivingEntity target,
float distanceFactor) |
private void |
LlamaEntity.spit(LivingEntity target) |
Modifier and Type | Class and Description |
---|---|
class |
PlayerEntity |
class |
ServerPlayerEntity |
Modifier and Type | Method and Description |
---|---|
protected void |
PlayerEntity.blockUsingShield(LivingEntity entityIn) |
void |
PlayerEntity.onKillEntity(LivingEntity entityLivingIn) |
protected void |
PlayerEntity.spinAttack(LivingEntity p_204804_1_) |
Modifier and Type | Field and Description |
---|---|
private LivingEntity |
EvokerFangsEntity.caster |
private LivingEntity |
ShulkerBulletEntity.owner |
protected LivingEntity |
ThrowableEntity.owner |
LivingEntity |
DamagingProjectileEntity.shootingEntity |
Modifier and Type | Field and Description |
---|---|
static java.util.function.Predicate<LivingEntity> |
PotionEntity.WATER_SENSITIVE |
Modifier and Type | Method and Description |
---|---|
LivingEntity |
EvokerFangsEntity.getCaster() |
LivingEntity |
ThrowableEntity.getThrower() |
Modifier and Type | Method and Description |
---|---|
protected void |
ArrowEntity.arrowHit(LivingEntity living) |
protected void |
SpectralArrowEntity.arrowHit(LivingEntity living) |
protected void |
AbstractArrowEntity.arrowHit(LivingEntity living) |
private void |
EvokerFangsEntity.damage(LivingEntity p_190551_1_) |
static AbstractArrowEntity |
ProjectileHelper.fireArrow(LivingEntity shooter,
ItemStack arrowStack,
float distanceFactor) |
static Hand |
ProjectileHelper.getHandWith(LivingEntity living,
Item itemIn) |
private static boolean |
PotionEntity.isWaterSensitiveEntity(LivingEntity p_190544_0_) |
void |
EvokerFangsEntity.setCaster(LivingEntity p_190549_1_) |
void |
AbstractArrowEntity.setEnchantmentEffectsFromEntity(LivingEntity p_190547_1_,
float p_190547_2_) |
Constructor and Description |
---|
AbstractArrowEntity(EntityType<? extends AbstractArrowEntity> type,
LivingEntity shooter,
World worldIn) |
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 worldIn,
LivingEntity shooter) |
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 worldIn,
LivingEntity shooter,
double accelX,
double accelY,
double accelZ) |
EggEntity(World worldIn,
LivingEntity throwerIn) |
EvokerFangsEntity(World worldIn,
double x,
double y,
double z,
float p_i47276_8_,
int p_i47276_9_,
LivingEntity casterIn) |
FireballEntity(World worldIn,
LivingEntity shooter,
double accelX,
double accelY,
double accelZ) |
PotionEntity(World worldIn,
LivingEntity livingEntityIn) |
ProjectileItemEntity(EntityType<? extends ProjectileItemEntity> type,
LivingEntity livingEntityIn,
World worldIn) |
ShulkerBulletEntity(World worldIn,
LivingEntity ownerIn,
Entity targetIn,
Direction.Axis p_i46772_4_) |
SmallFireballEntity(World worldIn,
LivingEntity shooter,
double accelX,
double accelY,
double accelZ) |
SnowballEntity(World worldIn,
LivingEntity throwerIn) |
SpectralArrowEntity(World worldIn,
LivingEntity shooter) |
ThrowableEntity(EntityType<? extends ThrowableEntity> type,
LivingEntity livingEntityIn,
World worldIn) |
TridentEntity(World worldIn,
LivingEntity thrower,
ItemStack thrownStackIn) |
WitherSkullEntity(World worldIn,
LivingEntity shooter,
double accelX,
double accelY,
double accelZ) |
Modifier and Type | Method and Description |
---|---|
<T extends LivingEntity> |
ItemStack.damageItem(int amount,
T entityIn,
java.util.function.Consumer<T> onBroken) |
Modifier and Type | Method and Description |
---|---|
float |
IItemPropertyGetter.call(ItemStack p_call_1_,
World p_call_2_,
LivingEntity p_call_3_) |
boolean |
ElytraItem.canElytraFly(ItemStack stack,
LivingEntity entity) |
AbstractArrowEntity |
ArrowItem.createArrow(World worldIn,
ItemStack stack,
LivingEntity shooter) |
AbstractArrowEntity |
SpectralArrowItem.createArrow(World worldIn,
ItemStack stack,
LivingEntity shooter) |
private static AbstractArrowEntity |
CrossbowItem.createArrow(World worldIn,
LivingEntity shooter,
ItemStack crossbow,
ItemStack ammo) |
boolean |
ElytraItem.elytraFlightTick(ItemStack stack,
LivingEntity entity,
int flightTicks) |
private static void |
CrossbowItem.fireProjectile(World worldIn,
LivingEntity shooter,
Hand handIn,
ItemStack crossbow,
ItemStack projectile,
float soundPitch,
boolean isCreativeMode,
float velocity,
float inaccuracy,
float projectileAngle) |
static void |
CrossbowItem.fireProjectiles(World worldIn,
LivingEntity shooter,
Hand handIn,
ItemStack stack,
float velocityIn,
float inaccuracyIn) |
private static void |
CrossbowItem.fireProjectilesAfter(World worldIn,
LivingEntity shooter,
ItemStack stack) |
private static boolean |
CrossbowItem.func_220023_a(LivingEntity p_220023_0_,
ItemStack p_220023_1_,
ItemStack p_220023_2_,
boolean p_220023_3_,
boolean p_220023_4_) |
static ItemStack |
ShootableItem.getHeldAmmo(LivingEntity living,
java.util.function.Predicate<ItemStack> isAmmo) |
private static boolean |
CrossbowItem.hasAmmo(LivingEntity entityIn,
ItemStack stack) |
boolean |
SwordItem.hitEntity(ItemStack stack,
LivingEntity target,
LivingEntity attacker) |
boolean |
HoeItem.hitEntity(ItemStack stack,
LivingEntity target,
LivingEntity attacker) |
boolean |
ToolItem.hitEntity(ItemStack stack,
LivingEntity target,
LivingEntity attacker) |
boolean |
TridentItem.hitEntity(ItemStack stack,
LivingEntity target,
LivingEntity attacker) |
boolean |
Item.hitEntity(ItemStack stack,
LivingEntity target,
LivingEntity attacker) |
void |
ItemStack.hitEntity(LivingEntity entityIn,
PlayerEntity playerIn) |
boolean |
ItemStack.interactWithEntity(PlayerEntity playerIn,
LivingEntity entityIn,
Hand hand) |
boolean |
DyeItem.itemInteractionForEntity(ItemStack stack,
PlayerEntity playerIn,
LivingEntity target,
Hand hand) |
boolean |
NameTagItem.itemInteractionForEntity(ItemStack stack,
PlayerEntity playerIn,
LivingEntity target,
Hand hand) |
boolean |
ShearsItem.itemInteractionForEntity(ItemStack stack,
PlayerEntity playerIn,
LivingEntity entity,
Hand hand) |
boolean |
SaddleItem.itemInteractionForEntity(ItemStack stack,
PlayerEntity playerIn,
LivingEntity target,
Hand hand) |
boolean |
Item.itemInteractionForEntity(ItemStack stack,
PlayerEntity playerIn,
LivingEntity target,
Hand hand) |
boolean |
SwordItem.onBlockDestroyed(ItemStack stack,
World worldIn,
BlockState state,
BlockPos pos,
LivingEntity entityLiving) |
boolean |
ShearsItem.onBlockDestroyed(ItemStack stack,
World worldIn,
BlockState state,
BlockPos pos,
LivingEntity entityLiving) |
boolean |
ToolItem.onBlockDestroyed(ItemStack stack,
World worldIn,
BlockState state,
BlockPos pos,
LivingEntity entityLiving) |
boolean |
TridentItem.onBlockDestroyed(ItemStack stack,
World worldIn,
BlockState state,
BlockPos pos,
LivingEntity entityLiving) |
boolean |
Item.onBlockDestroyed(ItemStack stack,
World worldIn,
BlockState state,
BlockPos pos,
LivingEntity entityLiving) |
void |
ItemStack.onItemUsed(World worldIn,
LivingEntity livingEntityIn,
int countIn) |
ItemStack |
ChorusFruitItem.onItemUseFinish(ItemStack stack,
World worldIn,
LivingEntity entityLiving) |
ItemStack |
SuspiciousStewItem.onItemUseFinish(ItemStack stack,
World worldIn,
LivingEntity entityLiving) |
ItemStack |
HoneyBottleItem.onItemUseFinish(ItemStack stack,
World worldIn,
LivingEntity entityLiving) |
ItemStack |
SoupItem.onItemUseFinish(ItemStack stack,
World worldIn,
LivingEntity entityLiving) |
ItemStack |
PotionItem.onItemUseFinish(ItemStack stack,
World worldIn,
LivingEntity entityLiving) |
ItemStack |
MilkBucketItem.onItemUseFinish(ItemStack stack,
World worldIn,
LivingEntity entityLiving) |
ItemStack |
Item.onItemUseFinish(ItemStack stack,
World worldIn,
LivingEntity entityLiving) |
ItemStack |
ItemStack.onItemUseFinish(World worldIn,
LivingEntity entityLiving) |
void |
BowItem.onPlayerStoppedUsing(ItemStack stack,
World worldIn,
LivingEntity entityLiving,
int timeLeft) |
void |
CrossbowItem.onPlayerStoppedUsing(ItemStack stack,
World worldIn,
LivingEntity entityLiving,
int timeLeft) |
void |
TridentItem.onPlayerStoppedUsing(ItemStack stack,
World worldIn,
LivingEntity entityLiving,
int timeLeft) |
void |
Item.onPlayerStoppedUsing(ItemStack stack,
World worldIn,
LivingEntity entityLiving,
int timeLeft) |
void |
ItemStack.onPlayerStoppedUsing(World worldIn,
LivingEntity entityLiving,
int timeLeft) |
void |
CrossbowItem.onUse(World worldIn,
LivingEntity livingEntityIn,
ItemStack stack,
int count) |
void |
Item.onUse(World worldIn,
LivingEntity livingEntityIn,
ItemStack stack,
int count) |
Modifier and Type | Method and Description |
---|---|
static void |
DebugPacketSender.sendLivingEntity(LivingEntity p_218798_0_) |
Constructor and Description |
---|
SSpawnMobPacket(LivingEntity entityIn) |
Modifier and Type | Method and Description |
---|---|
void |
Effect.affectEntity(Entity source,
Entity indirectSource,
LivingEntity entityLivingBaseIn,
int amplifier,
double health) |
void |
AbsorptionEffect.applyAttributesModifiersToEntity(LivingEntity entityLivingBaseIn,
AbstractAttributeMap attributeMapIn,
int amplifier) |
void |
Effect.applyAttributesModifiersToEntity(LivingEntity entityLivingBaseIn,
AbstractAttributeMap attributeMapIn,
int amplifier) |
static boolean |
EffectUtils.canBreatheUnderwater(LivingEntity p_205133_0_) |
static int |
EffectUtils.getMiningSpeedup(LivingEntity p_205134_0_) |
static boolean |
EffectUtils.hasMiningSpeedup(LivingEntity p_205135_0_) |
void |
EffectInstance.performEffect(LivingEntity entityIn) |
void |
Effect.performEffect(LivingEntity entityLivingBaseIn,
int amplifier) |
void |
AbsorptionEffect.removeAttributesModifiersFromEntity(LivingEntity entityLivingBaseIn,
AbstractAttributeMap attributeMapIn,
int amplifier) |
void |
HealthBoostEffect.removeAttributesModifiersFromEntity(LivingEntity entityLivingBaseIn,
AbstractAttributeMap attributeMapIn,
int amplifier) |
void |
Effect.removeAttributesModifiersFromEntity(LivingEntity entityLivingBaseIn,
AbstractAttributeMap attributeMapIn,
int amplifier) |
boolean |
EffectInstance.tick(LivingEntity entityIn,
java.lang.Runnable p_76455_2_) |
Modifier and Type | Field and Description |
---|---|
private LivingEntity |
ConduitTileEntity.target |
Modifier and Type | Field and Description |
---|---|
private java.util.List<LivingEntity> |
BellTileEntity.entitiesAtRing |
Modifier and Type | Method and Description |
---|---|
private LivingEntity |
ConduitTileEntity.findExistingTarget() |
Modifier and Type | Method and Description |
---|---|
void |
StructureBlockTileEntity.createdBy(LivingEntity p_189720_1_) |
private void |
BellTileEntity.glow(LivingEntity p_222827_1_) |
private boolean |
BellTileEntity.isNearbyRaider(LivingEntity p_222832_1_) |
Modifier and Type | Field and Description |
---|---|
private LivingEntity |
CombatTracker.fighter |
Modifier and Type | Field and Description |
---|---|
static java.util.function.Predicate<LivingEntity> |
EntityPredicates.IS_LIVING_ALIVE |
Modifier and Type | Method and Description |
---|---|
LivingEntity |
CombatTracker.getBestAttacker() |
LivingEntity |
CombatTracker.getFighter() |
Modifier and Type | Method and Description |
---|---|
static DamageSource |
DamageSource.causeExplosionDamage(LivingEntity entityLivingBaseIn) |
static DamageSource |
DamageSource.causeIndirectDamage(Entity source,
LivingEntity indirectEntityIn) |
static DamageSource |
DamageSource.causeMobDamage(LivingEntity mob) |
static DamageSource |
DamageSource.func_226252_a_(LivingEntity p_226252_0_) |
ITextComponent |
NetherBedDamageSource.getDeathMessage(LivingEntity entityLivingBaseIn) |
ITextComponent |
DamageSource.getDeathMessage(LivingEntity entityLivingBaseIn) |
ITextComponent |
IndirectEntityDamageSource.getDeathMessage(LivingEntity entityLivingBaseIn) |
ITextComponent |
EntityDamageSource.getDeathMessage(LivingEntity entityLivingBaseIn) |
Constructor and Description |
---|
CombatTracker(LivingEntity fighterIn) |
Modifier and Type | Method and Description |
---|---|
boolean |
EntityPosWrapper.isVisibleTo(LivingEntity p_220610_1_) |
boolean |
IPosWrapper.isVisibleTo(LivingEntity p_220610_1_) |
boolean |
BlockPosWrapper.isVisibleTo(LivingEntity p_220610_1_) |
Modifier and Type | Method and Description |
---|---|
default <T extends LivingEntity> |
IEntityReader.func_225318_b(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 <T extends LivingEntity> |
IEntityReader.getClosestEntity(java.util.List<? extends T> entities,
EntityPredicate predicate,
LivingEntity target,
double x,
double y,
double z) |
default <T extends LivingEntity> |
IEntityReader.getClosestEntityWithinAABB(java.lang.Class<? extends T> entityClazz,
EntityPredicate p_217360_2_,
LivingEntity target,
double x,
double y,
double z,
AxisAlignedBB boundingBox) |
default <T extends LivingEntity> |
IEntityReader.getTargettableEntitiesWithinAABB(java.lang.Class<? extends T> p_217374_1_,
EntityPredicate p_217374_2_,
LivingEntity p_217374_3_,
AxisAlignedBB p_217374_4_) |
Modifier and Type | Method and Description |
---|---|
LivingEntity |
Explosion.getExplosivePlacedBy() |
Modifier and Type | Method and Description |
---|---|
default <T extends LivingEntity> |
IEntityReader.func_225318_b(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 <T extends LivingEntity> |
IEntityReader.getClosestEntity(java.util.List<? extends T> entities,
EntityPredicate predicate,
LivingEntity target,
double x,
double y,
double z) |
default <T extends LivingEntity> |
IEntityReader.getClosestEntityWithinAABB(java.lang.Class<? extends T> entityClazz,
EntityPredicate p_217360_2_,
LivingEntity target,
double x,
double y,
double z,
AxisAlignedBB boundingBox) |
default PlayerEntity |
IEntityReader.getClosestPlayer(EntityPredicate predicate,
LivingEntity target) |
default PlayerEntity |
IEntityReader.getClosestPlayer(EntityPredicate predicate,
LivingEntity target,
double p_217372_3_,
double p_217372_5_,
double p_217372_7_) |
default <T extends LivingEntity> |
IEntityReader.getTargettableEntitiesWithinAABB(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.getTargettablePlayersWithinAABB(EntityPredicate predicate,
LivingEntity target,
AxisAlignedBB box) |
Modifier and Type | Method and Description |
---|---|
static <A extends BipedModel<?>> |
ForgeHooksClient.getArmorModel(LivingEntity entityLiving,
ItemStack itemStack,
EquipmentSlotType slot,
A _default) |
Modifier and Type | Class and 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>> |
Modifier and Type | Field and Description |
---|---|
private LivingEntity |
RenderLivingEvent.entity |
Modifier and Type | Method and Description |
---|---|
LivingEntity |
RenderLivingEvent.getEntity() |
Constructor and 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) |
Modifier and Type | Method and Description |
---|---|
IBakedModel |
PerspectiveMapWrapper.OverrideListWrapper.getModelWithOverrides(IBakedModel model,
ItemStack stack,
World worldIn,
LivingEntity entityIn) |
IBakedModel |
DynamicBucketModel.ContainedFluidOverrideHandler.getModelWithOverrides(IBakedModel originalModel,
ItemStack stack,
World world,
LivingEntity entity) |
Modifier and Type | Method and Description |
---|---|
IBakedModel |
AnimationItemOverrideList.getModelWithOverrides(IBakedModel originalModel,
ItemStack stack,
World world,
LivingEntity entity) |
Modifier and Type | Method and Description |
---|---|
static boolean |
ForgeHooks.canEntityDestroy(World world,
BlockPos pos,
LivingEntity entity) |
static int |
ForgeHooks.getLootingLevel(LivingEntity target,
DamageSource cause,
int level) |
static boolean |
ForgeHooks.isLivingOnLadder(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,
Entity attacker,
float strength,
double ratioX,
double ratioZ) |
static void |
ForgeHooks.onLivingSetAttackTarget(LivingEntity entity,
LivingEntity target) |
static boolean |
ForgeHooks.onLivingUpdate(LivingEntity entity) |
static boolean |
ForgeHooks.onPlayerAttack(LivingEntity entity,
DamageSource src,
float amount) |
Modifier and Type | Method and Description |
---|---|
default <T extends LivingEntity> |
IForgeItem.damageItem(ItemStack stack,
int amount,
T entity,
java.util.function.Consumer<T> onBroken)
Reduce the durability of this item by the amount given.
|
Modifier and Type | Method and 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 shield
|
default boolean |
IForgeItemStack.canDisableShield(ItemStack shield,
LivingEntity entity,
LivingEntity attacker)
Can this Item disable a shield
|
default 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 com.google.common.collect.ImmutableMap<java.lang.String,ITimeValue> |
IForgeItem.getAnimationParameters(ItemStack stack,
World world,
LivingEntity entity) |
default <A extends BipedModel<?>> |
IForgeItem.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<Vec3d> |
IForgeBlock.getBedSpawnPosition(EntityType<?> entityType,
BlockState state,
IWorldReader world,
BlockPos pos,
LivingEntity sleeper)
Returns the position that the sleeper is moved to upon
waking up, or respawning at the bed.
|
default java.util.Optional<Vec3d> |
IForgeBlockState.getBedSpawnPosition(EntityType<?> type,
IWorldReader world,
BlockPos pos,
LivingEntity sleeper)
Returns the position that the sleeper is moved to upon
waking up, or respawning at the bed.
|
default boolean |
IForgeBlockState.isBed(IBlockReader world,
BlockPos pos,
LivingEntity player)
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 |
IForgeItem.isShield(ItemStack stack,
LivingEntity entity)
Is this Item a shield
|
default boolean |
IForgeItemStack.isShield(LivingEntity entity)
Is this Item a shield
|
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,
IWorldReader world,
BlockPos pos,
LivingEntity sleeper,
boolean occupied)
Called when a user either starts or stops sleeping in the bed.
|
default void |
IForgeBlockState.setBedOccupied(IWorldReader world,
BlockPos pos,
LivingEntity sleeper,
boolean occupied)
Called when a user either starts or stops sleeping in the bed.
|
Modifier and Type | Class and Description |
---|---|
class |
FakePlayer |
Modifier and Type | Method and Description |
---|---|
boolean |
CustomElytraTest.CustomElytra.canElytraFly(ItemStack stack,
LivingEntity entity) |
boolean |
CustomElytraTest.CustomElytra.elytraFlightTick(ItemStack stack,
LivingEntity entity,
int flightTicks) |
Modifier and Type | Method and Description |
---|---|
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 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 float |
ForgeEventFactory.onLivingHeal(LivingEntity entity,
float amount) |
static boolean |
ForgeEventFactory.onUseItemStop(LivingEntity entity,
ItemStack item,
int duration) |
Modifier and Type | Field and Description |
---|---|
private LivingEntity |
ZombieEvent.SummonAidEvent.attacker |
private LivingEntity |
LivingEvent.entityLiving |
private LivingEntity |
LivingSetAttackTargetEvent.target |
Modifier and Type | Method and Description |
---|---|
LivingEntity |
ZombieEvent.SummonAidEvent.getAttacker() |
LivingEntity |
LivingEvent.getEntityLiving() |
LivingEntity |
LivingSetAttackTargetEvent.getTarget() |
Constructor and Description |
---|
SleepingLocationCheckEvent(LivingEntity player,
BlockPos sleepingLocation) |
Modifier and Type | Field and Description |
---|---|
protected LivingEntity |
EntityEquipmentInvWrapper.entity
The entity.
|
Modifier and Type | Method and Description |
---|---|
static LazyOptional<IItemHandlerModifiable>[] |
EntityEquipmentInvWrapper.create(LivingEntity entity) |
Constructor and Description |
---|
EntityArmorInvWrapper(LivingEntity entity) |
EntityEquipmentInvWrapper(LivingEntity entity,
EquipmentSlotType.Group slotType) |
EntityHandsInvWrapper(LivingEntity entity) |