net.minecraft.world.entity

public class EntityReference<StoredEntityType extends UniquelyIdentifyable>

bwl
net.minecraft.world.entity.EntityReference
net.minecraft.class_10583
net.minecraft.unmapped.C_xolbcmjn
net.minecraft.entity.LazyEntityReference
net.minecraft.unmapped.C_xolbcmjn

Field summary

Modifier and TypeField
private com.mojang.datafixers.util.Either<UUID, StoredEntityType>
a
entity
field_55661
f_jspyrajw
value

Constructor summary

ModifierConstructor
public (StoredEntityType value)
public (UUID value)

Method summary

Modifier and TypeMethod
public static <Type extends UniquelyIdentifyable> com.mojang.serialization.Codec<EntityReference<Type>>
a()
codec()
method_66253()
m_pbmuzpkp()
createCodec()
public static <Type extends UniquelyIdentifyable> StreamCodec<io.netty.buffer.ByteBuf, EntityReference<Type>>
b()
streamCodec()
method_66261()
m_ipwwcsgc()
createPacketCodec()
public UUID
c()
getUUID()
method_66263()
m_akgsfies()
getUuid()
public StoredEntityType
a(eez<? super StoredEntityType> arg0, Class<StoredEntityType> arg1)
getEntity(UUIDLookup<? super StoredEntityType> arg0, Class<StoredEntityType> arg1)
method_66255(class_10598<? super StoredEntityType> arg0, Class<StoredEntityType> arg1)
m_ftuivyez(C_cwthlthi<? super StoredEntityType> arg0, Class<StoredEntityType> arg1)
resolve(EntityQueriable<? super StoredEntityType> world, Class<StoredEntityType> type)
private StoredEntityType
a(efa arg0, Class<StoredEntityType> arg1)
resolve(UniquelyIdentifyable arg0, Class<StoredEntityType> arg1)
method_66257(class_10599 arg0, Class<StoredEntityType> arg1)
m_ktzcisei(C_fbmwdlsj arg0, Class<StoredEntityType> arg1)
cast(UniquelyIdentifiable entity, Class<StoredEntityType> clazz)
m_ktzcisei(UniquelyIdentifiable obj, Class<StoredEntityType> arg1)
public boolean
a(StoredEntityType arg0)
matches(StoredEntityType arg0)
method_66256(StoredEntityType arg0)
m_ituvtdrk(StoredEntityType arg0)
uuidEquals(StoredEntityType o)
public void
a(tz arg0, String arg1)
store(CompoundTag arg0, String arg1)
method_66259(class_2487 arg0, String arg1)
m_sbvtgtco(C_hhlwcnih arg0, String arg1)
writeNbt(NbtCompound nbt, String key)
m_sbvtgtco(NbtCompound arg0, String key)
public static <StoredEntityType extends UniquelyIdentifyable> StoredEntityType
a(bwl<StoredEntityType> arg0, eez<? 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)
m_nmymxjba(C_xolbcmjn<StoredEntityType> arg0, C_cwthlthi<? super StoredEntityType> arg1, Class<StoredEntityType> arg2)
resolve(LazyEntityReference<StoredEntityType> entity, EntityQueriable<? super StoredEntityType> world, Class<StoredEntityType> type)
public static <StoredEntityType extends UniquelyIdentifyable> EntityReference<StoredEntityType>
b(tz arg0, String arg1)
read(CompoundTag arg0, String arg1)
method_66262(class_2487 arg0, String arg1)
m_mlxpigst(C_hhlwcnih arg0, String arg1)
fromNbt(NbtCompound nbt, String key)
public static <StoredEntityType extends UniquelyIdentifyable> EntityReference<StoredEntityType>
a(tz arg0, String arg1, dja arg2)
readWithOldOwnerConversion(CompoundTag arg0, String arg1, Level arg2)
method_66260(class_2487 arg0, String arg1, class_1937 arg2)
m_qpclguyf(C_hhlwcnih arg0, String arg1, C_cdctfzbn arg2)
fromNbtOrPlayerName(NbtCompound nbt, String key, World world)
m_qpclguyf(NbtCompound arg0, String arg1, World world)