Package net.minecraft.world.event
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
-
Field Summary
Fields inherited from interface net.minecraft.world.event.PositionSourceType
BLOCK, ENTITY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.serialization.Codec<BlockPositionSource>
getCodec()
readFromBuf
(PacketByteBuf packetByteBuf) void
writeToBuf
(PacketByteBuf packetByteBuf, BlockPositionSource blockPositionSource)
-
Constructor Details
-
Type
public Type()
-
-
Method Details
-
readFromBuf
- Specified by:
readFromBuf
in interfacePositionSourceType<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
- Specified by:
writeToBuf
in interfacePositionSourceType<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
- Specified by:
getCodec
in interfacePositionSourceType<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;
-