Package net.minecraft.test
Class TestFunction
java.lang.Object
net.minecraft.test.TestFunction
- Mappings:
Namespace Name official pa
intermediary net/minecraft/class_4529
named net/minecraft/test/TestFunction
-
Field Summary
Modifier and TypeFieldDescriptionprivate final String
private final long
private final int
private final boolean
private final int
private final BlockRotation
private final Consumer<TestContext>
private final String
private final String
private final int
-
Constructor Summary
ConstructorDescriptionTestFunction
(String batchId, String structurePath, String structureName, int tickLimit, long duration, boolean required, Consumer<TestContext> starter) TestFunction
(String batchId, String structurePath, String structureName, BlockRotation rotation, int tickLimit, long duration, boolean required, int requiredSuccesses, int maxAttempts, Consumer<TestContext> starter) TestFunction
(String batchId, String structurePath, String structureName, BlockRotation rotation, int tickLimit, long duration, boolean required, Consumer<TestContext> starter) -
Method Summary
Modifier and TypeMethodDescriptionlong
int
int
int
boolean
isFlaky()
boolean
void
start
(TestContext context) toString()
-
Field Details
-
batchId
- Mappings:
Namespace Name Mixin selector official a
Lpa;a:Ljava/lang/String;
intermediary field_20583
Lnet/minecraft/class_4529;field_20583:Ljava/lang/String;
named batchId
Lnet/minecraft/test/TestFunction;batchId:Ljava/lang/String;
-
structurePath
- Mappings:
Namespace Name Mixin selector official b
Lpa;b:Ljava/lang/String;
intermediary field_20584
Lnet/minecraft/class_4529;field_20584:Ljava/lang/String;
named structurePath
Lnet/minecraft/test/TestFunction;structurePath:Ljava/lang/String;
-
structureName
- Mappings:
Namespace Name Mixin selector official c
Lpa;c:Ljava/lang/String;
intermediary field_20585
Lnet/minecraft/class_4529;field_20585:Ljava/lang/String;
named structureName
Lnet/minecraft/test/TestFunction;structureName:Ljava/lang/String;
-
required
private final boolean required- Mappings:
Namespace Name Mixin selector official d
Lpa;d:Z
intermediary field_20586
Lnet/minecraft/class_4529;field_20586:Z
named required
Lnet/minecraft/test/TestFunction;required:Z
-
maxAttempts
private final int maxAttempts- Mappings:
Namespace Name Mixin selector official e
Lpa;e:I
intermediary field_27814
Lnet/minecraft/class_4529;field_27814:I
named maxAttempts
Lnet/minecraft/test/TestFunction;maxAttempts:I
-
requiredSuccesses
private final int requiredSuccesses- Mappings:
Namespace Name Mixin selector official f
Lpa;f:I
intermediary field_27815
Lnet/minecraft/class_4529;field_27815:I
named requiredSuccesses
Lnet/minecraft/test/TestFunction;requiredSuccesses:I
-
starter
- Mappings:
Namespace Name Mixin selector official g
Lpa;g:Ljava/util/function/Consumer;
intermediary field_20587
Lnet/minecraft/class_4529;field_20587:Ljava/util/function/Consumer;
named starter
Lnet/minecraft/test/TestFunction;starter:Ljava/util/function/Consumer;
-
tickLimit
private final int tickLimit- Mappings:
Namespace Name Mixin selector official h
Lpa;h:I
intermediary field_20588
Lnet/minecraft/class_4529;field_20588:I
named tickLimit
Lnet/minecraft/test/TestFunction;tickLimit:I
-
duration
private final long duration- Mappings:
Namespace Name Mixin selector official i
Lpa;i:J
intermediary field_21460
Lnet/minecraft/class_4529;field_21460:J
named duration
Lnet/minecraft/test/TestFunction;duration:J
-
rotation
- Mappings:
Namespace Name Mixin selector official j
Lpa;j:Lcoz;
intermediary field_25306
Lnet/minecraft/class_4529;field_25306:Lnet/minecraft/class_2470;
named rotation
Lnet/minecraft/test/TestFunction;rotation:Lnet/minecraft/util/BlockRotation;
-
-
Constructor Details
-
TestFunction
public TestFunction(String batchId, String structurePath, String structureName, int tickLimit, long duration, boolean required, Consumer<TestContext> starter) - Mappings:
Namespace Name Mixin selector official <init>
Lpa;<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;IJZLjava/util/function/Consumer;)V
intermediary <init>
Lnet/minecraft/class_4529;<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;IJZLjava/util/function/Consumer;)V
named <init>
Lnet/minecraft/test/TestFunction;<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;IJZLjava/util/function/Consumer;)V
-
TestFunction
public TestFunction(String batchId, String structurePath, String structureName, BlockRotation rotation, int tickLimit, long duration, boolean required, Consumer<TestContext> starter) - Mappings:
Namespace Name Mixin selector official <init>
Lpa;<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcoz;IJZLjava/util/function/Consumer;)V
intermediary <init>
Lnet/minecraft/class_4529;<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lnet/minecraft/class_2470;IJZLjava/util/function/Consumer;)V
named <init>
Lnet/minecraft/test/TestFunction;<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lnet/minecraft/util/BlockRotation;IJZLjava/util/function/Consumer;)V
-
TestFunction
public TestFunction(String batchId, String structurePath, String structureName, BlockRotation rotation, int tickLimit, long duration, boolean required, int requiredSuccesses, int maxAttempts, Consumer<TestContext> starter) - Mappings:
Namespace Name Mixin selector official <init>
Lpa;<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcoz;IJZIILjava/util/function/Consumer;)V
intermediary <init>
Lnet/minecraft/class_4529;<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lnet/minecraft/class_2470;IJZIILjava/util/function/Consumer;)V
named <init>
Lnet/minecraft/test/TestFunction;<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lnet/minecraft/util/BlockRotation;IJZIILjava/util/function/Consumer;)V
-
-
Method Details
-
start
- Mappings:
Namespace Name Mixin selector official a
Lpa;a(Loi;)V
intermediary method_22297
Lnet/minecraft/class_4529;method_22297(Lnet/minecraft/class_4516;)V
named start
Lnet/minecraft/test/TestFunction;start(Lnet/minecraft/test/TestContext;)V
-
getStructurePath
- Mappings:
Namespace Name Mixin selector official a
Lpa;a()Ljava/lang/String;
intermediary method_22296
Lnet/minecraft/class_4529;method_22296()Ljava/lang/String;
named getStructurePath
Lnet/minecraft/test/TestFunction;getStructurePath()Ljava/lang/String;
-
getStructureName
- Mappings:
Namespace Name Mixin selector official b
Lpa;b()Ljava/lang/String;
intermediary method_22298
Lnet/minecraft/class_4529;method_22298()Ljava/lang/String;
named getStructureName
Lnet/minecraft/test/TestFunction;getStructureName()Ljava/lang/String;
-
toString
-
getTickLimit
public int getTickLimit()- Mappings:
Namespace Name Mixin selector official c
Lpa;c()I
intermediary method_22299
Lnet/minecraft/class_4529;method_22299()I
named getTickLimit
Lnet/minecraft/test/TestFunction;getTickLimit()I
-
isRequired
public boolean isRequired()- Mappings:
Namespace Name Mixin selector official d
Lpa;d()Z
intermediary method_22300
Lnet/minecraft/class_4529;method_22300()Z
named isRequired
Lnet/minecraft/test/TestFunction;isRequired()Z
-
getBatchId
- Mappings:
Namespace Name Mixin selector official e
Lpa;e()Ljava/lang/String;
intermediary method_22301
Lnet/minecraft/class_4529;method_22301()Ljava/lang/String;
named getBatchId
Lnet/minecraft/test/TestFunction;getBatchId()Ljava/lang/String;
-
getDuration
public long getDuration()- Mappings:
Namespace Name Mixin selector official f
Lpa;f()J
intermediary method_23649
Lnet/minecraft/class_4529;method_23649()J
named getDuration
Lnet/minecraft/test/TestFunction;getDuration()J
-
getRotation
- Mappings:
Namespace Name Mixin selector official g
Lpa;g()Lcoz;
intermediary method_29424
Lnet/minecraft/class_4529;method_29424()Lnet/minecraft/class_2470;
named getRotation
Lnet/minecraft/test/TestFunction;getRotation()Lnet/minecraft/util/BlockRotation;
-
isFlaky
public boolean isFlaky()- Mappings:
Namespace Name Mixin selector official h
Lpa;h()Z
intermediary method_32257
Lnet/minecraft/class_4529;method_32257()Z
named isFlaky
Lnet/minecraft/test/TestFunction;isFlaky()Z
-
getMaxAttempts
public int getMaxAttempts()- Mappings:
Namespace Name Mixin selector official i
Lpa;i()I
intermediary method_32258
Lnet/minecraft/class_4529;method_32258()I
named getMaxAttempts
Lnet/minecraft/test/TestFunction;getMaxAttempts()I
-
getRequiredSuccesses
public int getRequiredSuccesses()- Mappings:
Namespace Name Mixin selector official j
Lpa;j()I
intermediary method_32259
Lnet/minecraft/class_4529;method_32259()I
named getRequiredSuccesses
Lnet/minecraft/test/TestFunction;getRequiredSuccesses()I
-