Package net.minecraft.test
Class GameTest
java.lang.Object
net.minecraft.test.GameTest
public class GameTest extends Object
- Mappings:
Namespace Name official lqintermediary net/minecraft/class_4517named net/minecraft/test/GameTest
-
Field Summary
Fields Modifier and Type Field Description private booleancompletedprivate longexpectedStopTimeprivate Object2LongMap<Runnable>field_21453private Collection<TestListener>listenersprivate BlockPosposprivate BlockRotationrotationprivate booleanstartedprivate Stopwatchstopwatchprivate StructureBlockBlockEntitystructureBlockEntityprivate TestFunctiontestFunctionprivate Throwablethrowableprivate longtickprivate intticksLeftprivate Collection<TimedTaskRunner>timedTaskRunnersprivate ServerWorldworld -
Constructor Summary
Constructors Constructor Description GameTest(TestFunction testFunction, BlockRotation rotation, ServerWorld world) -
Method Summary
Modifier and Type Method Description voidaddListener(TestListener listener)voidclearArea()private voidcomplete()voidfail(Throwable throwable)intgetMaxAttempts()BlockPosgetPos()intgetRequiredSuccesses()BlockRotationgetRotation()StringgetStructureName()StringgetStructurePath()TestFunctiongetTestFunction()ThrowablegetThrowable()ServerWorldgetWorld()voidinit(BlockPos pos, int int2)booleanisCompleted()booleanisFailed()booleanisFlaky()booleanisOptional()booleanisPassed()booleanisRequired()booleanisStarted()private voidmethod_33315()(package private) voidsetPos(BlockPos pos)private voidstart()(package private) voidstartCountdown()voidtick()StringtoString()
-
Field Details
-
testFunction
- Mappings:
Namespace Name Mixin selector official aLlq;a:Lmh;intermediary field_20559Lnet/minecraft/class_4517;field_20559:Lnet/minecraft/class_4529;named testFunctionLnet/minecraft/test/GameTest;testFunction:Lnet/minecraft/test/TestFunction;
-
pos
- Mappings:
Namespace Name Mixin selector official bLlq;b:Lfx;intermediary field_20560Lnet/minecraft/class_4517;field_20560:Lnet/minecraft/class_2338;named posLnet/minecraft/test/GameTest;pos:Lnet/minecraft/util/math/BlockPos;
-
world
- Mappings:
Namespace Name Mixin selector official cLlq;c:Laav;intermediary field_20561Lnet/minecraft/class_4517;field_20561:Lnet/minecraft/class_3218;named worldLnet/minecraft/test/GameTest;world:Lnet/minecraft/server/world/ServerWorld;
-
listeners
- Mappings:
Namespace Name Mixin selector official dLlq;d:Ljava/util/Collection;intermediary field_20562Lnet/minecraft/class_4517;field_20562:Ljava/util/Collection;named listenersLnet/minecraft/test/GameTest;listeners:Ljava/util/Collection;
-
ticksLeft
private final int ticksLeft- Mappings:
Namespace Name Mixin selector official eLlq;e:Iintermediary field_20563Lnet/minecraft/class_4517;field_20563:Inamed ticksLeftLnet/minecraft/test/GameTest;ticksLeft:I
-
timedTaskRunners
- Mappings:
Namespace Name Mixin selector official fLlq;f:Ljava/util/Collection;intermediary field_21452Lnet/minecraft/class_4517;field_21452:Ljava/util/Collection;named timedTaskRunnersLnet/minecraft/test/GameTest;timedTaskRunners:Ljava/util/Collection;
-
field_21453
- Mappings:
Namespace Name Mixin selector official gLlq;g:Lit/unimi/dsi/fastutil/objects/Object2LongMap;intermediary field_21453Lnet/minecraft/class_4517;field_21453:Lit/unimi/dsi/fastutil/objects/Object2LongMap;named field_21453Lnet/minecraft/test/GameTest;field_21453:Lit/unimi/dsi/fastutil/objects/Object2LongMap;
-
expectedStopTime
private long expectedStopTime- Mappings:
Namespace Name Mixin selector official hLlq;h:Jintermediary field_21454Lnet/minecraft/class_4517;field_21454:Jnamed expectedStopTimeLnet/minecraft/test/GameTest;expectedStopTime:J
-
tick
private long tick- Mappings:
Namespace Name Mixin selector official iLlq;i:Jintermediary field_21455Lnet/minecraft/class_4517;field_21455:Jnamed tickLnet/minecraft/test/GameTest;tick:J
-
started
private boolean started- Mappings:
Namespace Name Mixin selector official jLlq;j:Zintermediary field_20565Lnet/minecraft/class_4517;field_20565:Znamed startedLnet/minecraft/test/GameTest;started:Z
-
stopwatch
- Mappings:
Namespace Name Mixin selector official kLlq;k:Lcom/google/common/base/Stopwatch;intermediary field_21456Lnet/minecraft/class_4517;field_21456:Lcom/google/common/base/Stopwatch;named stopwatchLnet/minecraft/test/GameTest;stopwatch:Lcom/google/common/base/Stopwatch;
-
completed
private boolean completed- Mappings:
Namespace Name Mixin selector official lLlq;l:Zintermediary field_20567Lnet/minecraft/class_4517;field_20567:Znamed completedLnet/minecraft/test/GameTest;completed:Z
-
rotation
- Mappings:
Namespace Name Mixin selector official mLlq;m:Lccm;intermediary field_25301Lnet/minecraft/class_4517;field_25301:Lnet/minecraft/class_2470;named rotationLnet/minecraft/test/GameTest;rotation:Lnet/minecraft/util/BlockRotation;
-
throwable
- Mappings:
Namespace Name Mixin selector official nLlq;n:Ljava/lang/Throwable;intermediary field_20569Lnet/minecraft/class_4517;field_20569:Ljava/lang/Throwable;named throwableLnet/minecraft/test/GameTest;throwable:Ljava/lang/Throwable;
-
structureBlockEntity
- Mappings:
Namespace Name Mixin selector official oLlq;o:Lcgv;intermediary field_27805Lnet/minecraft/class_4517;field_27805:Lnet/minecraft/class_2633;named structureBlockEntityLnet/minecraft/test/GameTest;structureBlockEntity:Lnet/minecraft/block/entity/StructureBlockBlockEntity;
-
-
Constructor Details
-
GameTest
- Mappings:
Namespace Name Mixin selector official <init>Llq;<init>(Lmh;Lccm;Laav;)Vintermediary <init>Lnet/minecraft/class_4517;<init>(Lnet/minecraft/class_4529;Lnet/minecraft/class_2470;Lnet/minecraft/class_3218;)Vnamed <init>Lnet/minecraft/test/GameTest;<init>(Lnet/minecraft/test/TestFunction;Lnet/minecraft/util/BlockRotation;Lnet/minecraft/server/world/ServerWorld;)V
-
-
Method Details
-
setPos
- Mappings:
Namespace Name Mixin selector official aLlq;a(Lfx;)Vintermediary method_23635Lnet/minecraft/class_4517;method_23635(Lnet/minecraft/class_2338;)Vnamed setPosLnet/minecraft/test/GameTest;setPos(Lnet/minecraft/util/math/BlockPos;)V
-
startCountdown
void startCountdown()- Mappings:
Namespace Name Mixin selector official aLlq;a()Vintermediary method_23634Lnet/minecraft/class_4517;method_23634()Vnamed startCountdownLnet/minecraft/test/GameTest;startCountdown()V
-
tick
public void tick()- Mappings:
Namespace Name Mixin selector official bLlq;b()Vintermediary method_22165Lnet/minecraft/class_4517;method_22165()Vnamed tickLnet/minecraft/test/GameTest;tick()V
-
method_33315
private void method_33315()- Mappings:
Namespace Name Mixin selector official ALlq;A()Vintermediary method_33315Lnet/minecraft/class_4517;method_33315()Vnamed method_33315Lnet/minecraft/test/GameTest;method_33315()V
-
start
private void start()- Mappings:
Namespace Name Mixin selector official BLlq;B()Vintermediary method_23639Lnet/minecraft/class_4517;method_23639()Vnamed startLnet/minecraft/test/GameTest;start()V
-
getStructurePath
- Mappings:
Namespace Name Mixin selector official cLlq;c()Ljava/lang/String;intermediary method_22169Lnet/minecraft/class_4517;method_22169()Ljava/lang/String;named getStructurePathLnet/minecraft/test/GameTest;getStructurePath()Ljava/lang/String;
-
getPos
- Mappings:
Namespace Name Mixin selector official dLlq;d()Lfx;intermediary method_22172Lnet/minecraft/class_4517;method_22172()Lnet/minecraft/class_2338;named getPosLnet/minecraft/test/GameTest;getPos()Lnet/minecraft/util/math/BlockPos;
-
getWorld
- Mappings:
Namespace Name Mixin selector official gLlq;g()Laav;intermediary method_22176Lnet/minecraft/class_4517;method_22176()Lnet/minecraft/class_3218;named getWorldLnet/minecraft/test/GameTest;getWorld()Lnet/minecraft/server/world/ServerWorld;
-
isPassed
public boolean isPassed()- Mappings:
Namespace Name Mixin selector official hLlq;h()Zintermediary method_22177Lnet/minecraft/class_4517;method_22177()Znamed isPassedLnet/minecraft/test/GameTest;isPassed()Z
-
isFailed
public boolean isFailed()- Mappings:
Namespace Name Mixin selector official iLlq;i()Zintermediary method_22178Lnet/minecraft/class_4517;method_22178()Znamed isFailedLnet/minecraft/test/GameTest;isFailed()Z
-
isStarted
public boolean isStarted()- Mappings:
Namespace Name Mixin selector official jLlq;j()Zintermediary method_22179Lnet/minecraft/class_4517;method_22179()Znamed isStartedLnet/minecraft/test/GameTest;isStarted()Z
-
isCompleted
public boolean isCompleted()- Mappings:
Namespace Name Mixin selector official kLlq;k()Zintermediary method_22180Lnet/minecraft/class_4517;method_22180()Znamed isCompletedLnet/minecraft/test/GameTest;isCompleted()Z
-
complete
private void complete()- Mappings:
Namespace Name Mixin selector official DLlq;D()Vintermediary method_23640Lnet/minecraft/class_4517;method_23640()Vnamed completeLnet/minecraft/test/GameTest;complete()V
-
fail
- Mappings:
Namespace Name Mixin selector official aLlq;a(Ljava/lang/Throwable;)Vintermediary method_22168Lnet/minecraft/class_4517;method_22168(Ljava/lang/Throwable;)Vnamed failLnet/minecraft/test/GameTest;fail(Ljava/lang/Throwable;)V
-
getThrowable
- Mappings:
Namespace Name Mixin selector official nLlq;n()Ljava/lang/Throwable;intermediary method_22182Lnet/minecraft/class_4517;method_22182()Ljava/lang/Throwable;named getThrowableLnet/minecraft/test/GameTest;getThrowable()Ljava/lang/Throwable;
-
toString
-
addListener
- Mappings:
Namespace Name Mixin selector official aLlq;a(Llr;)Vintermediary method_22167Lnet/minecraft/class_4517;method_22167(Lnet/minecraft/class_4518;)Vnamed addListenerLnet/minecraft/test/GameTest;addListener(Lnet/minecraft/test/TestListener;)V
-
init
- Mappings:
Namespace Name Mixin selector official aLlq;a(Lfx;I)Vintermediary method_22166Lnet/minecraft/class_4517;method_22166(Lnet/minecraft/class_2338;I)Vnamed initLnet/minecraft/test/GameTest;init(Lnet/minecraft/util/math/BlockPos;I)V
-
clearArea
public void clearArea()- Mappings:
Namespace Name Mixin selector official oLlq;o()Vintermediary method_32240Lnet/minecraft/class_4517;method_32240()Vnamed clearAreaLnet/minecraft/test/GameTest;clearArea()V
-
isRequired
public boolean isRequired()- Mappings:
Namespace Name Mixin selector official rLlq;r()Zintermediary method_22183Lnet/minecraft/class_4517;method_22183()Znamed isRequiredLnet/minecraft/test/GameTest;isRequired()Z
-
isOptional
public boolean isOptional()- Mappings:
Namespace Name Mixin selector official sLlq;s()Zintermediary method_22184Lnet/minecraft/class_4517;method_22184()Znamed isOptionalLnet/minecraft/test/GameTest;isOptional()Z
-
getStructureName
- Mappings:
Namespace Name Mixin selector official tLlq;t()Ljava/lang/String;intermediary method_23638Lnet/minecraft/class_4517;method_23638()Ljava/lang/String;named getStructureNameLnet/minecraft/test/GameTest;getStructureName()Ljava/lang/String;
-
getRotation
- Mappings:
Namespace Name Mixin selector official uLlq;u()Lccm;intermediary method_29402Lnet/minecraft/class_4517;method_29402()Lnet/minecraft/class_2470;named getRotationLnet/minecraft/test/GameTest;getRotation()Lnet/minecraft/util/BlockRotation;
-
getTestFunction
- Mappings:
Namespace Name Mixin selector official vLlq;v()Lmh;intermediary method_29403Lnet/minecraft/class_4517;method_29403()Lnet/minecraft/class_4529;named getTestFunctionLnet/minecraft/test/GameTest;getTestFunction()Lnet/minecraft/test/TestFunction;
-
isFlaky
public boolean isFlaky()- Mappings:
Namespace Name Mixin selector official xLlq;x()Zintermediary method_32241Lnet/minecraft/class_4517;method_32241()Znamed isFlakyLnet/minecraft/test/GameTest;isFlaky()Z
-
getMaxAttempts
public int getMaxAttempts()- Mappings:
Namespace Name Mixin selector official yLlq;y()Iintermediary method_32242Lnet/minecraft/class_4517;method_32242()Inamed getMaxAttemptsLnet/minecraft/test/GameTest;getMaxAttempts()I
-
getRequiredSuccesses
public int getRequiredSuccesses()- Mappings:
Namespace Name Mixin selector official zLlq;z()Iintermediary method_32243Lnet/minecraft/class_4517;method_32243()Inamed getRequiredSuccessesLnet/minecraft/test/GameTest;getRequiredSuccesses()I
-