net.minecraft.world.entity

public class EntityReference<StoredEntityType extends UniquelyIdentifyable>

bxy
net.minecraft.world.entity.EntityReference
net.minecraft.class_10583

Field summary

Modifier and TypeField
private static final com.mojang.serialization.Codec<? extends EntityReference<?>>
a
CODEC
field_56632
private static final StreamCodec<io.netty.buffer.ByteBuf, ? extends EntityReference<?>>
b
STREAM_CODEC
field_56633
private com.mojang.datafixers.util.Either<UUID, StoredEntityType>
c
entity
field_55661

Constructor summary

ModifierConstructor
public (StoredEntityType arg0)
public (UUID arg0)

Method summary

Modifier and TypeMethod
public static <Type extends UniquelyIdentifyable> com.mojang.serialization.Codec<EntityReference<Type>>
a()
codec()
method_66253()
public static <Type extends UniquelyIdentifyable> StreamCodec<io.netty.buffer.ByteBuf, EntityReference<Type>>
b()
streamCodec()
method_66261()
public UUID
c()
getUUID()
method_66263()
public StoredEntityType
a(egy<? super StoredEntityType> arg0, Class<StoredEntityType> arg1)
getEntity(UUIDLookup<? super StoredEntityType> arg0, Class<StoredEntityType> arg1)
method_66255(class_10598<? super StoredEntityType> arg0, Class<StoredEntityType> arg1)
private StoredEntityType
a(egz arg0, Class<StoredEntityType> arg1)
resolve(UniquelyIdentifyable arg0, Class<StoredEntityType> arg1)
method_66257(class_10599 arg0, Class<StoredEntityType> arg1)
public boolean
a(StoredEntityType arg0)
matches(StoredEntityType arg0)
method_66256(StoredEntityType arg0)
public void
a(fbh arg0, String arg1)
store(ValueOutput arg0, String arg1)
method_66259(class_11372 arg0, String arg1)
public static <StoredEntityType extends UniquelyIdentifyable> StoredEntityType
a(bxy<StoredEntityType> arg0, egy<? super StoredEntityType> arg1, Class<StoredEntityType> arg2)
get(EntityReference<StoredEntityType> arg0, UUIDLookup<? super StoredEntityType> arg1, Class<StoredEntityType> arg2)
method_66254(class_10583<StoredEntityType> arg0, class_10598<? super StoredEntityType> arg1, Class<StoredEntityType> arg2)
public static <StoredEntityType extends UniquelyIdentifyable> EntityReference<StoredEntityType>
a(fbf arg0, String arg1)
read(ValueInput arg0, String arg1)
method_66262(class_11368 arg0, String arg1)
public static <StoredEntityType extends UniquelyIdentifyable> EntityReference<StoredEntityType>
a(fbf arg0, String arg1, dkz arg2)
readWithOldOwnerConversion(ValueInput arg0, String arg1, Level arg2)
method_66260(class_11368 arg0, String arg1, class_1937 arg2)