Package net.minecraft.world.event
Class BlockPositionSource
java.lang.Object
net.minecraft.world.event.BlockPositionSource
- All Implemented Interfaces:
PositionSource
public class BlockPositionSource extends Object implements PositionSource
- Mappings:
Namespace Name official clq
intermediary net/minecraft/class_5707
named net/minecraft/world/event/BlockPositionSource
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BlockPositionSource.Type
-
Field Summary
Fields Modifier and Type Field Description static com.mojang.serialization.Codec<BlockPositionSource>
CODEC
private Optional<BlockPos>
pos
Fields inherited from interface net.minecraft.world.event.PositionSource
TYPE_CODEC
-
Constructor Summary
Constructors Constructor Description BlockPositionSource(Optional<BlockPos> pos)
BlockPositionSource(BlockPos pos)
-
Method Summary
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official a
Lclq;a:Lcom/mojang/serialization/Codec;
intermediary field_28137
Lnet/minecraft/class_5707;field_28137:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/world/event/BlockPositionSource;CODEC:Lcom/mojang/serialization/Codec;
-
pos
- Mappings:
Namespace Name Mixin selector official c
Lclq;c:Ljava/util/Optional;
intermediary field_28138
Lnet/minecraft/class_5707;field_28138:Ljava/util/Optional;
named pos
Lnet/minecraft/world/event/BlockPositionSource;pos:Ljava/util/Optional;
-
-
Constructor Details
-
BlockPositionSource
- Mappings:
Namespace Name Mixin selector official <init>
Lclq;<init>(Lfx;)V
intermediary <init>
Lnet/minecraft/class_5707;<init>(Lnet/minecraft/class_2338;)V
named <init>
Lnet/minecraft/world/event/BlockPositionSource;<init>(Lnet/minecraft/util/math/BlockPos;)V
-
BlockPositionSource
- Mappings:
Namespace Name Mixin selector official <init>
Lclq;<init>(Ljava/util/Optional;)V
intermediary <init>
Lnet/minecraft/class_5707;<init>(Ljava/util/Optional;)V
named <init>
Lnet/minecraft/world/event/BlockPositionSource;<init>(Ljava/util/Optional;)V
-
-
Method Details
-
getPos
- Specified by:
getPos
in interfacePositionSource
- Mappings:
Namespace Name Mixin selector official a
Lclx;a(Lbtv;)Ljava/util/Optional;
intermediary method_32956
Lnet/minecraft/class_5716;method_32956(Lnet/minecraft/class_1937;)Ljava/util/Optional;
named getPos
Lnet/minecraft/world/event/PositionSource;getPos(Lnet/minecraft/world/World;)Ljava/util/Optional;
-
getType
- Specified by:
getType
in interfacePositionSource
- Mappings:
Namespace Name Mixin selector official a
Lclx;a()Lcly;
intermediary method_32955
Lnet/minecraft/class_5716;method_32955()Lnet/minecraft/class_5717;
named getType
Lnet/minecraft/world/event/PositionSource;getType()Lnet/minecraft/world/event/PositionSourceType;
-