类 GameTestBatch
- java.lang.Object
-
- net.minecraft.test.GameTestBatch
-
public class GameTestBatch extends Object
- Mappings:
Namespace Name official lqintermediary net/minecraft/class_4514named net/minecraft/test/GameTestBatch
-
-
字段概要
字段 修饰符和类型 字段 说明 private @Nullable Consumer<ServerWorld>afterBatchConsumerprivate @Nullable Consumer<ServerWorld>beforeBatchConsumerstatic StringDEFAULT_BATCHprivate Stringidprivate Collection<TestFunction>testFunctions
-
构造器概要
构造器 构造器 说明 GameTestBatch(String id, Collection<TestFunction> testFunctions, @Nullable Consumer<ServerWorld> beforeBatchConsumer, @Nullable Consumer<ServerWorld> afterBatchConsumer)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidfinishBatch(ServerWorld world)StringgetId()Collection<TestFunction>getTestFunctions()voidstartBatch(ServerWorld world)
-
-
-
字段详细资料
-
DEFAULT_BATCH
public static final String DEFAULT_BATCH
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official aLlq;a:Ljava/lang/String;intermediary field_33145Lnet/minecraft/class_4514;field_33145:Ljava/lang/String;named DEFAULT_BATCHLnet/minecraft/test/GameTestBatch;DEFAULT_BATCH:Ljava/lang/String;
-
id
private final String id
- Mappings:
Namespace Name Mixin selector official bLlq;b:Ljava/lang/String;intermediary field_20543Lnet/minecraft/class_4514;field_20543:Ljava/lang/String;named idLnet/minecraft/test/GameTestBatch;id:Ljava/lang/String;
-
testFunctions
private final Collection<TestFunction> testFunctions
- Mappings:
Namespace Name Mixin selector official cLlq;c:Ljava/util/Collection;intermediary field_20544Lnet/minecraft/class_4514;field_20544:Ljava/util/Collection;named testFunctionsLnet/minecraft/test/GameTestBatch;testFunctions:Ljava/util/Collection;
-
beforeBatchConsumer
@Nullable private final @Nullable Consumer<ServerWorld> beforeBatchConsumer
- Mappings:
Namespace Name Mixin selector official dLlq;d:Ljava/util/function/Consumer;intermediary field_20545Lnet/minecraft/class_4514;field_20545:Ljava/util/function/Consumer;named beforeBatchConsumerLnet/minecraft/test/GameTestBatch;beforeBatchConsumer:Ljava/util/function/Consumer;
-
afterBatchConsumer
@Nullable private final @Nullable Consumer<ServerWorld> afterBatchConsumer
- Mappings:
Namespace Name Mixin selector official eLlq;e:Ljava/util/function/Consumer;intermediary field_27801Lnet/minecraft/class_4514;field_27801:Ljava/util/function/Consumer;named afterBatchConsumerLnet/minecraft/test/GameTestBatch;afterBatchConsumer:Ljava/util/function/Consumer;
-
-
构造器详细资料
-
GameTestBatch
public GameTestBatch(String id, Collection<TestFunction> testFunctions, @Nullable @Nullable Consumer<ServerWorld> beforeBatchConsumer, @Nullable @Nullable Consumer<ServerWorld> afterBatchConsumer)
- Mappings:
Namespace Name Mixin selector official <init>Llq;<init>(Ljava/lang/String;Ljava/util/Collection;Ljava/util/function/Consumer;Ljava/util/function/Consumer;)Vintermediary <init>Lnet/minecraft/class_4514;<init>(Ljava/lang/String;Ljava/util/Collection;Ljava/util/function/Consumer;Ljava/util/function/Consumer;)Vnamed <init>Lnet/minecraft/test/GameTestBatch;<init>(Ljava/lang/String;Ljava/util/Collection;Ljava/util/function/Consumer;Ljava/util/function/Consumer;)V
-
-
方法详细资料
-
getId
public String getId()
- Mappings:
Namespace Name Mixin selector official aLlq;a()Ljava/lang/String;intermediary method_22152Lnet/minecraft/class_4514;method_22152()Ljava/lang/String;named getIdLnet/minecraft/test/GameTestBatch;getId()Ljava/lang/String;
-
getTestFunctions
public Collection<TestFunction> getTestFunctions()
- Mappings:
Namespace Name Mixin selector official bLlq;b()Ljava/util/Collection;intermediary method_22154Lnet/minecraft/class_4514;method_22154()Ljava/util/Collection;named getTestFunctionsLnet/minecraft/test/GameTestBatch;getTestFunctions()Ljava/util/Collection;
-
startBatch
public void startBatch(ServerWorld world)
- Mappings:
Namespace Name Mixin selector official aLlq;a(Labj;)Vintermediary method_22153Lnet/minecraft/class_4514;method_22153(Lnet/minecraft/class_3218;)Vnamed startBatchLnet/minecraft/test/GameTestBatch;startBatch(Lnet/minecraft/server/world/ServerWorld;)V
-
finishBatch
public void finishBatch(ServerWorld world)
- Mappings:
Namespace Name Mixin selector official bLlq;b(Labj;)Vintermediary method_32237Lnet/minecraft/class_4514;method_32237(Lnet/minecraft/class_3218;)Vnamed finishBatchLnet/minecraft/test/GameTestBatch;finishBatch(Lnet/minecraft/server/world/ServerWorld;)V
-
-