Package net.minecraft.test
Class TestFunction
java.lang.Object
net.minecraft.test.TestFunction
public class TestFunction extends Object
- Mappings:
Namespace Name official mh
intermediary net/minecraft/class_4529
named net/minecraft/test/TestFunction
-
Field Summary
Fields Modifier and Type Field Description private String
batchId
private long
duration
private int
maxAttempts
private boolean
required
private int
requiredSuccesses
private BlockRotation
rotation
private Consumer<StartupParameter>
starter
private String
structureName
private String
structurePath
private int
tickLimit
-
Constructor Summary
Constructors Constructor Description TestFunction()
-
Method Summary
Modifier and Type Method Description String
getBatchId()
long
getDuration()
int
getMaxAttempts()
int
getRequiredSuccesses()
BlockRotation
getRotation()
String
getStructureName()
String
getStructurePath()
int
getTickLimit()
boolean
isFlaky()
boolean
isRequired()
void
start(StartupParameter startupParameter)
String
toString()
-
Field Details
-
batchId
- Mappings:
Namespace Name Mixin selector official a
Lmh;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
Lmh;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
Lmh;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
Lmh;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
Lmh;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
Lmh;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
Lmh;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
Lmh;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
Lmh;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
Lmh;j:Lccm;
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()
-
-
Method Details
-
start
- Mappings:
Namespace Name Mixin selector official a
Lmh;a(Llp;)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/StartupParameter;)V
-
getStructurePath
- Mappings:
Namespace Name Mixin selector official a
Lmh;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
Lmh;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
Lmh;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
Lmh;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
Lmh;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
Lmh;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
Lmh;g()Lccm;
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
Lmh;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
Lmh;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
Lmh;j()I
intermediary method_32259
Lnet/minecraft/class_4529;method_32259()I
named getRequiredSuccesses
Lnet/minecraft/test/TestFunction;getRequiredSuccesses()I
-