Class PositionedException

All Implemented Interfaces:
Serializable

public class PositionedException extends GameTestException
See Also:
Mappings:
Namespace Name
official ri
intermediary net/minecraft/class_4513
named net/minecraft/test/PositionedException
  • Field Details

    • pos

      private final BlockPos pos
      Mappings:
      Namespace Name Mixin selector
      official a Lri;a:Lhx;
      intermediary field_20541 Lnet/minecraft/class_4513;field_20541:Lnet/minecraft/class_2338;
      named pos Lnet/minecraft/test/PositionedException;pos:Lnet/minecraft/util/math/BlockPos;
    • relativePos

      private final BlockPos relativePos
      Mappings:
      Namespace Name Mixin selector
      official b Lri;b:Lhx;
      intermediary field_20542 Lnet/minecraft/class_4513;field_20542:Lnet/minecraft/class_2338;
      named relativePos Lnet/minecraft/test/PositionedException;relativePos:Lnet/minecraft/util/math/BlockPos;
    • tick

      private final long tick
      Mappings:
      Namespace Name Mixin selector
      official c Lri;c:J
      intermediary field_21449 Lnet/minecraft/class_4513;field_21449:J
      named tick Lnet/minecraft/test/PositionedException;tick:J
  • Constructor Details

    • PositionedException

      public PositionedException(String message, BlockPos pos, BlockPos relativePos, long tick)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lri;<init>(Ljava/lang/String;Lhx;Lhx;J)V
      intermediary <init> Lnet/minecraft/class_4513;<init>(Ljava/lang/String;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;J)V
      named <init> Lnet/minecraft/test/PositionedException;<init>(Ljava/lang/String;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;J)V
  • Method Details

    • getMessage

      public String getMessage()
      Overrides:
      getMessage in class Throwable
    • getDebugMessage

      @Nullable public @Nullable String getDebugMessage()
      Mappings:
      Namespace Name Mixin selector
      official a Lri;a()Ljava/lang/String;
      intermediary method_22150 Lnet/minecraft/class_4513;method_22150()Ljava/lang/String;
      named getDebugMessage Lnet/minecraft/test/PositionedException;getDebugMessage()Ljava/lang/String;
    • getRelativePos

      @Nullable public @Nullable BlockPos getRelativePos()
      Mappings:
      Namespace Name Mixin selector
      official b Lri;b()Lhx;
      intermediary method_35940 Lnet/minecraft/class_4513;method_35940()Lnet/minecraft/class_2338;
      named getRelativePos Lnet/minecraft/test/PositionedException;getRelativePos()Lnet/minecraft/util/math/BlockPos;
    • getPos

      @Nullable public @Nullable BlockPos getPos()
      Mappings:
      Namespace Name Mixin selector
      official c Lri;c()Lhx;
      intermediary method_22151 Lnet/minecraft/class_4513;method_22151()Lnet/minecraft/class_2338;
      named getPos Lnet/minecraft/test/PositionedException;getPos()Lnet/minecraft/util/math/BlockPos;