Package net.minecraft.util.math
Interface BlockPointer
- All Superinterfaces:
Position
- All Known Implementing Classes:
BlockPointerImpl
- Mappings:
Namespace Name official gh
intermediary net/minecraft/class_2342
named net/minecraft/util/math/BlockPointer
-
Method Summary
Modifier and TypeMethodDescription<T extends BlockEntity>
TgetWorld()
double
getX()
Returns the X coordinate.double
getY()
Returns the Y coordinate.double
getZ()
Returns the Z coordinate.
-
Method Details
-
getX
double getX()Returns the X coordinate. -
getY
double getY()Returns the Y coordinate. -
getZ
double getZ()Returns the Z coordinate. -
getBlockPos
BlockPos getBlockPos()- Mappings:
Namespace Name Mixin selector official d
Lgh;d()Lgg;
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
BlockState getBlockState()- Mappings:
Namespace Name Mixin selector official e
Lgh;e()Lcks;
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
- Mappings:
Namespace Name Mixin selector official f
Lgh;f()Lcip;
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;
-
getWorld
ServerWorld getWorld()- Mappings:
Namespace Name Mixin selector official g
Lgh;g()Labr;
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;
-