Package net.minecraft.world.event
Interface PositionSourceType<T extends PositionSource>
- All Known Implementing Classes:
BlockPositionSource.Type
,EntityPositionSource.Type
public interface PositionSourceType<T extends PositionSource>
- Mappings:
Namespace Name official cpa
intermediary net/minecraft/class_5717
named net/minecraft/world/event/PositionSourceType
-
Field Summary
Modifier and TypeFieldDescription -
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.serialization.Codec<T>
getCodec()
static PositionSource
read(PacketByteBuf buf)
readFromBuf(PacketByteBuf buf)
static <S extends PositionSourceType<T>, T extends PositionSource>
Sstatic <T extends PositionSource>
voidwrite(T positionSource, PacketByteBuf buf)
void
writeToBuf(PacketByteBuf buf, T positionSource)
-
Field Details
-
BLOCK
- Mappings:
Namespace Name Mixin selector official a
Lcpa;a:Lcpa;
intermediary field_28185
Lnet/minecraft/class_5717;field_28185:Lnet/minecraft/class_5717;
named BLOCK
Lnet/minecraft/world/event/PositionSourceType;BLOCK:Lnet/minecraft/world/event/PositionSourceType;
-
ENTITY
- Mappings:
Namespace Name Mixin selector official b
Lcpa;b:Lcpa;
intermediary field_28186
Lnet/minecraft/class_5717;field_28186:Lnet/minecraft/class_5717;
named ENTITY
Lnet/minecraft/world/event/PositionSourceType;ENTITY:Lnet/minecraft/world/event/PositionSourceType;
-
-
Method Details
-
readFromBuf
- Mappings:
Namespace Name Mixin selector official b
Lcpa;b(Log;)Lcoz;
intermediary method_32962
Lnet/minecraft/class_5717;method_32962(Lnet/minecraft/class_2540;)Lnet/minecraft/class_5716;
named readFromBuf
Lnet/minecraft/world/event/PositionSourceType;readFromBuf(Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/world/event/PositionSource;
-
writeToBuf
- Mappings:
Namespace Name Mixin selector official a
Lcpa;a(Log;Lcoz;)V
intermediary method_32960
Lnet/minecraft/class_5717;method_32960(Lnet/minecraft/class_2540;Lnet/minecraft/class_5716;)V
named writeToBuf
Lnet/minecraft/world/event/PositionSourceType;writeToBuf(Lnet/minecraft/network/PacketByteBuf;Lnet/minecraft/world/event/PositionSource;)V
-
getCodec
com.mojang.serialization.Codec<T> getCodec()- Mappings:
Namespace Name Mixin selector official a
Lcpa;a()Lcom/mojang/serialization/Codec;
intermediary method_32957
Lnet/minecraft/class_5717;method_32957()Lcom/mojang/serialization/Codec;
named getCodec
Lnet/minecraft/world/event/PositionSourceType;getCodec()Lcom/mojang/serialization/Codec;
-
register
static <S extends PositionSourceType<T>, T extends PositionSource> S register(String id, S positionSourceType)- Mappings:
Namespace Name Mixin selector official a
Lcpa;a(Ljava/lang/String;Lcpa;)Lcpa;
intermediary method_32959
Lnet/minecraft/class_5717;method_32959(Ljava/lang/String;Lnet/minecraft/class_5717;)Lnet/minecraft/class_5717;
named register
Lnet/minecraft/world/event/PositionSourceType;register(Ljava/lang/String;Lnet/minecraft/world/event/PositionSourceType;)Lnet/minecraft/world/event/PositionSourceType;
-
read
- Mappings:
Namespace Name Mixin selector official c
Lcpa;c(Log;)Lcoz;
intermediary method_32963
Lnet/minecraft/class_5717;method_32963(Lnet/minecraft/class_2540;)Lnet/minecraft/class_5716;
named read
Lnet/minecraft/world/event/PositionSourceType;read(Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/world/event/PositionSource;
-
write
- Mappings:
Namespace Name Mixin selector official a
Lcpa;a(Lcoz;Log;)V
intermediary method_32958
Lnet/minecraft/class_5717;method_32958(Lnet/minecraft/class_5716;Lnet/minecraft/class_2540;)V
named write
Lnet/minecraft/world/event/PositionSourceType;write(Lnet/minecraft/world/event/PositionSource;Lnet/minecraft/network/PacketByteBuf;)V
-