Package net.minecraft.test
Class GameTestState
java.lang.Object
net.minecraft.test.GameTestState
- Mappings:
Namespace Name named net/minecraft/test/GameTestState
intermediary net/minecraft/class_4517
official st
-
Field Summary
Modifier and TypeFieldDescriptionprivate boolean
private int
private boolean
private final Collection
<TestListener> private final BlockRotation
private boolean
private long
private final Stopwatch
private @Nullable StructureBlockBlockEntity
private final TestAttemptConfig
private final TestFunction
private long
private boolean
private final int
private final Object2LongMap
<Runnable> private final Collection
<TimedTaskRunner> private final ServerWorld
-
Constructor Summary
ConstructorDescriptionGameTestState
(TestFunction testFunction, BlockRotation rotation, ServerWorld world, TestAttemptConfig testAttemptConfig) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addListener
(TestListener listener) private void
complete()
void
copy()
(package private) TimedTaskRunner
void
private BlockPos
long
int
getPos()
int
(package private) long
getTick()
int
getWorld()
init()
private boolean
boolean
boolean
isFailed()
boolean
isFlaky()
boolean
boolean
isPassed()
boolean
boolean
void
void
setBoxMinPos
(BlockPos boxMinPos) (package private) void
private void
start()
startCountdown
(int additionalExpectedStopTime) void
tick
(TestRunContext context) private void
toString()
-
Field Details
-
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
Lst;a:Ltn;
-
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
Lst;b:Lja;
-
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
Lst;c:Lja;
-
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
Lst;d:Laqm;
-
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
Lst;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
Lst;f:I
-
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
Lst;g:Ljava/util/Collection;
-
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
Lst;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
Lst;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
Lst;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
Lst;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
Lst;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
Lst;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
Lst;n:Z
-
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
Lst;o:Ltg;
-
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
Lst;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
Lst;q:Z
-
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
Lst;r:Ldlv;
-
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
Lst;s:Ljava/lang/Throwable;
-
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
Lst;t:Ldrg;
-
-
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>
Lst;<init>(Ltn;Ldlv;Laqm;Ltg;)V
-
-
Method Details
-
setPos
- 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
Lst;a(Lja;)V
-
startCountdown
- 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
Lst;a(I)Lst;
-
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
Lst;a()Lst;
-
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
Lst;C()Z
-
tick
- 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
Lst;a(Lsw;)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
Lst;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
Lst;E()V
-
runAtTick
- 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
Lst;a(JLjava/lang/Runnable;)V
-
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
Lst;b()Ljava/lang/String;
-
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
Lst;c()Lja;
-
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
Lst;d()Lewc;
-
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
Lst;e()Ldrg;
-
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
Lst;f()Laqm;
-
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
Lst;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
Lst;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
Lst;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
Lst;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
Lst;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
Lst;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
Lst;l()V
-
fail
- 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
Lst;a(Ljava/lang/Throwable;)V
-
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
Lst;m()Ljava/lang/Throwable;
-
toString
-
addListener
- 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
Lst;a(Lsu;)V
-
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
Lst;n()Lst;
-
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
Lst;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
Lst;p()Lsx;
-
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
Lst;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
Lst;r()Z
-
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
Lst;s()Ljava/lang/String;
-
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
Lst;t()Ldlv;
-
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
Lst;u()Ltn;
-
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
Lst;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
Lst;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
Lst;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
Lst;y()I
-
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
Lst;z()Ltg;
-
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
Lst;A()Ljava/util/stream/Stream;
-
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
Lst;B()Lst;
-
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
Lst;G()Lja;
-
setBoxMinPos
- 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
Lst;b(Lja;)V
-