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 EntityReference
<LivingEntity> LivingEntity.lastHurtByMob
protected EntityReference
<Player> LivingEntity.lastHurtByPlayer
private EntityReference
<LivingEntity> AreaEffectCloud.owner
Fields in net.minecraft.world.entity with type parameters of type EntityReferenceModifier and TypeFieldDescriptionprivate static final com.mojang.serialization.Codec
<? extends EntityReference<?>> EntityReference.CODEC
protected static final EntityDataAccessor
<Optional<EntityReference<LivingEntity>>> TamableAnimal.DATA_OWNERUUID_ID
private static final StreamCodec
<io.netty.buffer.ByteBuf, ? extends EntityReference<?>> EntityReference.STREAM_CODEC
Methods in net.minecraft.world.entity that return EntityReferenceModifier and TypeMethodDescriptionOwnableEntity.getOwnerReference()
TamableAnimal.getOwnerReference()
static <StoredEntityType extends UniquelyIdentifyable>
EntityReference<StoredEntityType> EntityReference.read
(ValueInput pInput, String pKey) static <StoredEntityType extends UniquelyIdentifyable>
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>
StoredEntityTypeEntityReference.get
(EntityReference<StoredEntityType> pReference, UUIDLookup<? super StoredEntityType> pUuidLookup, Class<StoredEntityType> pEntityClass) private void
LivingEntity.setLastHurtByPlayer
(EntityReference<Player> pPlayer, int pMemoryTime) void
TamableAnimal.setOwnerReference
(EntityReference<LivingEntity> pOwner) static void
EntityReference.store
(EntityReference<?> pKey, ValueOutput pOutput, String pUuid) -
Uses of EntityReference in net.minecraft.world.entity.animal
Fields in net.minecraft.world.entity.animal declared as EntityReferenceFields in net.minecraft.world.entity.animal 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 that return types with arguments of type EntityReferenceModifier and TypeMethodDescription(package private) Stream
<EntityReference<LivingEntity>> Fox.getTrustedEntities()
Methods in net.minecraft.world.entity.animal with parameters of type EntityReferenceModifier and TypeMethodDescriptionprivate void
Fox.addTrustedEntity
(EntityReference<LivingEntity> p_393599_) -
Uses of EntityReference in net.minecraft.world.entity.animal.horse
Fields in net.minecraft.world.entity.animal.horse declared as EntityReferenceMethods in net.minecraft.world.entity.animal.horse that return EntityReference -
Uses of EntityReference in net.minecraft.world.entity.boss.enderdragon
Fields in net.minecraft.world.entity.boss.enderdragon declared as EntityReferenceModifier and TypeFieldDescriptionprivate 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 EntityReference
<LivingEntity> PrimedTnt.owner
private EntityReference
<Entity> ItemEntity.thrower
-
Uses of EntityReference in net.minecraft.world.entity.monster
Fields in net.minecraft.world.entity.monster declared as EntityReference -
Uses of EntityReference in net.minecraft.world.entity.projectile
Fields in net.minecraft.world.entity.projectile declared as EntityReferenceModifier and TypeFieldDescriptionprivate EntityReference
<Entity> ShulkerBullet.finalTarget
private EntityReference
<LivingEntity> EvokerFangs.owner
protected EntityReference
<Entity> Projectile.owner
Methods in net.minecraft.world.entity.projectile with parameters of type EntityReferenceModifier and TypeMethodDescriptionprotected void
Projectile.setOwner
(EntityReference<Entity> pOwner) protected void
ThrownEnderpearl.setOwner
(EntityReference<Entity> pOwner) -
Uses of EntityReference in net.minecraft.world.level.block.entity
Fields in net.minecraft.world.level.block.entity declared as EntityReferenceModifier and TypeFieldDescriptionprivate EntityReference
<LivingEntity> ConduitBlockEntity.destroyTarget
Methods in net.minecraft.world.level.block.entity that return EntityReferenceModifier and TypeMethodDescriptionprivate static EntityReference
<LivingEntity> ConduitBlockEntity.selectNewTarget
(ServerLevel pLevel, BlockPos pPos) private static EntityReference
<LivingEntity> ConduitBlockEntity.updateDestroyTarget
(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 EntityReference
<LivingEntity> ConduitBlockEntity.updateDestroyTarget
(EntityReference<LivingEntity> pDestroyTarget, ServerLevel pLevel, BlockPos pPos, boolean pCanDestroy)