Uses of Class
net.minecraft.world.entity.EntityReference
Packages that use EntityReference
Package
Description
-
Uses of EntityReference in net.minecraft.network.syncher
Fields in net.minecraft.network.syncher with type parameters of type EntityReferenceModifier and TypeFieldDescriptionstatic final EntityDataSerializer<Optional<EntityReference<LivingEntity>>> EntityDataSerializers.OPTIONAL_LIVING_ENTITY_REFERENCE -
Uses of EntityReference in net.minecraft.world.entity
Fields in net.minecraft.world.entity declared as EntityReferenceModifier and TypeFieldDescriptionprivate @Nullable EntityReference<LivingEntity> LivingEntity.lastHurtByMobprotected @Nullable EntityReference<Player> LivingEntity.lastHurtByPlayerprivate @Nullable EntityReference<LivingEntity> AreaEffectCloud.ownerFields in net.minecraft.world.entity with type parameters of type EntityReferenceModifier and TypeFieldDescriptionprivate static final com.mojang.serialization.Codec<? extends EntityReference<?>> EntityReference.CODECprotected static final EntityDataAccessor<Optional<EntityReference<LivingEntity>>> TamableAnimal.DATA_OWNERUUID_IDprivate static final StreamCodec<io.netty.buffer.ByteBuf, ? extends EntityReference<?>> EntityReference.STREAM_CODECMethods in net.minecraft.world.entity that return EntityReferenceModifier and TypeMethodDescription@Nullable EntityReference<LivingEntity> OwnableEntity.getOwnerReference()@Nullable EntityReference<LivingEntity> TamableAnimal.getOwnerReference()@Nullable EntityReference<LivingEntity> NeutralMob.getPersistentAngerTarget()static <T extends UniquelyIdentifyable>
@Nullable EntityReference<T> EntityReference.of(@Nullable T pEntity) static <T extends UniquelyIdentifyable>
EntityReference<T> static <StoredEntityType extends UniquelyIdentifyable>
@Nullable EntityReference<StoredEntityType> EntityReference.read(ValueInput pInput, String pKey) static <StoredEntityType extends UniquelyIdentifyable>
@Nullable EntityReference<StoredEntityType> EntityReference.readWithOldOwnerConversion(ValueInput pInput, String pKey, Level pLevel) Methods in net.minecraft.world.entity that return types with arguments of type EntityReferenceModifier and TypeMethodDescriptionstatic <Type extends UniquelyIdentifyable>
com.mojang.serialization.Codec<EntityReference<Type>> EntityReference.codec()static <Type extends UniquelyIdentifyable>
StreamCodec<io.netty.buffer.ByteBuf, EntityReference<Type>> EntityReference.streamCodec()Methods in net.minecraft.world.entity with parameters of type EntityReferenceModifier and TypeMethodDescriptionstatic <StoredEntityType extends UniquelyIdentifyable>
@Nullable StoredEntityTypeEntityReference.get(@Nullable EntityReference<StoredEntityType> pReference, Level pLevel, Class<StoredEntityType> pEntityClass) static @Nullable EntityEntityReference.getEntity(@Nullable EntityReference<Entity> pReference, Level pLevel) static @Nullable LivingEntityEntityReference.getLivingEntity(@Nullable EntityReference<LivingEntity> pReference, Level pLevel) static @Nullable PlayerEntityReference.getPlayer(@Nullable EntityReference<Player> pReference, Level pLevel) private voidLivingEntity.setLastHurtByPlayer(EntityReference<Player> pPlayer, int pMemoryTime) voidTamableAnimal.setOwnerReference(@Nullable EntityReference<LivingEntity> pOwner) voidNeutralMob.setPersistentAngerTarget(@Nullable EntityReference<LivingEntity> pPersistentAngerTarget) static voidEntityReference.store(@Nullable EntityReference<?> pKey, ValueOutput pOutput, String pUuid) -
Uses of EntityReference in net.minecraft.world.entity.animal
Fields in net.minecraft.world.entity.animal declared as EntityReferenceModifier and TypeFieldDescriptionprivate @Nullable EntityReference<ServerPlayer> Animal.loveCause -
Uses of EntityReference in net.minecraft.world.entity.animal.bee
Fields in net.minecraft.world.entity.animal.bee declared as EntityReferenceMethods in net.minecraft.world.entity.animal.bee that return EntityReferenceModifier and TypeMethodDescription@Nullable EntityReference<LivingEntity> Bee.getPersistentAngerTarget()Methods in net.minecraft.world.entity.animal.bee with parameters of type EntityReferenceModifier and TypeMethodDescriptionvoidBee.setPersistentAngerTarget(@Nullable EntityReference<LivingEntity> p_480419_) -
Uses of EntityReference in net.minecraft.world.entity.animal.equine
Fields in net.minecraft.world.entity.animal.equine declared as EntityReferenceModifier and TypeFieldDescriptionprivate @Nullable EntityReference<LivingEntity> AbstractHorse.ownerMethods in net.minecraft.world.entity.animal.equine that return EntityReferenceModifier and TypeMethodDescription@Nullable EntityReference<LivingEntity> AbstractHorse.getOwnerReference() -
Uses of EntityReference in net.minecraft.world.entity.animal.fox
Fields in net.minecraft.world.entity.animal.fox with type parameters of type EntityReferenceModifier and TypeFieldDescriptionprivate static final EntityDataAccessor<Optional<EntityReference<LivingEntity>>> private static final EntityDataAccessor<Optional<EntityReference<LivingEntity>>> private static final com.mojang.serialization.Codec<List<EntityReference<LivingEntity>>> Methods in net.minecraft.world.entity.animal.fox that return types with arguments of type EntityReferenceModifier and TypeMethodDescription(package private) Stream<EntityReference<LivingEntity>> Fox.getTrustedEntities()Methods in net.minecraft.world.entity.animal.fox with parameters of type EntityReferenceModifier and TypeMethodDescriptionprivate voidFox.addTrustedEntity(EntityReference<LivingEntity> pEntityReference) -
Uses of EntityReference in net.minecraft.world.entity.animal.golem
Fields in net.minecraft.world.entity.animal.golem declared as EntityReferenceModifier and TypeFieldDescriptionprivate @Nullable EntityReference<LivingEntity> IronGolem.persistentAngerTargetMethods in net.minecraft.world.entity.animal.golem that return EntityReferenceModifier and TypeMethodDescription@Nullable EntityReference<LivingEntity> IronGolem.getPersistentAngerTarget()Methods in net.minecraft.world.entity.animal.golem with parameters of type EntityReferenceModifier and TypeMethodDescriptionvoidIronGolem.setPersistentAngerTarget(@Nullable EntityReference<LivingEntity> p_479961_) -
Uses of EntityReference in net.minecraft.world.entity.animal.polarbear
Fields in net.minecraft.world.entity.animal.polarbear declared as EntityReferenceModifier and TypeFieldDescriptionprivate @Nullable EntityReference<LivingEntity> PolarBear.persistentAngerTargetMethods in net.minecraft.world.entity.animal.polarbear that return EntityReferenceModifier and TypeMethodDescription@Nullable EntityReference<LivingEntity> PolarBear.getPersistentAngerTarget()Methods in net.minecraft.world.entity.animal.polarbear with parameters of type EntityReferenceModifier and TypeMethodDescriptionvoidPolarBear.setPersistentAngerTarget(@Nullable EntityReference<LivingEntity> p_482123_) -
Uses of EntityReference in net.minecraft.world.entity.animal.wolf
Fields in net.minecraft.world.entity.animal.wolf declared as EntityReferenceMethods in net.minecraft.world.entity.animal.wolf that return EntityReferenceModifier and TypeMethodDescription@Nullable EntityReference<LivingEntity> Wolf.getPersistentAngerTarget()Methods in net.minecraft.world.entity.animal.wolf with parameters of type EntityReferenceModifier and TypeMethodDescriptionvoidWolf.setPersistentAngerTarget(@Nullable EntityReference<LivingEntity> p_455947_) -
Uses of EntityReference in net.minecraft.world.entity.boss.enderdragon
Fields in net.minecraft.world.entity.boss.enderdragon declared as EntityReferenceModifier and TypeFieldDescriptionprivate @Nullable EntityReference<Player> EnderDragon.unlimitedLastHurtByPlayer -
Uses of EntityReference in net.minecraft.world.entity.item
Fields in net.minecraft.world.entity.item declared as EntityReferenceModifier and TypeFieldDescriptionprivate @Nullable EntityReference<LivingEntity> PrimedTnt.ownerprivate @Nullable EntityReference<Entity> ItemEntity.thrower -
Uses of EntityReference in net.minecraft.world.entity.monster
Fields in net.minecraft.world.entity.monster declared as EntityReferenceModifier and TypeFieldDescriptionprivate @Nullable EntityReference<Mob> Vex.ownerprivate @Nullable EntityReference<LivingEntity> EnderMan.persistentAngerTargetMethods in net.minecraft.world.entity.monster that return EntityReferenceModifier and TypeMethodDescription@Nullable EntityReference<LivingEntity> EnderMan.getPersistentAngerTarget()Methods in net.minecraft.world.entity.monster with parameters of type EntityReferenceModifier and TypeMethodDescriptionvoidEnderMan.setPersistentAngerTarget(@Nullable EntityReference<LivingEntity> p_454686_) -
Uses of EntityReference in net.minecraft.world.entity.monster.zombie
Fields in net.minecraft.world.entity.monster.zombie declared as EntityReferenceModifier and TypeFieldDescriptionprivate @Nullable EntityReference<LivingEntity> ZombifiedPiglin.persistentAngerTargetMethods in net.minecraft.world.entity.monster.zombie that return EntityReferenceModifier and TypeMethodDescription@Nullable EntityReference<LivingEntity> ZombifiedPiglin.getPersistentAngerTarget()Methods in net.minecraft.world.entity.monster.zombie with parameters of type EntityReferenceModifier and TypeMethodDescriptionvoidZombifiedPiglin.setPersistentAngerTarget(@Nullable EntityReference<LivingEntity> p_479021_) -
Uses of EntityReference in net.minecraft.world.entity.projectile
Fields in net.minecraft.world.entity.projectile declared as EntityReferenceModifier and TypeFieldDescriptionprivate @Nullable EntityReference<Entity> ShulkerBullet.finalTargetprivate @Nullable EntityReference<LivingEntity> EvokerFangs.ownerprotected @Nullable EntityReference<Entity> Projectile.ownerMethods in net.minecraft.world.entity.projectile with parameters of type EntityReferenceModifier and TypeMethodDescriptionbooleanProjectile.deflect(ProjectileDeflection pDeflection, @Nullable Entity pEntity, @Nullable EntityReference<Entity> pOwner, boolean pDeflectionByPlayer) protected voidProjectile.setOwner(@Nullable EntityReference<Entity> pOwner) -
Uses of EntityReference in net.minecraft.world.entity.projectile.hurtingprojectile.windcharge
Methods in net.minecraft.world.entity.projectile.hurtingprojectile.windcharge with parameters of type EntityReferenceModifier and TypeMethodDescriptionbooleanWindCharge.deflect(ProjectileDeflection p_478545_, @Nullable Entity p_482092_, @Nullable EntityReference<Entity> p_480343_, boolean p_478437_) -
Uses of EntityReference in net.minecraft.world.entity.projectile.throwableitemprojectile
Methods in net.minecraft.world.entity.projectile.throwableitemprojectile with parameters of type EntityReferenceModifier and TypeMethodDescriptionprotected voidThrownEnderpearl.setOwner(@Nullable EntityReference<Entity> p_482142_) -
Uses of EntityReference in net.minecraft.world.level.block.entity
Fields in net.minecraft.world.level.block.entity declared as EntityReferenceModifier and TypeFieldDescriptionprivate @Nullable EntityReference<LivingEntity> ConduitBlockEntity.destroyTargetMethods in net.minecraft.world.level.block.entity that return EntityReferenceModifier and TypeMethodDescriptionprivate static @Nullable EntityReference<LivingEntity> ConduitBlockEntity.selectNewTarget(ServerLevel pLevel, BlockPos pPos) private static @Nullable EntityReference<LivingEntity> ConduitBlockEntity.updateDestroyTarget(@Nullable EntityReference<LivingEntity> pDestroyTarget, ServerLevel pLevel, BlockPos pPos, boolean pCanDestroy) Methods in net.minecraft.world.level.block.entity with parameters of type EntityReferenceModifier and TypeMethodDescriptionprivate static @Nullable EntityReference<LivingEntity> ConduitBlockEntity.updateDestroyTarget(@Nullable EntityReference<LivingEntity> pDestroyTarget, ServerLevel pLevel, BlockPos pPos, boolean pCanDestroy)