Class IntegrationMethodGameTestInstance
java.lang.Object
net.minecraft.gametest.framework.GameTestInstance
org.cyclops.integrateddynamics.gametest.integration.IntegrationMethodGameTestInstance
public class IntegrationMethodGameTestInstance
extends net.minecraft.gametest.framework.GameTestInstance
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec
<? extends net.minecraft.gametest.framework.GameTestInstance> Fields inherited from class net.minecraft.gametest.framework.GameTestInstance
DIRECT_CODEC
-
Constructor Summary
ConstructorsConstructorDescriptionIntegrationMethodGameTestInstance
(net.minecraft.gametest.framework.TestData<net.minecraft.core.Holder<net.minecraft.gametest.framework.TestEnvironmentDefinition>> info, String modId, String className, String methodName) -
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.serialization.MapCodec
<? extends net.minecraft.gametest.framework.GameTestInstance> codec()
net.minecraft.resources.ResourceLocation
getId()
getModId()
void
run
(net.minecraft.gametest.framework.GameTestHelper gameTestHelper) protected net.minecraft.network.chat.MutableComponent
Methods inherited from class net.minecraft.gametest.framework.GameTestInstance
batch, bootstrap, describe, describeInfo, describeType, descriptionRow, descriptionRow, info, manualOnly, maxAttempts, maxTicks, required, requiredSuccesses, rotation, setupTicks, skyAccess, structure
-
Field Details
-
CODEC
public static final com.mojang.serialization.MapCodec<? extends net.minecraft.gametest.framework.GameTestInstance> CODEC
-
-
Constructor Details
-
IntegrationMethodGameTestInstance
-
-
Method Details
-
getModId
-
getClassName
-
getMethodName
-
run
public void run(net.minecraft.gametest.framework.GameTestHelper gameTestHelper) - Specified by:
run
in classnet.minecraft.gametest.framework.GameTestInstance
-
codec
public com.mojang.serialization.MapCodec<? extends net.minecraft.gametest.framework.GameTestInstance> codec()- Specified by:
codec
in classnet.minecraft.gametest.framework.GameTestInstance
-
typeDescription
protected net.minecraft.network.chat.MutableComponent typeDescription()- Specified by:
typeDescription
in classnet.minecraft.gametest.framework.GameTestInstance
-
getId
public net.minecraft.resources.ResourceLocation getId()
-