Class BlockPositionSource.Type

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

public static class BlockPositionSource.Type extends Object implements PositionSourceType<BlockPositionSource>
Mappings:
Namespace Name
official dfw$a
intermediary net/minecraft/class_5707$class_5708
named net/minecraft/world/event/BlockPositionSource$Type
  • Constructor Details

    • Type

      public Type()
  • Method Details

    • readFromBuf

      public BlockPositionSource readFromBuf(PacketByteBuf packetByteBuf)
      Specified by:
      readFromBuf in interface PositionSourceType<BlockPositionSource>
      Mappings:
      Namespace Name Mixin selector
      official a Ldfw$a;a(Lss;)Ldfw;
      intermediary method_32929 Lnet/minecraft/class_5707$class_5708;method_32929(Lnet/minecraft/class_2540;)Lnet/minecraft/class_5707;
      named readFromBuf Lnet/minecraft/world/event/BlockPositionSource$Type;readFromBuf(Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/world/event/BlockPositionSource;
    • writeToBuf

      public void writeToBuf(PacketByteBuf packetByteBuf, BlockPositionSource blockPositionSource)
      Specified by:
      writeToBuf in interface PositionSourceType<BlockPositionSource>
      Mappings:
      Namespace Name Mixin selector
      official a Ldfw$a;a(Lss;Ldfw;)V
      intermediary method_32930 Lnet/minecraft/class_5707$class_5708;method_32930(Lnet/minecraft/class_2540;Lnet/minecraft/class_5707;)V
      named writeToBuf Lnet/minecraft/world/event/BlockPositionSource$Type;writeToBuf(Lnet/minecraft/network/PacketByteBuf;Lnet/minecraft/world/event/BlockPositionSource;)V
    • getCodec

      public com.mojang.serialization.Codec<BlockPositionSource> getCodec()
      Specified by:
      getCodec in interface PositionSourceType<BlockPositionSource>
      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;