Package net.minecraft.entity
Class LazyEntityReference<StoredEntityType extends UniquelyIdentifiable>
java.lang.Object
net.minecraft.entity.LazyEntityReference<StoredEntityType>
- Mappings:
Namespace Name named net/minecraft/entity/LazyEntityReferenceintermediary net/minecraft/class_10583official bwl
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate com.mojang.datafixers.util.Either<UUID, StoredEntityType> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate StoredEntityTypecast(@Nullable UniquelyIdentifiable entity, Class<StoredEntityType> clazz) static <Type extends UniquelyIdentifiable>
com.mojang.serialization.Codec<LazyEntityReference<Type>> static <Type extends UniquelyIdentifiable>
PacketCodec<ByteBuf, LazyEntityReference<Type>> static <StoredEntityType extends UniquelyIdentifiable>
@Nullable LazyEntityReference<StoredEntityType> fromNbt(NbtCompound nbt, String key) static <StoredEntityType extends UniquelyIdentifiable>
@Nullable LazyEntityReference<StoredEntityType> fromNbtOrPlayerName(NbtCompound nbt, String key, World world) getUuid()static <StoredEntityType extends UniquelyIdentifiable>
StoredEntityTyperesolve(@Nullable LazyEntityReference<StoredEntityType> entity, EntityQueriable<? super StoredEntityType> world, Class<StoredEntityType> type) resolve(EntityQueriable<? super StoredEntityType> world, Class<StoredEntityType> type) booleanvoidwriteNbt(NbtCompound nbt, String key)
-
Field Details
-
value
- Mappings:
Namespace Name Mixin selector named valueLnet/minecraft/entity/LazyEntityReference;value:Lcom/mojang/datafixers/util/Either;intermediary field_55661Lnet/minecraft/class_10583;field_55661:Lcom/mojang/datafixers/util/Either;official aLbwl;a:Lcom/mojang/datafixers/util/Either;
-
-
Constructor Details
-
LazyEntityReference
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/entity/LazyEntityReference;<init>(Lnet/minecraft/world/entity/UniquelyIdentifiable;)Vintermediary <init>Lnet/minecraft/class_10583;<init>(Lnet/minecraft/class_10599;)Vofficial <init>Lbwl;<init>(Lefa;)V
-
LazyEntityReference
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/entity/LazyEntityReference;<init>(Ljava/util/UUID;)Vintermediary <init>Lnet/minecraft/class_10583;<init>(Ljava/util/UUID;)Vofficial <init>Lbwl;<init>(Ljava/util/UUID;)V
-
-
Method Details
-
createCodec
public static <Type extends UniquelyIdentifiable> com.mojang.serialization.Codec<LazyEntityReference<Type>> createCodec()- Mappings:
Namespace Name Mixin selector named createCodecLnet/minecraft/entity/LazyEntityReference;createCodec()Lcom/mojang/serialization/Codec;intermediary method_66253Lnet/minecraft/class_10583;method_66253()Lcom/mojang/serialization/Codec;official aLbwl;a()Lcom/mojang/serialization/Codec;
-
createPacketCodec
public static <Type extends UniquelyIdentifiable> PacketCodec<ByteBuf,LazyEntityReference<Type>> createPacketCodec()- Mappings:
Namespace Name Mixin selector named createPacketCodecLnet/minecraft/entity/LazyEntityReference;createPacketCodec()Lnet/minecraft/network/codec/PacketCodec;intermediary method_66261Lnet/minecraft/class_10583;method_66261()Lnet/minecraft/class_9139;official bLbwl;b()Lyw;
-
getUuid
- Mappings:
Namespace Name Mixin selector named getUuidLnet/minecraft/entity/LazyEntityReference;getUuid()Ljava/util/UUID;intermediary method_66263Lnet/minecraft/class_10583;method_66263()Ljava/util/UUID;official cLbwl;c()Ljava/util/UUID;
-
resolve
@Nullable public StoredEntityType resolve(EntityQueriable<? super StoredEntityType> world, Class<StoredEntityType> type) - Mappings:
Namespace Name Mixin selector named resolveLnet/minecraft/entity/LazyEntityReference;resolve(Lnet/minecraft/world/entity/EntityQueriable;Ljava/lang/Class;)Lnet/minecraft/world/entity/UniquelyIdentifiable;intermediary method_66255Lnet/minecraft/class_10583;method_66255(Lnet/minecraft/class_10598;Ljava/lang/Class;)Lnet/minecraft/class_10599;official aLbwl;a(Leez;Ljava/lang/Class;)Lefa;
-
cast
@Nullable private StoredEntityType cast(@Nullable @Nullable UniquelyIdentifiable entity, Class<StoredEntityType> clazz) - Mappings:
Namespace Name Mixin selector named castLnet/minecraft/entity/LazyEntityReference;cast(Lnet/minecraft/world/entity/UniquelyIdentifiable;Ljava/lang/Class;)Lnet/minecraft/world/entity/UniquelyIdentifiable;intermediary method_66257Lnet/minecraft/class_10583;method_66257(Lnet/minecraft/class_10599;Ljava/lang/Class;)Lnet/minecraft/class_10599;official aLbwl;a(Lefa;Ljava/lang/Class;)Lefa;
-
uuidEquals
- Mappings:
Namespace Name Mixin selector named uuidEqualsLnet/minecraft/entity/LazyEntityReference;uuidEquals(Lnet/minecraft/world/entity/UniquelyIdentifiable;)Zintermediary method_66256Lnet/minecraft/class_10583;method_66256(Lnet/minecraft/class_10599;)Zofficial aLbwl;a(Lefa;)Z
-
writeNbt
- Mappings:
Namespace Name Mixin selector named writeNbtLnet/minecraft/entity/LazyEntityReference;writeNbt(Lnet/minecraft/nbt/NbtCompound;Ljava/lang/String;)Vintermediary method_66259Lnet/minecraft/class_10583;method_66259(Lnet/minecraft/class_2487;Ljava/lang/String;)Vofficial aLbwl;a(Ltz;Ljava/lang/String;)V
-
resolve
@Nullable public static <StoredEntityType extends UniquelyIdentifiable> StoredEntityType resolve(@Nullable @Nullable LazyEntityReference<StoredEntityType> entity, EntityQueriable<? super StoredEntityType> world, Class<StoredEntityType> type) - Mappings:
Namespace Name Mixin selector named resolveLnet/minecraft/entity/LazyEntityReference;resolve(Lnet/minecraft/entity/LazyEntityReference;Lnet/minecraft/world/entity/EntityQueriable;Ljava/lang/Class;)Lnet/minecraft/world/entity/UniquelyIdentifiable;intermediary method_66254Lnet/minecraft/class_10583;method_66254(Lnet/minecraft/class_10583;Lnet/minecraft/class_10598;Ljava/lang/Class;)Lnet/minecraft/class_10599;official aLbwl;a(Lbwl;Leez;Ljava/lang/Class;)Lefa;
-
fromNbt
@Nullable public static <StoredEntityType extends UniquelyIdentifiable> @Nullable LazyEntityReference<StoredEntityType> fromNbt(NbtCompound nbt, String key) - Mappings:
Namespace Name Mixin selector named fromNbtLnet/minecraft/entity/LazyEntityReference;fromNbt(Lnet/minecraft/nbt/NbtCompound;Ljava/lang/String;)Lnet/minecraft/entity/LazyEntityReference;intermediary method_66262Lnet/minecraft/class_10583;method_66262(Lnet/minecraft/class_2487;Ljava/lang/String;)Lnet/minecraft/class_10583;official bLbwl;b(Ltz;Ljava/lang/String;)Lbwl;
-
fromNbtOrPlayerName
@Nullable public static <StoredEntityType extends UniquelyIdentifiable> @Nullable LazyEntityReference<StoredEntityType> fromNbtOrPlayerName(NbtCompound nbt, String key, World world) - Mappings:
Namespace Name Mixin selector named fromNbtOrPlayerNameLnet/minecraft/entity/LazyEntityReference;fromNbtOrPlayerName(Lnet/minecraft/nbt/NbtCompound;Ljava/lang/String;Lnet/minecraft/world/World;)Lnet/minecraft/entity/LazyEntityReference;intermediary method_66260Lnet/minecraft/class_10583;method_66260(Lnet/minecraft/class_2487;Ljava/lang/String;Lnet/minecraft/class_1937;)Lnet/minecraft/class_10583;official aLbwl;a(Ltz;Ljava/lang/String;Ldja;)Lbwl;
-