Class GameTest

java.lang.Object
net.minecraft.test.GameTest

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

    • testFunction

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

      @Nullable private BlockPos pos
      Mappings:
      Namespace Name Mixin selector
      official b Llq;b:Lfx;
      intermediary field_20560 Lnet/minecraft/class_4517;field_20560:Lnet/minecraft/class_2338;
      named pos Lnet/minecraft/test/GameTest;pos:Lnet/minecraft/util/math/BlockPos;
    • world

      private final ServerWorld world
      Mappings:
      Namespace Name Mixin selector
      official c Llq;c:Laav;
      intermediary field_20561 Lnet/minecraft/class_4517;field_20561:Lnet/minecraft/class_3218;
      named world Lnet/minecraft/test/GameTest;world:Lnet/minecraft/server/world/ServerWorld;
    • listeners

      private final Collection<TestListener> listeners
      Mappings:
      Namespace Name Mixin selector
      official d Llq;d:Ljava/util/Collection;
      intermediary field_20562 Lnet/minecraft/class_4517;field_20562:Ljava/util/Collection;
      named listeners Lnet/minecraft/test/GameTest;listeners:Ljava/util/Collection;
    • ticksLeft

      private final int ticksLeft
      Mappings:
      Namespace Name Mixin selector
      official e Llq;e:I
      intermediary field_20563 Lnet/minecraft/class_4517;field_20563:I
      named ticksLeft Lnet/minecraft/test/GameTest;ticksLeft:I
    • timedTaskRunners

      private final Collection<TimedTaskRunner> timedTaskRunners
      Mappings:
      Namespace Name Mixin selector
      official f Llq;f:Ljava/util/Collection;
      intermediary field_21452 Lnet/minecraft/class_4517;field_21452:Ljava/util/Collection;
      named timedTaskRunners Lnet/minecraft/test/GameTest;timedTaskRunners:Ljava/util/Collection;
    • field_21453

      private final Object2LongMap<Runnable> field_21453
      Mappings:
      Namespace Name Mixin selector
      official g Llq;g:Lit/unimi/dsi/fastutil/objects/Object2LongMap;
      intermediary field_21453 Lnet/minecraft/class_4517;field_21453:Lit/unimi/dsi/fastutil/objects/Object2LongMap;
      named field_21453 Lnet/minecraft/test/GameTest;field_21453:Lit/unimi/dsi/fastutil/objects/Object2LongMap;
    • expectedStopTime

      private long expectedStopTime
      Mappings:
      Namespace Name Mixin selector
      official h Llq;h:J
      intermediary field_21454 Lnet/minecraft/class_4517;field_21454:J
      named expectedStopTime Lnet/minecraft/test/GameTest;expectedStopTime:J
    • tick

      private long tick
      Mappings:
      Namespace Name Mixin selector
      official i Llq;i:J
      intermediary field_21455 Lnet/minecraft/class_4517;field_21455:J
      named tick Lnet/minecraft/test/GameTest;tick:J
    • started

      private boolean started
      Mappings:
      Namespace Name Mixin selector
      official j Llq;j:Z
      intermediary field_20565 Lnet/minecraft/class_4517;field_20565:Z
      named started Lnet/minecraft/test/GameTest;started:Z
    • stopwatch

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

      private boolean completed
      Mappings:
      Namespace Name Mixin selector
      official l Llq;l:Z
      intermediary field_20567 Lnet/minecraft/class_4517;field_20567:Z
      named completed Lnet/minecraft/test/GameTest;completed:Z
    • rotation

      private final BlockRotation rotation
      Mappings:
      Namespace Name Mixin selector
      official m Llq;m:Lccm;
      intermediary field_25301 Lnet/minecraft/class_4517;field_25301:Lnet/minecraft/class_2470;
      named rotation Lnet/minecraft/test/GameTest;rotation:Lnet/minecraft/util/BlockRotation;
    • throwable

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

      @Nullable private StructureBlockBlockEntity structureBlockEntity
      Mappings:
      Namespace Name Mixin selector
      official o Llq;o:Lcgv;
      intermediary field_27805 Lnet/minecraft/class_4517;field_27805:Lnet/minecraft/class_2633;
      named structureBlockEntity Lnet/minecraft/test/GameTest;structureBlockEntity:Lnet/minecraft/block/entity/StructureBlockBlockEntity;
  • Constructor Details

    • GameTest

      public GameTest​(TestFunction testFunction, BlockRotation rotation, ServerWorld world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Llq;<init>(Lmh;Lccm;Laav;)V
      intermediary <init> Lnet/minecraft/class_4517;<init>(Lnet/minecraft/class_4529;Lnet/minecraft/class_2470;Lnet/minecraft/class_3218;)V
      named <init> Lnet/minecraft/test/GameTest;<init>(Lnet/minecraft/test/TestFunction;Lnet/minecraft/util/BlockRotation;Lnet/minecraft/server/world/ServerWorld;)V
  • Method Details

    • setPos

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

      void startCountdown()
      Mappings:
      Namespace Name Mixin selector
      official a Llq;a()V
      intermediary method_23634 Lnet/minecraft/class_4517;method_23634()V
      named startCountdown Lnet/minecraft/test/GameTest;startCountdown()V
    • tick

      public void tick()
      Mappings:
      Namespace Name Mixin selector
      official b Llq;b()V
      intermediary method_22165 Lnet/minecraft/class_4517;method_22165()V
      named tick Lnet/minecraft/test/GameTest;tick()V
    • method_33315

      private void method_33315()
      Mappings:
      Namespace Name Mixin selector
      official A Llq;A()V
      intermediary method_33315 Lnet/minecraft/class_4517;method_33315()V
      named method_33315 Lnet/minecraft/test/GameTest;method_33315()V
    • start

      private void start()
      Mappings:
      Namespace Name Mixin selector
      official B Llq;B()V
      intermediary method_23639 Lnet/minecraft/class_4517;method_23639()V
      named start Lnet/minecraft/test/GameTest;start()V
    • getStructurePath

      public String getStructurePath()
      Mappings:
      Namespace Name Mixin selector
      official c Llq;c()Ljava/lang/String;
      intermediary method_22169 Lnet/minecraft/class_4517;method_22169()Ljava/lang/String;
      named getStructurePath Lnet/minecraft/test/GameTest;getStructurePath()Ljava/lang/String;
    • getPos

      public BlockPos getPos()
      Mappings:
      Namespace Name Mixin selector
      official d Llq;d()Lfx;
      intermediary method_22172 Lnet/minecraft/class_4517;method_22172()Lnet/minecraft/class_2338;
      named getPos Lnet/minecraft/test/GameTest;getPos()Lnet/minecraft/util/math/BlockPos;
    • getWorld

      public ServerWorld getWorld()
      Mappings:
      Namespace Name Mixin selector
      official g Llq;g()Laav;
      intermediary method_22176 Lnet/minecraft/class_4517;method_22176()Lnet/minecraft/class_3218;
      named getWorld Lnet/minecraft/test/GameTest;getWorld()Lnet/minecraft/server/world/ServerWorld;
    • isPassed

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

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

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

      public boolean isCompleted()
      Mappings:
      Namespace Name Mixin selector
      official k Llq;k()Z
      intermediary method_22180 Lnet/minecraft/class_4517;method_22180()Z
      named isCompleted Lnet/minecraft/test/GameTest;isCompleted()Z
    • complete

      private void complete()
      Mappings:
      Namespace Name Mixin selector
      official D Llq;D()V
      intermediary method_23640 Lnet/minecraft/class_4517;method_23640()V
      named complete Lnet/minecraft/test/GameTest;complete()V
    • fail

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

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

      public String toString()
      Overrides:
      toString in class Object
      Mappings:
      Namespace Name Mixin selector
      official toString Llq;toString()Ljava/lang/String;
      intermediary toString Lnet/minecraft/class_4517;toString()Ljava/lang/String;
      named toString Lnet/minecraft/test/GameTest;toString()Ljava/lang/String;
    • addListener

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

      public void init​(BlockPos pos, int int2)
      Mappings:
      Namespace Name Mixin selector
      official a Llq;a(Lfx;I)V
      intermediary method_22166 Lnet/minecraft/class_4517;method_22166(Lnet/minecraft/class_2338;I)V
      named init Lnet/minecraft/test/GameTest;init(Lnet/minecraft/util/math/BlockPos;I)V
    • clearArea

      public void clearArea()
      Mappings:
      Namespace Name Mixin selector
      official o Llq;o()V
      intermediary method_32240 Lnet/minecraft/class_4517;method_32240()V
      named clearArea Lnet/minecraft/test/GameTest;clearArea()V
    • isRequired

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

      public boolean isOptional()
      Mappings:
      Namespace Name Mixin selector
      official s Llq;s()Z
      intermediary method_22184 Lnet/minecraft/class_4517;method_22184()Z
      named isOptional Lnet/minecraft/test/GameTest;isOptional()Z
    • getStructureName

      public String getStructureName()
      Mappings:
      Namespace Name Mixin selector
      official t Llq;t()Ljava/lang/String;
      intermediary method_23638 Lnet/minecraft/class_4517;method_23638()Ljava/lang/String;
      named getStructureName Lnet/minecraft/test/GameTest;getStructureName()Ljava/lang/String;
    • getRotation

      public BlockRotation getRotation()
      Mappings:
      Namespace Name Mixin selector
      official u Llq;u()Lccm;
      intermediary method_29402 Lnet/minecraft/class_4517;method_29402()Lnet/minecraft/class_2470;
      named getRotation Lnet/minecraft/test/GameTest;getRotation()Lnet/minecraft/util/BlockRotation;
    • getTestFunction

      public TestFunction getTestFunction()
      Mappings:
      Namespace Name Mixin selector
      official v Llq;v()Lmh;
      intermediary method_29403 Lnet/minecraft/class_4517;method_29403()Lnet/minecraft/class_4529;
      named getTestFunction Lnet/minecraft/test/GameTest;getTestFunction()Lnet/minecraft/test/TestFunction;
    • isFlaky

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

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

      public int getRequiredSuccesses()
      Mappings:
      Namespace Name Mixin selector
      official z Llq;z()I
      intermediary method_32243 Lnet/minecraft/class_4517;method_32243()I
      named getRequiredSuccesses Lnet/minecraft/test/GameTest;getRequiredSuccesses()I