Package net.minecraft.world.event
Class BlockPositionSource
java.lang.Object
net.minecraft.world.event.BlockPositionSource
- All Implemented Interfaces:
- PositionSource
- Mappings:
- Namespace - Name - named - net/minecraft/world/event/BlockPositionSource- intermediary - net/minecraft/class_5707- official - ebq
- 
Nested Class SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<BlockPositionSource> static final PacketCodec<ByteBuf, BlockPositionSource> private final BlockPos
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Field Details- 
CODEC- Mappings:
- Namespace - Name - Mixin selector - named - CODEC- Lnet/minecraft/world/event/BlockPositionSource;CODEC:Lcom/mojang/serialization/MapCodec;- intermediary - field_28137- Lnet/minecraft/class_5707;field_28137:Lcom/mojang/serialization/MapCodec;- official - a- Lebq;a:Lcom/mojang/serialization/MapCodec;
 
- 
PACKET_CODEC- Mappings:
- Namespace - Name - Mixin selector - named - PACKET_CODEC- Lnet/minecraft/world/event/BlockPositionSource;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;- intermediary - field_48377- Lnet/minecraft/class_5707;field_48377:Lnet/minecraft/class_9139;- official - b- Lebq;b:Lyn;
 
- 
pos- Mappings:
- Namespace - Name - Mixin selector - named - pos- Lnet/minecraft/world/event/BlockPositionSource;pos:Lnet/minecraft/util/math/BlockPos;- intermediary - field_28138- Lnet/minecraft/class_5707;field_28138:Lnet/minecraft/class_2338;- official - e- Lebq;e:Lji;
 
 
- 
- 
Constructor Details- 
BlockPositionSource- Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/world/event/BlockPositionSource;<init>(Lnet/minecraft/util/math/BlockPos;)V- intermediary - <init>- Lnet/minecraft/class_5707;<init>(Lnet/minecraft/class_2338;)V- official - <init>- Lebq;<init>(Lji;)V
 
 
- 
- 
Method Details- 
getPos- Specified by:
- getPosin interface- PositionSource
- Mappings:
- Namespace - Name - Mixin selector - named - getPos- Lnet/minecraft/world/event/PositionSource;getPos(Lnet/minecraft/world/World;)Ljava/util/Optional;- intermediary - method_32956- Lnet/minecraft/class_5716;method_32956(Lnet/minecraft/class_1937;)Ljava/util/Optional;- official - a- Leby;a(Ldgj;)Ljava/util/Optional;
 
- 
getTypeReturns the type of this position source.- Specified by:
- getTypein interface- PositionSource
- Mappings:
- Namespace - Name - Mixin selector - named - getType- Lnet/minecraft/world/event/PositionSource;getType()Lnet/minecraft/world/event/PositionSourceType;- intermediary - method_32955- Lnet/minecraft/class_5716;method_32955()Lnet/minecraft/class_5717;- official - a- Leby;a()Lebz;
 
 
-