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 to
  • 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 Lto;a:Lui;
    • 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 Lto;b:Liz;
    • 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 Lto;c:Liz;
    • 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 Lto;d:Larf;
    • 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 Lto;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 Lto;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 Lto;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 Lto;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 Lto;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 Lto;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 Lto;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 Lto;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 Lto;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 Lto;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 Lto;o:Lub;
    • 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 Lto;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 Lto;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 Lto;r:Ldlo;
    • 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 Lto;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 Lto;t:Ldqy;
  • 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> Lto;<init>(Lui;Ldlo;Larf;Lub;)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 Lto;a(Liz;)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 Lto;a(I)Lto;
    • 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 Lto;a()Lto;
    • 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 Lto;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 Lto;a(Ltr;)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 Lto;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 Lto;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 Lto;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 Lto;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 Lto;c()Liz;
    • 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 Lto;d()Levo;
    • 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 Lto;e()Ldqy;
    • 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 Lto;f()Larf;
    • 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 Lto;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 Lto;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 Lto;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 Lto;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 Lto;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 Lto;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 Lto;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 Lto;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 Lto;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 Lto;a(Ltp;)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 Lto;n()Lto;
    • 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 Lto;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 Lto;p()Lts;
    • 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 Lto;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 Lto;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 Lto;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 Lto;t()Ldlo;
    • 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 Lto;u()Lui;
    • 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 Lto;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 Lto;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 Lto;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 Lto;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 Lto;z()Lub;
    • 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 Lto;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 Lto;B()Lto;
    • 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 Lto;G()Liz;
    • 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 Lto;b(Liz;)V