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.targetEntityMethods 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.attackerReferenceprotected @Nullable LazyEntityReference<PlayerEntity> LivingEntity.attackingPlayerprivate @Nullable LazyEntityReference<LivingEntity> TntEntity.causingEntityprivate @Nullable LazyEntityReference<LivingEntity> AreaEffectCloudEntity.ownerprivate @Nullable LazyEntityReference<Entity> ItemEntity.throwerFields in net.minecraft.entity with type parameters of type LazyEntityReferenceModifier and TypeFieldDescriptionprivate static final com.mojang.serialization.Codec<? extends LazyEntityReference<?>> LazyEntityReference.CODECprivate static final PacketCodec<ByteBuf, ? extends LazyEntityReference<?>> LazyEntityReference.PACKET_CODECMethods 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()static <T extends UniquelyIdentifiable>
@Nullable LazyEntityReference<T> LazyEntityReference.of(T object) static <T extends UniquelyIdentifiable>
LazyEntityReference<T> 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 TypeMethodDescriptionLazyEntityReference.getEntity(@Nullable LazyEntityReference<Entity> entityReference, World world) static @Nullable LivingEntityLazyEntityReference.getLivingEntity(@Nullable LazyEntityReference<LivingEntity> livingReference, World world) static @Nullable PlayerEntityLazyEntityReference.getPlayerEntity(@Nullable LazyEntityReference<PlayerEntity> playerReference, World world) static <StoredEntityType extends UniquelyIdentifiable>
StoredEntityTypeLazyEntityReference.resolve(@Nullable LazyEntityReference<StoredEntityType> entity, World world, Class<StoredEntityType> type) private voidLivingEntity.setAttacking(LazyEntityReference<PlayerEntity> attackingPlayer, int playerHitTimer) static voidLazyEntityReference.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.ownerprivate @Nullable LazyEntityReference<MobEntity> VexEntity.owner -
Uses of LazyEntityReference in net.minecraft.entity.passive
Fields in net.minecraft.entity.passive declared as LazyEntityReferenceModifier and TypeFieldDescriptionAnimalEntity.lovingPlayerprivate @Nullable LazyEntityReference<LivingEntity> AbstractHorseEntity.ownerReferenceFields in net.minecraft.entity.passive with type parameters of type LazyEntityReferenceModifier and TypeFieldDescriptionprivate static final TrackedData<Optional<LazyEntityReference<LivingEntity>>> FoxEntity.OTHER_TRUSTEDprivate static final TrackedData<Optional<LazyEntityReference<LivingEntity>>> FoxEntity.OWNERprotected static final TrackedData<Optional<LazyEntityReference<LivingEntity>>> TameableEntity.OWNER_UUIDprivate static final com.mojang.serialization.Codec<List<LazyEntityReference<LivingEntity>>> FoxEntity.TRUSTED_ENTITIES_CODECMethods 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 TypeMethodDescriptionvoidTameableEntity.setOwner(@Nullable LazyEntityReference<LivingEntity> owner) private voidFoxEntity.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.ownerprivate @Nullable LazyEntityReference<Entity> ShulkerBulletEntity.targetMethods in net.minecraft.entity.projectile with parameters of type LazyEntityReferenceModifier and TypeMethodDescriptionbooleanProjectileEntity.deflect(ProjectileDeflection deflection, @Nullable Entity deflector, @Nullable LazyEntityReference<Entity> lazyEntityReference, boolean fromAttack) booleanWindChargeEntity.deflect(ProjectileDeflection deflection, @Nullable Entity deflector, @Nullable LazyEntityReference<Entity> lazyEntityReference, boolean fromAttack) protected voidProjectileEntity.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 voidEnderPearlEntity.setOwner(@Nullable LazyEntityReference<Entity> owner)