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
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
(CompoundTag p_393801_, String p_394012_) static <StoredEntityType extends UniquelyIdentifyable>
EntityReference<StoredEntityType> EntityReference.readWithOldOwnerConversion
(CompoundTag p_393884_, String p_394543_, Level p_393661_) 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> p_393467_, UUIDLookup<? super StoredEntityType> p_393924_, Class<StoredEntityType> p_394473_) private void
LivingEntity.setLastHurtByPlayer
(EntityReference<Player> p_394656_, int p_393942_) void
TamableAnimal.setOwnerReference
(EntityReference<LivingEntity> p_393498_) -
Uses of EntityReference in net.minecraft.world.entity.animal
Fields 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