Uses of Class
net.minecraft.entity.LazyEntityReference
Packages that use LazyEntityReference
Package
Description
-
Uses of LazyEntityReference in net.minecraft.block.entity
Fields in net.minecraft.block.entity declared as LazyEntityReferenceModifier and TypeFieldDescriptionprivate @Nullable LazyEntityReference
<LivingEntity> ConduitBlockEntity.targetEntity
Methods in net.minecraft.block.entity that return LazyEntityReferenceModifier and TypeMethodDescriptionprivate static @Nullable LazyEntityReference
<LivingEntity> ConduitBlockEntity.findAttackTarget
(ServerWorld world, BlockPos pos) private static @Nullable LazyEntityReference
<LivingEntity> ConduitBlockEntity.getValidTarget
(@Nullable LazyEntityReference<LivingEntity> currentTarget, ServerWorld world, BlockPos pos, boolean canAttack) Methods in net.minecraft.block.entity with parameters of type LazyEntityReferenceModifier and TypeMethodDescriptionprivate static @Nullable LazyEntityReference
<LivingEntity> ConduitBlockEntity.getValidTarget
(@Nullable LazyEntityReference<LivingEntity> currentTarget, ServerWorld world, BlockPos pos, boolean canAttack) -
Uses of LazyEntityReference in net.minecraft.entity
Fields in net.minecraft.entity declared as LazyEntityReferenceModifier and TypeFieldDescriptionprivate @Nullable LazyEntityReference
<LivingEntity> LivingEntity.attackerReference
protected @Nullable LazyEntityReference
<PlayerEntity> LivingEntity.attackingPlayer
private @Nullable LazyEntityReference
<LivingEntity> TntEntity.causingEntity
private @Nullable LazyEntityReference
<LivingEntity> AreaEffectCloudEntity.owner
private @Nullable LazyEntityReference
<Entity> ItemEntity.thrower
Fields in net.minecraft.entity with type parameters of type LazyEntityReferenceModifier and TypeFieldDescriptionprivate static final com.mojang.serialization.Codec
<? extends LazyEntityReference<?>> LazyEntityReference.CODEC
private static final PacketCodec
<ByteBuf, ? extends LazyEntityReference<?>> LazyEntityReference.PACKET_CODEC
Methods in net.minecraft.entity that return LazyEntityReferenceModifier and TypeMethodDescriptionstatic <StoredEntityType extends UniquelyIdentifiable>
@Nullable LazyEntityReference<StoredEntityType> static <StoredEntityType extends UniquelyIdentifiable>
@Nullable LazyEntityReference<StoredEntityType> LazyEntityReference.fromDataOrPlayerName
(ReadView view, String key, World world) Tameable.getOwnerReference()
Methods in net.minecraft.entity that return types with arguments of type LazyEntityReferenceModifier and TypeMethodDescriptionstatic <Type extends UniquelyIdentifiable>
com.mojang.serialization.Codec<LazyEntityReference<Type>> LazyEntityReference.createCodec()
static <Type extends UniquelyIdentifiable>
PacketCodec<ByteBuf, LazyEntityReference<Type>> LazyEntityReference.createPacketCodec()
Methods in net.minecraft.entity with parameters of type LazyEntityReferenceModifier and TypeMethodDescriptionstatic <StoredEntityType extends UniquelyIdentifiable>
StoredEntityTypeLazyEntityReference.resolve
(@Nullable LazyEntityReference<StoredEntityType> entity, EntityQueriable<? super StoredEntityType> world, Class<StoredEntityType> type) private void
LivingEntity.setAttacking
(LazyEntityReference<PlayerEntity> attackingPlayer, int playerHitTimer) static void
LazyEntityReference.writeData
(@Nullable LazyEntityReference<?> entityRef, WriteView view, String key) -
Uses of LazyEntityReference in net.minecraft.entity.data
Fields in net.minecraft.entity.data with type parameters of type LazyEntityReferenceModifier and TypeFieldDescriptionstatic final TrackedDataHandler
<Optional<LazyEntityReference<LivingEntity>>> TrackedDataHandlerRegistry.LAZY_ENTITY_REFERENCE
-
Uses of LazyEntityReference in net.minecraft.entity.mob
Fields in net.minecraft.entity.mob declared as LazyEntityReferenceModifier and TypeFieldDescriptionprivate @Nullable LazyEntityReference
<LivingEntity> EvokerFangsEntity.owner
private @Nullable LazyEntityReference
<MobEntity> VexEntity.owner
-
Uses of LazyEntityReference in net.minecraft.entity.passive
Fields in net.minecraft.entity.passive declared as LazyEntityReferenceModifier and TypeFieldDescriptionAnimalEntity.lovingPlayer
private @Nullable LazyEntityReference
<LivingEntity> AbstractHorseEntity.ownerReference
Fields in net.minecraft.entity.passive with type parameters of type LazyEntityReferenceModifier and TypeFieldDescriptionprivate static final TrackedData
<Optional<LazyEntityReference<LivingEntity>>> FoxEntity.OTHER_TRUSTED
private static final TrackedData
<Optional<LazyEntityReference<LivingEntity>>> FoxEntity.OWNER
protected static final TrackedData
<Optional<LazyEntityReference<LivingEntity>>> TameableEntity.OWNER_UUID
private static final com.mojang.serialization.Codec
<List<LazyEntityReference<LivingEntity>>> FoxEntity.TRUSTED_ENTITIES_CODEC
Methods in net.minecraft.entity.passive that return LazyEntityReferenceModifier and TypeMethodDescriptionAbstractHorseEntity.getOwnerReference()
TameableEntity.getOwnerReference()
Methods in net.minecraft.entity.passive that return types with arguments of type LazyEntityReferenceModifier and TypeMethodDescription(package private) Stream
<LazyEntityReference<LivingEntity>> FoxEntity.getTrustedEntities()
Methods in net.minecraft.entity.passive with parameters of type LazyEntityReferenceModifier and TypeMethodDescriptionvoid
TameableEntity.setOwner
(@Nullable LazyEntityReference<LivingEntity> owner) private void
FoxEntity.trust
(LazyEntityReference<LivingEntity> entity) -
Uses of LazyEntityReference in net.minecraft.entity.projectile
Fields in net.minecraft.entity.projectile declared as LazyEntityReferenceModifier and TypeFieldDescriptionprotected @Nullable LazyEntityReference
<Entity> ProjectileEntity.owner
private @Nullable LazyEntityReference
<Entity> ShulkerBulletEntity.target
Methods in net.minecraft.entity.projectile with parameters of type LazyEntityReferenceModifier and TypeMethodDescriptionprotected void
ProjectileEntity.setOwner
(@Nullable LazyEntityReference<Entity> owner) -
Uses of LazyEntityReference in net.minecraft.entity.projectile.thrown
Methods in net.minecraft.entity.projectile.thrown with parameters of type LazyEntityReferenceModifier and TypeMethodDescriptionprotected void
EnderPearlEntity.setOwner
(@Nullable LazyEntityReference<Entity> owner)