Interface BlockPointer

All Superinterfaces:
Position
All Known Implementing Classes:
BlockPointerImpl

public interface BlockPointer extends Position
Mappings:
Namespace Name
official gv
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 Lho;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 Lho;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 Lho;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 Lgv;d()Lgu;
      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 Lgv;e()Ldcb;
      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 Lgv;f()Lczn;
      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 Lgv;g()Laif;
      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;