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

    Fields
    Modifier and Type
    Field
    Description
    static final com.mojang.serialization.MapCodec<? extends net.minecraft.gametest.framework.GameTestInstance>
     

    Fields inherited from class net.minecraft.gametest.framework.GameTestInstance

    DIRECT_CODEC
  • Constructor Summary

    Constructors
    Constructor
    Description
    IntegrationMethodGameTestInstance(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 Type
    Method
    Description
    com.mojang.serialization.MapCodec<? extends net.minecraft.gametest.framework.GameTestInstance>
     
     
    net.minecraft.resources.ResourceLocation
     
     
     
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • CODEC

      public static final com.mojang.serialization.MapCodec<? extends net.minecraft.gametest.framework.GameTestInstance> CODEC
  • Constructor Details

    • IntegrationMethodGameTestInstance

      public IntegrationMethodGameTestInstance(net.minecraft.gametest.framework.TestData<net.minecraft.core.Holder<net.minecraft.gametest.framework.TestEnvironmentDefinition>> info, String modId, String className, String methodName)
  • Method Details

    • getModId

      public String getModId()
    • getClassName

      public String getClassName()
    • getMethodName

      public String getMethodName()
    • run

      public void run(net.minecraft.gametest.framework.GameTestHelper gameTestHelper)
      Specified by:
      run in class net.minecraft.gametest.framework.GameTestInstance
    • codec

      public com.mojang.serialization.MapCodec<? extends net.minecraft.gametest.framework.GameTestInstance> codec()
      Specified by:
      codec in class net.minecraft.gametest.framework.GameTestInstance
    • typeDescription

      protected net.minecraft.network.chat.MutableComponent typeDescription()
      Specified by:
      typeDescription in class net.minecraft.gametest.framework.GameTestInstance
    • getId

      public net.minecraft.resources.ResourceLocation getId()