Class EntityPositionSource.Type

java.lang.Object
net.minecraft.world.event.EntityPositionSource.Type
All Implemented Interfaces:
PositionSourceType<EntityPositionSource>
Enclosing class:
EntityPositionSource

public static class EntityPositionSource.Type extends Object implements PositionSourceType<EntityPositionSource>
Mappings:
Namespace Name
official dfy$a
intermediary net/minecraft/class_5709$class_5710
named net/minecraft/world/event/EntityPositionSource$Type
  • Constructor Details

    • Type

      public Type()
  • Method Details

    • readFromBuf

      public EntityPositionSource readFromBuf(PacketByteBuf packetByteBuf)
      Specified by:
      readFromBuf in interface PositionSourceType<EntityPositionSource>
      Mappings:
      Namespace Name Mixin selector
      official a Ldfy$a;a(Lss;)Ldfy;
      intermediary method_32934 Lnet/minecraft/class_5709$class_5710;method_32934(Lnet/minecraft/class_2540;)Lnet/minecraft/class_5709;
      named readFromBuf Lnet/minecraft/world/event/EntityPositionSource$Type;readFromBuf(Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/world/event/EntityPositionSource;
    • writeToBuf

      public void writeToBuf(PacketByteBuf packetByteBuf, EntityPositionSource entityPositionSource)
      Specified by:
      writeToBuf in interface PositionSourceType<EntityPositionSource>
      Mappings:
      Namespace Name Mixin selector
      official a Ldfy$a;a(Lss;Ldfy;)V
      intermediary method_32935 Lnet/minecraft/class_5709$class_5710;method_32935(Lnet/minecraft/class_2540;Lnet/minecraft/class_5709;)V
      named writeToBuf Lnet/minecraft/world/event/EntityPositionSource$Type;writeToBuf(Lnet/minecraft/network/PacketByteBuf;Lnet/minecraft/world/event/EntityPositionSource;)V
    • getCodec

      public com.mojang.serialization.Codec<EntityPositionSource> getCodec()
      Specified by:
      getCodec in interface PositionSourceType<EntityPositionSource>
      Mappings:
      Namespace Name Mixin selector
      official a Ldgf;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;