Interface BlockPointer

All Superinterfaces:
Position
All Known Implementing Classes:
BlockPointerImpl

public interface BlockPointer extends Position
Mappings:
Namespace Name
official gh
intermediary net/minecraft/class_2342
named net/minecraft/util/math/BlockPointer
  • Method Details

    • getX

      double getX()
      Returns the X coordinate.
      Specified by:
      getX in interface Position
      Mappings:
      Namespace Name Mixin selector
      official a Lgt;a()D
      intermediary method_10216 Lnet/minecraft/class_2374;method_10216()D
      named getX Lnet/minecraft/util/math/Position;getX()D
    • getY

      double getY()
      Returns the Y coordinate.
      Specified by:
      getY in interface Position
      Mappings:
      Namespace Name Mixin selector
      official b Lgt;b()D
      intermediary method_10214 Lnet/minecraft/class_2374;method_10214()D
      named getY Lnet/minecraft/util/math/Position;getY()D
    • getZ

      double getZ()
      Returns the Z coordinate.
      Specified by:
      getZ in interface Position
      Mappings:
      Namespace Name Mixin selector
      official c Lgt;c()D
      intermediary method_10215 Lnet/minecraft/class_2374;method_10215()D
      named getZ Lnet/minecraft/util/math/Position;getZ()D
    • 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

      <T extends BlockEntity> T 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;