Interface BlockPointer

All Superinterfaces:
Position
All Known Implementing Classes:
BlockPointerImpl

public interface BlockPointer extends Position
Mappings:
Namespace Name
official gu
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 Lhj;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 Lhj;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 Lhj;c()D
      intermediary method_10215 Lnet/minecraft/class_2374;method_10215()D
      named getZ Lnet/minecraft/util/math/Position;getZ()D
    • getPos

      BlockPos getPos()
      Mappings:
      Namespace Name Mixin selector
      official d Lgu;d()Lgt;
      intermediary method_10122 Lnet/minecraft/class_2342;method_10122()Lnet/minecraft/class_2338;
      named getPos Lnet/minecraft/util/math/BlockPointer;getPos()Lnet/minecraft/util/math/BlockPos;
    • getBlockState

      BlockState getBlockState()
      Mappings:
      Namespace Name Mixin selector
      official e Lgu;e()Lcur;
      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 Lgu;f()Lcsl;
      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 Lgu;g()Lafo;
      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;