Package net.minecraft.util.math
Interface BlockPointer
- All Superinterfaces:
Position
- All Known Implementing Classes:
BlockPointerImpl
public interface BlockPointer extends Position
- Mappings:
Namespace Name official fyintermediary net/minecraft/class_2342named net/minecraft/util/math/BlockPointer
-
Method Summary
Modifier and Type Method Description <T extends BlockEntity>
TgetBlockEntity()BlockPosgetBlockPos()BlockStategetBlockState()ServerWorldgetWorld()doublegetX()doublegetY()doublegetZ()
-
Method Details
-
getX
double getX() -
getY
double getY() -
getZ
double getZ() -
getBlockPos
BlockPos getBlockPos()- Mappings:
Namespace Name Mixin selector official dLfy;d()Lfx;intermediary method_10122Lnet/minecraft/class_2342;method_10122()Lnet/minecraft/class_2338;named getBlockPosLnet/minecraft/util/math/BlockPointer;getBlockPos()Lnet/minecraft/util/math/BlockPos;
-
getBlockState
BlockState getBlockState()- Mappings:
Namespace Name Mixin selector official eLfy;e()Lcht;intermediary method_10120Lnet/minecraft/class_2342;method_10120()Lnet/minecraft/class_2680;named getBlockStateLnet/minecraft/util/math/BlockPointer;getBlockState()Lnet/minecraft/block/BlockState;
-
getBlockEntity
- Mappings:
Namespace Name Mixin selector official fLfy;f()Lcfr;intermediary method_10121Lnet/minecraft/class_2342;method_10121()Lnet/minecraft/class_2586;named getBlockEntityLnet/minecraft/util/math/BlockPointer;getBlockEntity()Lnet/minecraft/block/entity/BlockEntity;
-
getWorld
ServerWorld getWorld()- Mappings:
Namespace Name Mixin selector official gLfy;g()Laav;intermediary method_10207Lnet/minecraft/class_2342;method_10207()Lnet/minecraft/class_3218;named getWorldLnet/minecraft/util/math/BlockPointer;getWorld()Lnet/minecraft/server/world/ServerWorld;
-