Class GameTestState

java.lang.Object
net.minecraft.test.GameTestState

public class GameTestState extends Object
Mappings:
Namespace Name
named net/minecraft/test/GameTestState
intermediary net/minecraft/class_4517
official sx
  • Field Details

    • testFunction

      private final TestFunction testFunction
      Mappings:
      Namespace Name Mixin selector
      named testFunction Lnet/minecraft/test/GameTestState;testFunction:Lnet/minecraft/test/TestFunction;
      intermediary field_20559 Lnet/minecraft/class_4517;field_20559:Lnet/minecraft/class_4529;
      official a Lsx;a:Ltr;
    • pos

      Mappings:
      Namespace Name Mixin selector
      named pos Lnet/minecraft/test/GameTestState;pos:Lnet/minecraft/util/math/BlockPos;
      intermediary field_20560 Lnet/minecraft/class_4517;field_20560:Lnet/minecraft/class_2338;
      official b Lsx;b:Ljd;
    • boxMinPos

      @Nullable private @Nullable BlockPos boxMinPos
      Mappings:
      Namespace Name Mixin selector
      named boxMinPos Lnet/minecraft/test/GameTestState;boxMinPos:Lnet/minecraft/util/math/BlockPos;
      intermediary field_48468 Lnet/minecraft/class_4517;field_48468:Lnet/minecraft/class_2338;
      official c Lsx;c:Ljd;
    • world

      private final ServerWorld world
      Mappings:
      Namespace Name Mixin selector
      named world Lnet/minecraft/test/GameTestState;world:Lnet/minecraft/server/world/ServerWorld;
      intermediary field_20561 Lnet/minecraft/class_4517;field_20561:Lnet/minecraft/class_3218;
      official d Lsx;d:Laqu;
    • listeners

      private final Collection<TestListener> listeners
      Mappings:
      Namespace Name Mixin selector
      named listeners Lnet/minecraft/test/GameTestState;listeners:Ljava/util/Collection;
      intermediary field_20562 Lnet/minecraft/class_4517;field_20562:Ljava/util/Collection;
      official e Lsx;e:Ljava/util/Collection;
    • tickLimit

      private final int tickLimit
      Mappings:
      Namespace Name Mixin selector
      named tickLimit Lnet/minecraft/test/GameTestState;tickLimit:I
      intermediary field_20563 Lnet/minecraft/class_4517;field_20563:I
      official f Lsx;f:I
    • timedTaskRunners

      private final Collection<TimedTaskRunner> timedTaskRunners
      Mappings:
      Namespace Name Mixin selector
      named timedTaskRunners Lnet/minecraft/test/GameTestState;timedTaskRunners:Ljava/util/Collection;
      intermediary field_21452 Lnet/minecraft/class_4517;field_21452:Ljava/util/Collection;
      official g Lsx;g:Ljava/util/Collection;
    • ticksByRunnables

      private final Object2LongMap<Runnable> ticksByRunnables
      Mappings:
      Namespace Name Mixin selector
      named ticksByRunnables Lnet/minecraft/test/GameTestState;ticksByRunnables:Lit/unimi/dsi/fastutil/objects/Object2LongMap;
      intermediary field_21453 Lnet/minecraft/class_4517;field_21453:Lit/unimi/dsi/fastutil/objects/Object2LongMap;
      official h Lsx;h:Lit/unimi/dsi/fastutil/objects/Object2LongMap;
    • startTime

      private long startTime
      Mappings:
      Namespace Name Mixin selector
      named startTime Lnet/minecraft/test/GameTestState;startTime:J
      intermediary field_21454 Lnet/minecraft/class_4517;field_21454:J
      official i Lsx;i:J
    • initialDelay

      private int initialDelay
      Mappings:
      Namespace Name Mixin selector
      named initialDelay Lnet/minecraft/test/GameTestState;initialDelay:I
      intermediary field_47172 Lnet/minecraft/class_4517;field_47172:I
      official j Lsx;j:I
    • initialized

      private boolean initialized
      Mappings:
      Namespace Name Mixin selector
      named initialized Lnet/minecraft/test/GameTestState;initialized:Z
      intermediary field_47173 Lnet/minecraft/class_4517;field_47173:Z
      official k Lsx;k:Z
    • tickedOnce

      private boolean tickedOnce
      Mappings:
      Namespace Name Mixin selector
      named tickedOnce Lnet/minecraft/test/GameTestState;tickedOnce:Z
      intermediary field_47174 Lnet/minecraft/class_4517;field_47174:Z
      official l Lsx;l:Z
    • tick

      private long tick
      Mappings:
      Namespace Name Mixin selector
      named tick Lnet/minecraft/test/GameTestState;tick:J
      intermediary field_21455 Lnet/minecraft/class_4517;field_21455:J
      official m Lsx;m:J
    • started

      private boolean started
      Mappings:
      Namespace Name Mixin selector
      named started Lnet/minecraft/test/GameTestState;started:Z
      intermediary field_20565 Lnet/minecraft/class_4517;field_20565:Z
      official n Lsx;n:Z
    • testAttemptConfig

      private final TestAttemptConfig testAttemptConfig
      Mappings:
      Namespace Name Mixin selector
      named testAttemptConfig Lnet/minecraft/test/GameTestState;testAttemptConfig:Lnet/minecraft/test/TestAttemptConfig;
      intermediary field_48469 Lnet/minecraft/class_4517;field_48469:Lnet/minecraft/class_9118;
      official o Lsx;o:Ltk;
    • stopwatch

      private final Stopwatch stopwatch
      Mappings:
      Namespace Name Mixin selector
      named stopwatch Lnet/minecraft/test/GameTestState;stopwatch:Lcom/google/common/base/Stopwatch;
      intermediary field_21456 Lnet/minecraft/class_4517;field_21456:Lcom/google/common/base/Stopwatch;
      official p Lsx;p:Lcom/google/common/base/Stopwatch;
    • completed

      private boolean completed
      Mappings:
      Namespace Name Mixin selector
      named completed Lnet/minecraft/test/GameTestState;completed:Z
      intermediary field_20567 Lnet/minecraft/class_4517;field_20567:Z
      official q Lsx;q:Z
    • rotation

      private final BlockRotation rotation
      Mappings:
      Namespace Name Mixin selector
      named rotation Lnet/minecraft/test/GameTestState;rotation:Lnet/minecraft/util/BlockRotation;
      intermediary field_25301 Lnet/minecraft/class_4517;field_25301:Lnet/minecraft/class_2470;
      official r Lsx;r:Ldmm;
    • throwable

      @Nullable private @Nullable Throwable throwable
      Mappings:
      Namespace Name Mixin selector
      named throwable Lnet/minecraft/test/GameTestState;throwable:Ljava/lang/Throwable;
      intermediary field_20569 Lnet/minecraft/class_4517;field_20569:Ljava/lang/Throwable;
      official s Lsx;s:Ljava/lang/Throwable;
    • structureBlockEntity

      @Nullable private @Nullable StructureBlockBlockEntity structureBlockEntity
      Mappings:
      Namespace Name Mixin selector
      named structureBlockEntity Lnet/minecraft/test/GameTestState;structureBlockEntity:Lnet/minecraft/block/entity/StructureBlockBlockEntity;
      intermediary field_27805 Lnet/minecraft/class_4517;field_27805:Lnet/minecraft/class_2633;
      official t Lsx;t:Ldrx;
  • Constructor Details

    • GameTestState

      public GameTestState(TestFunction testFunction, BlockRotation rotation, ServerWorld world, TestAttemptConfig testAttemptConfig)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/test/GameTestState;<init>(Lnet/minecraft/test/TestFunction;Lnet/minecraft/util/BlockRotation;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/test/TestAttemptConfig;)V
      intermediary <init> Lnet/minecraft/class_4517;<init>(Lnet/minecraft/class_4529;Lnet/minecraft/class_2470;Lnet/minecraft/class_3218;Lnet/minecraft/class_9118;)V
      official <init> Lsx;<init>(Ltr;Ldmm;Laqu;Ltk;)V
  • Method Details

    • setPos

      void setPos(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named setPos Lnet/minecraft/test/GameTestState;setPos(Lnet/minecraft/util/math/BlockPos;)V
      intermediary method_23635 Lnet/minecraft/class_4517;method_23635(Lnet/minecraft/class_2338;)V
      official a Lsx;a(Ljd;)V
    • startCountdown

      public GameTestState startCountdown(int additionalExpectedStopTime)
      Mappings:
      Namespace Name Mixin selector
      named startCountdown Lnet/minecraft/test/GameTestState;startCountdown(I)Lnet/minecraft/test/GameTestState;
      intermediary method_23634 Lnet/minecraft/class_4517;method_23634(I)Lnet/minecraft/class_4517;
      official a Lsx;a(I)Lsx;
    • initializeImmediately

      public GameTestState initializeImmediately()
      Mappings:
      Namespace Name Mixin selector
      named initializeImmediately Lnet/minecraft/test/GameTestState;initializeImmediately()Lnet/minecraft/test/GameTestState;
      intermediary method_56213 Lnet/minecraft/class_4517;method_56213()Lnet/minecraft/class_4517;
      official a Lsx;a()Lsx;
    • initialize

      private boolean initialize()
      Mappings:
      Namespace Name Mixin selector
      named initialize Lnet/minecraft/test/GameTestState;initialize()Z
      intermediary method_56211 Lnet/minecraft/class_4517;method_56211()Z
      official C Lsx;C()Z
    • tick

      public void tick(TestRunContext context)
      Mappings:
      Namespace Name Mixin selector
      named tick Lnet/minecraft/test/GameTestState;tick(Lnet/minecraft/test/TestRunContext;)V
      intermediary method_22165 Lnet/minecraft/class_4517;method_22165(Lnet/minecraft/class_4520;)V
      official a Lsx;a(Lta;)V
    • tickTests

      private void tickTests()
      Mappings:
      Namespace Name Mixin selector
      named tickTests Lnet/minecraft/test/GameTestState;tickTests()V
      intermediary method_33315 Lnet/minecraft/class_4517;method_33315()V
      official D Lsx;D()V
    • start

      private void start()
      Mappings:
      Namespace Name Mixin selector
      named start Lnet/minecraft/test/GameTestState;start()V
      intermediary method_23639 Lnet/minecraft/class_4517;method_23639()V
      official E Lsx;E()V
    • runAtTick

      public void runAtTick(long tick, Runnable runnable)
      Mappings:
      Namespace Name Mixin selector
      named runAtTick Lnet/minecraft/test/GameTestState;runAtTick(JLjava/lang/Runnable;)V
      intermediary method_36060 Lnet/minecraft/class_4517;method_36060(JLjava/lang/Runnable;)V
      official a Lsx;a(JLjava/lang/Runnable;)V
    • getTemplatePath

      public String getTemplatePath()
      Mappings:
      Namespace Name Mixin selector
      named getTemplatePath Lnet/minecraft/test/GameTestState;getTemplatePath()Ljava/lang/String;
      intermediary method_22169 Lnet/minecraft/class_4517;method_22169()Ljava/lang/String;
      official b Lsx;b()Ljava/lang/String;
    • getPos

      @Nullable public @Nullable BlockPos getPos()
      Mappings:
      Namespace Name Mixin selector
      named getPos Lnet/minecraft/test/GameTestState;getPos()Lnet/minecraft/util/math/BlockPos;
      intermediary method_22172 Lnet/minecraft/class_4517;method_22172()Lnet/minecraft/class_2338;
      official c Lsx;c()Ljd;
    • getBoundingBox

      public Box getBoundingBox()
      Mappings:
      Namespace Name Mixin selector
      named getBoundingBox Lnet/minecraft/test/GameTestState;getBoundingBox()Lnet/minecraft/util/math/Box;
      intermediary method_36062 Lnet/minecraft/class_4517;method_36062()Lnet/minecraft/class_238;
      official d Lsx;d()Lewx;
    • getStructureBlockBlockEntity

      public StructureBlockBlockEntity getStructureBlockBlockEntity()
      Mappings:
      Namespace Name Mixin selector
      named getStructureBlockBlockEntity Lnet/minecraft/test/GameTestState;getStructureBlockBlockEntity()Lnet/minecraft/block/entity/StructureBlockBlockEntity;
      intermediary method_36059 Lnet/minecraft/class_4517;method_36059()Lnet/minecraft/class_2633;
      official e Lsx;e()Ldrx;
    • getWorld

      public ServerWorld getWorld()
      Mappings:
      Namespace Name Mixin selector
      named getWorld Lnet/minecraft/test/GameTestState;getWorld()Lnet/minecraft/server/world/ServerWorld;
      intermediary method_22176 Lnet/minecraft/class_4517;method_22176()Lnet/minecraft/class_3218;
      official f Lsx;f()Laqu;
    • isPassed

      public boolean isPassed()
      Mappings:
      Namespace Name Mixin selector
      named isPassed Lnet/minecraft/test/GameTestState;isPassed()Z
      intermediary method_22177 Lnet/minecraft/class_4517;method_22177()Z
      official g Lsx;g()Z
    • isFailed

      public boolean isFailed()
      Mappings:
      Namespace Name Mixin selector
      named isFailed Lnet/minecraft/test/GameTestState;isFailed()Z
      intermediary method_22178 Lnet/minecraft/class_4517;method_22178()Z
      official h Lsx;h()Z
    • isStarted

      public boolean isStarted()
      Mappings:
      Namespace Name Mixin selector
      named isStarted Lnet/minecraft/test/GameTestState;isStarted()Z
      intermediary method_22179 Lnet/minecraft/class_4517;method_22179()Z
      official i Lsx;i()Z
    • isCompleted

      public boolean isCompleted()
      Mappings:
      Namespace Name Mixin selector
      named isCompleted Lnet/minecraft/test/GameTestState;isCompleted()Z
      intermediary method_22180 Lnet/minecraft/class_4517;method_22180()Z
      official j Lsx;j()Z
    • getElapsedMilliseconds

      public long getElapsedMilliseconds()
      Mappings:
      Namespace Name Mixin selector
      named getElapsedMilliseconds Lnet/minecraft/test/GameTestState;getElapsedMilliseconds()J
      intermediary method_36063 Lnet/minecraft/class_4517;method_36063()J
      official k Lsx;k()J
    • complete

      private void complete()
      Mappings:
      Namespace Name Mixin selector
      named complete Lnet/minecraft/test/GameTestState;complete()V
      intermediary method_23640 Lnet/minecraft/class_4517;method_23640()V
      official F Lsx;F()V
    • completeIfSuccessful

      public void completeIfSuccessful()
      Mappings:
      Namespace Name Mixin selector
      named completeIfSuccessful Lnet/minecraft/test/GameTestState;completeIfSuccessful()V
      intermediary method_36064 Lnet/minecraft/class_4517;method_36064()V
      official l Lsx;l()V
    • fail

      public void fail(Throwable throwable)
      Mappings:
      Namespace Name Mixin selector
      named fail Lnet/minecraft/test/GameTestState;fail(Ljava/lang/Throwable;)V
      intermediary method_22168 Lnet/minecraft/class_4517;method_22168(Ljava/lang/Throwable;)V
      official a Lsx;a(Ljava/lang/Throwable;)V
    • getThrowable

      @Nullable public @Nullable Throwable getThrowable()
      Mappings:
      Namespace Name Mixin selector
      named getThrowable Lnet/minecraft/test/GameTestState;getThrowable()Ljava/lang/Throwable;
      intermediary method_22182 Lnet/minecraft/class_4517;method_22182()Ljava/lang/Throwable;
      official m Lsx;m()Ljava/lang/Throwable;
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • addListener

      public void addListener(TestListener listener)
      Mappings:
      Namespace Name Mixin selector
      named addListener Lnet/minecraft/test/GameTestState;addListener(Lnet/minecraft/test/TestListener;)V
      intermediary method_22167 Lnet/minecraft/class_4517;method_22167(Lnet/minecraft/class_4518;)V
      official a Lsx;a(Lsy;)V
    • init

      public GameTestState init()
      Mappings:
      Namespace Name Mixin selector
      named init Lnet/minecraft/test/GameTestState;init()Lnet/minecraft/test/GameTestState;
      intermediary method_22166 Lnet/minecraft/class_4517;method_22166()Lnet/minecraft/class_4517;
      official n Lsx;n()Lsx;
    • getTick

      long getTick()
      Mappings:
      Namespace Name Mixin selector
      named getTick Lnet/minecraft/test/GameTestState;getTick()J
      intermediary method_36065 Lnet/minecraft/class_4517;method_36065()J
      official o Lsx;o()J
    • createTimedTaskRunner

      TimedTaskRunner createTimedTaskRunner()
      Mappings:
      Namespace Name Mixin selector
      named createTimedTaskRunner Lnet/minecraft/test/GameTestState;createTimedTaskRunner()Lnet/minecraft/test/TimedTaskRunner;
      intermediary method_36066 Lnet/minecraft/class_4517;method_36066()Lnet/minecraft/class_4693;
      official p Lsx;p()Ltb;
    • isRequired

      public boolean isRequired()
      Mappings:
      Namespace Name Mixin selector
      named isRequired Lnet/minecraft/test/GameTestState;isRequired()Z
      intermediary method_22183 Lnet/minecraft/class_4517;method_22183()Z
      official q Lsx;q()Z
    • isOptional

      public boolean isOptional()
      Mappings:
      Namespace Name Mixin selector
      named isOptional Lnet/minecraft/test/GameTestState;isOptional()Z
      intermediary method_22184 Lnet/minecraft/class_4517;method_22184()Z
      official r Lsx;r()Z
    • getTemplateName

      public String getTemplateName()
      Mappings:
      Namespace Name Mixin selector
      named getTemplateName Lnet/minecraft/test/GameTestState;getTemplateName()Ljava/lang/String;
      intermediary method_23638 Lnet/minecraft/class_4517;method_23638()Ljava/lang/String;
      official s Lsx;s()Ljava/lang/String;
    • getRotation

      public BlockRotation getRotation()
      Mappings:
      Namespace Name Mixin selector
      named getRotation Lnet/minecraft/test/GameTestState;getRotation()Lnet/minecraft/util/BlockRotation;
      intermediary method_29402 Lnet/minecraft/class_4517;method_29402()Lnet/minecraft/class_2470;
      official t Lsx;t()Ldmm;
    • getTestFunction

      public TestFunction getTestFunction()
      Mappings:
      Namespace Name Mixin selector
      named getTestFunction Lnet/minecraft/test/GameTestState;getTestFunction()Lnet/minecraft/test/TestFunction;
      intermediary method_29403 Lnet/minecraft/class_4517;method_29403()Lnet/minecraft/class_4529;
      official u Lsx;u()Ltr;
    • getTickLimit

      public int getTickLimit()
      Mappings:
      Namespace Name Mixin selector
      named getTickLimit Lnet/minecraft/test/GameTestState;getTickLimit()I
      intermediary method_36067 Lnet/minecraft/class_4517;method_36067()I
      official v Lsx;v()I
    • isFlaky

      public boolean isFlaky()
      Mappings:
      Namespace Name Mixin selector
      named isFlaky Lnet/minecraft/test/GameTestState;isFlaky()Z
      intermediary method_32241 Lnet/minecraft/class_4517;method_32241()Z
      official w Lsx;w()Z
    • getMaxAttempts

      public int getMaxAttempts()
      Mappings:
      Namespace Name Mixin selector
      named getMaxAttempts Lnet/minecraft/test/GameTestState;getMaxAttempts()I
      intermediary method_32242 Lnet/minecraft/class_4517;method_32242()I
      official x Lsx;x()I
    • getRequiredSuccesses

      public int getRequiredSuccesses()
      Mappings:
      Namespace Name Mixin selector
      named getRequiredSuccesses Lnet/minecraft/test/GameTestState;getRequiredSuccesses()I
      intermediary method_32243 Lnet/minecraft/class_4517;method_32243()I
      official y Lsx;y()I
    • getTestAttemptConfig

      public TestAttemptConfig getTestAttemptConfig()
      Mappings:
      Namespace Name Mixin selector
      named getTestAttemptConfig Lnet/minecraft/test/GameTestState;getTestAttemptConfig()Lnet/minecraft/test/TestAttemptConfig;
      intermediary method_56215 Lnet/minecraft/class_4517;method_56215()Lnet/minecraft/class_9118;
      official z Lsx;z()Ltk;
    • streamListeners

      public Stream<TestListener> streamListeners()
      Mappings:
      Namespace Name Mixin selector
      named streamListeners Lnet/minecraft/test/GameTestState;streamListeners()Ljava/util/stream/Stream;
      intermediary method_56209 Lnet/minecraft/class_4517;method_56209()Ljava/util/stream/Stream;
      official A Lsx;A()Ljava/util/stream/Stream;
    • copy

      public GameTestState copy()
      Mappings:
      Namespace Name Mixin selector
      named copy Lnet/minecraft/test/GameTestState;copy()Lnet/minecraft/test/GameTestState;
      intermediary method_56210 Lnet/minecraft/class_4517;method_56210()Lnet/minecraft/class_4517;
      official B Lsx;B()Lsx;
    • getBoxMinPos

      private BlockPos getBoxMinPos()
      Mappings:
      Namespace Name Mixin selector
      named getBoxMinPos Lnet/minecraft/test/GameTestState;getBoxMinPos()Lnet/minecraft/util/math/BlockPos;
      intermediary method_56212 Lnet/minecraft/class_4517;method_56212()Lnet/minecraft/class_2338;
      official G Lsx;G()Ljd;
    • setBoxMinPos

      public void setBoxMinPos(BlockPos boxMinPos)
      Mappings:
      Namespace Name Mixin selector
      named setBoxMinPos Lnet/minecraft/test/GameTestState;setBoxMinPos(Lnet/minecraft/util/math/BlockPos;)V
      intermediary method_56214 Lnet/minecraft/class_4517;method_56214(Lnet/minecraft/class_2338;)V
      official b Lsx;b(Ljd;)V