Package net.minecraft.util.math
Class BlockPointerImpl
java.lang.Object
net.minecraft.util.math.BlockPointerImpl
- All Implemented Interfaces:
BlockPointer
,Position
public class BlockPointerImpl extends Object implements BlockPointer
- Mappings:
Namespace Name official fz
intermediary net/minecraft/class_2345
named net/minecraft/util/math/BlockPointerImpl
-
Field Summary
Fields Modifier and Type Field Description private BlockPos
pos
private ServerWorld
world
-
Constructor Summary
Constructors Constructor Description BlockPointerImpl(ServerWorld world, BlockPos pos)
-
Method Summary
Modifier and Type Method Description <T extends BlockEntity>
TgetBlockEntity()
BlockPos
getBlockPos()
BlockState
getBlockState()
ServerWorld
getWorld()
double
getX()
double
getY()
double
getZ()
-
Field Details
-
world
- Mappings:
Namespace Name Mixin selector official a
Lfz;a:Laav;
intermediary field_11011
Lnet/minecraft/class_2345;field_11011:Lnet/minecraft/class_3218;
named world
Lnet/minecraft/util/math/BlockPointerImpl;world:Lnet/minecraft/server/world/ServerWorld;
-
pos
- Mappings:
Namespace Name Mixin selector official b
Lfz;b:Lfx;
intermediary field_11012
Lnet/minecraft/class_2345;field_11012:Lnet/minecraft/class_2338;
named pos
Lnet/minecraft/util/math/BlockPointerImpl;pos:Lnet/minecraft/util/math/BlockPos;
-
-
Constructor Details
-
BlockPointerImpl
- Mappings:
Namespace Name Mixin selector official <init>
Lfz;<init>(Laav;Lfx;)V
intermediary <init>
Lnet/minecraft/class_2345;<init>(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;)V
named <init>
Lnet/minecraft/util/math/BlockPointerImpl;<init>(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;)V
-
-
Method Details
-
getWorld
- Specified by:
getWorld
in interfaceBlockPointer
- Mappings:
Namespace Name Mixin selector official g
Lfy;g()Laav;
intermediary method_10207
Lnet/minecraft/class_2342;method_10207()Lnet/minecraft/class_3218;
named getWorld
Lnet/minecraft/util/math/BlockPointer;getWorld()Lnet/minecraft/server/world/ServerWorld;
-
getX
public double getX()- Specified by:
getX
in interfaceBlockPointer
- Specified by:
getX
in interfacePosition
- Mappings:
Namespace Name Mixin selector official a
Lgk;a()D
intermediary method_10216
Lnet/minecraft/class_2374;method_10216()D
named getX
Lnet/minecraft/util/math/Position;getX()D
-
getY
public double getY()- Specified by:
getY
in interfaceBlockPointer
- Specified by:
getY
in interfacePosition
- Mappings:
Namespace Name Mixin selector official b
Lgk;b()D
intermediary method_10214
Lnet/minecraft/class_2374;method_10214()D
named getY
Lnet/minecraft/util/math/Position;getY()D
-
getZ
public double getZ()- Specified by:
getZ
in interfaceBlockPointer
- Specified by:
getZ
in interfacePosition
- Mappings:
Namespace Name Mixin selector official c
Lgk;c()D
intermediary method_10215
Lnet/minecraft/class_2374;method_10215()D
named getZ
Lnet/minecraft/util/math/Position;getZ()D
-
getBlockPos
- Specified by:
getBlockPos
in interfaceBlockPointer
- Mappings:
Namespace Name Mixin selector official d
Lfy;d()Lfx;
intermediary method_10122
Lnet/minecraft/class_2342;method_10122()Lnet/minecraft/class_2338;
named getBlockPos
Lnet/minecraft/util/math/BlockPointer;getBlockPos()Lnet/minecraft/util/math/BlockPos;
-
getBlockState
- Specified by:
getBlockState
in interfaceBlockPointer
- Mappings:
Namespace Name Mixin selector official e
Lfy;e()Lcht;
intermediary method_10120
Lnet/minecraft/class_2342;method_10120()Lnet/minecraft/class_2680;
named getBlockState
Lnet/minecraft/util/math/BlockPointer;getBlockState()Lnet/minecraft/block/BlockState;
-
getBlockEntity
- Specified by:
getBlockEntity
in interfaceBlockPointer
- Mappings:
Namespace Name Mixin selector official f
Lfy;f()Lcfr;
intermediary method_10121
Lnet/minecraft/class_2342;method_10121()Lnet/minecraft/class_2586;
named getBlockEntity
Lnet/minecraft/util/math/BlockPointer;getBlockEntity()Lnet/minecraft/block/entity/BlockEntity;
-