net.minecraft.entity

public final class LazyEntityReference<StoredEntityType extends UniquelyIdentifiable>

bzs
net.minecraft.world.entity.EntityReference
net.minecraft.class_10583
net.minecraft.entity.LazyEntityReference
net.minecraft.unmapped.C_xolbcmjn
net.minecraft.entity.EntityReference
net.minecraft.src.C_379042_

Field summary

Modifier and TypeField
private static final com.mojang.serialization.Codec<? extends LazyEntityReference<?>>
a
CODEC
field_56632
CODEC
f_tgeprgpm
CODEC
f_381887_
private static final PacketCodec<io.netty.buffer.ByteBuf, ? extends LazyEntityReference<?>>
b
STREAM_CODEC
field_56633
PACKET_CODEC
f_gshoiblv
PACKET_CODEC
f_379574_
private com.mojang.datafixers.util.Either<UUID, StoredEntityType>
c
entity
field_55661
value
f_jspyrajw
value
f_381735_

Constructor summary

ModifierConstructor
public (StoredEntityType value)
public (UUID value)

Method summary

Modifier and TypeMethod
public static <Type extends UniquelyIdentifiable> com.mojang.serialization.Codec<LazyEntityReference<Type>>
a()
codec()
method_66253()
createCodec()
m_pbmuzpkp()
getTypeCodec()
m_385061_()
public static <Type extends UniquelyIdentifiable> PacketCodec<io.netty.buffer.ByteBuf, LazyEntityReference<Type>>
b()
streamCodec()
method_66261()
createPacketCodec()
m_ipwwcsgc()
getPacketCodec()
m_384723_()
public UUID
c()
getUUID()
method_66263()
getUuid()
m_akgsfies()
getUuid()
m_386316_()
public StoredEntityType
a(eit<? super StoredEntityType> o, Class<StoredEntityType> arg1)
getEntity(UUIDLookup<? super StoredEntityType> arg0, Class<StoredEntityType> arg1)
method_66255(class_10598<? super StoredEntityType> arg0, Class<StoredEntityType> arg1)
resolve(EntityQueriable<? super StoredEntityType> world, Class<StoredEntityType> type)
m_ftuivyez(C_cwthlthi<? super StoredEntityType> arg0, Class<StoredEntityType> arg1)
getEntity(UuidLookup<? super StoredEntityType> lookup, Class<StoredEntityType> entityClass)
m_386587_(C_379332_<? super StoredEntityType> p_396644_, Class<StoredEntityType> arg1)
private StoredEntityType
a(eiu o, Class<StoredEntityType> arg1)
resolve(UniquelyIdentifyable arg0, Class<StoredEntityType> arg1)
method_66257(class_10599 arg0, Class<StoredEntityType> arg1)
cast(UniquelyIdentifiable entity, Class<StoredEntityType> clazz)
m_ktzcisei(C_fbmwdlsj arg0, Class<StoredEntityType> arg1)
castOrNull(UniquelyIdentifiable obj, Class<StoredEntityType> entityClass)
m_386584_(C_379323_ p_391245_, Class<StoredEntityType> arg1)
public boolean
a(StoredEntityType arg0)
matches(StoredEntityType arg0)
method_66256(StoredEntityType arg0)
uuidEquals(StoredEntityType o)
m_ituvtdrk(StoredEntityType arg0)
references(StoredEntityType entity)
m_385779_(StoredEntityType arg0)
public void
a(fdc o, String arg1)
store(ValueOutput arg0, String arg1)
method_66259(class_11372 arg0, String arg1)
writeData(WriteView view, String key)
m_emyrhazo(C_kespdwpv arg0, String arg1)
m_emyrhazo(DataWriter arg0, String key)
m_385512_(C_398537_ p_396728_, String arg1)
public static void
a(bzs<?> o, fdc o, String o)
store(EntityReference<?> arg0, ValueOutput arg1, String arg2)
method_71612(class_10583<?> arg0, class_11372 arg1, String arg2)
writeData(LazyEntityReference<?> entityRef, WriteView view, String key)
m_vakxkivg(C_xolbcmjn<?> arg0, C_kespdwpv arg1, String arg2)
m_vakxkivg(EntityReference<?> arg0, DataWriter arg1, String key)
m_403739_(C_379042_<?> p_409297_, C_398537_ p_406877_, String p_406736_)
public static <StoredEntityType extends UniquelyIdentifiable> StoredEntityType
a(bzs<StoredEntityType> o, eit<? super StoredEntityType> o, Class<StoredEntityType> o)
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)
resolve(LazyEntityReference<StoredEntityType> entity, EntityQueriable<? super StoredEntityType> world, Class<StoredEntityType> type)
m_nmymxjba(C_xolbcmjn<StoredEntityType> arg0, C_cwthlthi<? super StoredEntityType> arg1, Class<StoredEntityType> arg2)
getEntityOrNull(EntityReference<StoredEntityType> reference, UuidLookup<? super StoredEntityType> lookup, Class<StoredEntityType> entityClass)
m_385388_(C_379042_<StoredEntityType> p_392004_, C_379332_<? super StoredEntityType> p_397681_, Class<StoredEntityType> p_397380_)
public static <StoredEntityType extends UniquelyIdentifiable> LazyEntityReference<StoredEntityType>
a(fda o, String o)
read(ValueInput arg0, String arg1)
method_66262(class_11368 arg0, String arg1)
fromData(ReadView view, String key)
m_mlxpigst(C_djkzhngg arg0, String arg1)
read(DataReader reader, String key)
m_386625_(C_398549_ p_407277_, String p_393635_)
public static <StoredEntityType extends UniquelyIdentifiable> LazyEntityReference<StoredEntityType>
a(fda o, String o, dmu o)
readWithOldOwnerConversion(ValueInput arg0, String arg1, Level arg2)
method_66260(class_11368 arg0, String arg1, class_1937 arg2)
fromDataOrPlayerName(ReadView view, String key, World world)
m_qpclguyf(C_djkzhngg arg0, String arg1, C_cdctfzbn arg2)
readTryPlayer(DataReader reader, String key, World world)
m_387613_(C_398549_ p_407222_, String p_395953_, C_1596_ p_395721_)