Class BlockPointerImpl

java.lang.Object
net.minecraft.util.math.BlockPointerImpl
All Implemented Interfaces:
BlockPointer, Position, WorldPosition, WorldPositionPointer

public class BlockPointerImpl extends Object implements BlockPointer
Mappings:
Namespace Name
official cq
intermediary net/minecraft/class_1337
named net/minecraft/util/math/BlockPointerImpl
  • Field Details

    • world

      private final World world
      Mappings:
      Namespace Name Mixin selector
      official a Lcq;a:Lajs;
      intermediary field_5138 Lnet/minecraft/class_1337;field_5138:Lnet/minecraft/class_1150;
      named world Lnet/minecraft/util/math/BlockPointerImpl;world:Lnet/minecraft/world/World;
    • pos

      private final BlockPos pos
      Mappings:
      Namespace Name Mixin selector
      official b Lcq;b:Lco;
      intermediary field_11446 Lnet/minecraft/class_1337;field_11446:Lnet/minecraft/class_2552;
      named pos Lnet/minecraft/util/math/BlockPointerImpl;pos:Lnet/minecraft/util/math/BlockPos;
  • Constructor Details

    • BlockPointerImpl

      public BlockPointerImpl(World world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcq;<init>(Lajs;Lco;)V
      intermediary <init> Lnet/minecraft/class_1337;<init>(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)V
      named <init> Lnet/minecraft/util/math/BlockPointerImpl;<init>(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)V
  • Method Details

    • getWorld

      public World getWorld()
      Specified by:
      getWorld in interface WorldPosition
      Mappings:
      Namespace Name Mixin selector
      official h Lda;h()Lajs;
      intermediary method_4378 Lnet/minecraft/class_1363;method_4378()Lnet/minecraft/class_1150;
      named getWorld Lnet/minecraft/util/math/WorldPosition;getWorld()Lnet/minecraft/world/World;
    • getX

      public double getX()
      Specified by:
      getX in interface BlockPointer
      Specified by:
      getX in interface Position
      Mappings:
      Namespace Name Mixin selector
      official a Ldf;a()D
      intermediary method_4379 Lnet/minecraft/class_1364;method_4379()D
      named getX Lnet/minecraft/util/math/Position;getX()D
    • getY

      public double getY()
      Specified by:
      getY in interface BlockPointer
      Specified by:
      getY in interface Position
      Mappings:
      Namespace Name Mixin selector
      official b Ldf;b()D
      intermediary method_4380 Lnet/minecraft/class_1364;method_4380()D
      named getY Lnet/minecraft/util/math/Position;getY()D
    • getZ

      public double getZ()
      Specified by:
      getZ in interface BlockPointer
      Specified by:
      getZ in interface Position
      Mappings:
      Namespace Name Mixin selector
      official c Ldf;c()D
      intermediary method_4381 Lnet/minecraft/class_1364;method_4381()D
      named getZ Lnet/minecraft/util/math/Position;getZ()D
    • getBlockPos

      public BlockPos getBlockPos()
      Specified by:
      getBlockPos in interface BlockPointer
      Mappings:
      Namespace Name Mixin selector
      official d Lcp;d()Lco;
      intermediary method_4269 Lnet/minecraft/class_1332;method_4269()Lnet/minecraft/class_2552;
      named getBlockPos Lnet/minecraft/util/math/BlockPointer;getBlockPos()Lnet/minecraft/util/math/BlockPos;
    • getBlockState

      public BlockState getBlockState()
      Specified by:
      getBlockState in interface BlockPointer
      Mappings:
      Namespace Name Mixin selector
      official e Lcp;e()Latl;
      intermediary method_4271 Lnet/minecraft/class_1332;method_4271()Lnet/minecraft/class_2232;
      named getBlockState Lnet/minecraft/util/math/BlockPointer;getBlockState()Lnet/minecraft/block/BlockState;
    • getBlockEntity

      public <T extends BlockEntity> T getBlockEntity()
      Specified by:
      getBlockEntity in interface BlockPointer
      Mappings:
      Namespace Name Mixin selector
      official g Lcp;g()Lasc;
      intermediary method_4272 Lnet/minecraft/class_1332;method_4272()Lnet/minecraft/class_226;
      named getBlockEntity Lnet/minecraft/util/math/BlockPointer;getBlockEntity()Lnet/minecraft/block/entity/BlockEntity;