Class IngredientTests

java.lang.Object
net.neoforged.neoforge.unittest.IngredientTests

@ExtendWith(EphemeralTestServerProvider.class) public class IngredientTests extends Object
  • Constructor Details

    • IngredientTests

      public IngredientTests()
  • Method Details

    • testCompoundIngredient

      @ParameterizedTest @MethodSource("provideIngredientMatrix") void testCompoundIngredient(Ingredient a, Ingredient b)
    • testDifferenceIngredients

      @Test void testDifferenceIngredients(MinecraftServer server)
    • testIntersectionIngredient

      @Test void testIntersectionIngredient(MinecraftServer server)
    • testComponentIngredient

      @ParameterizedTest @CsvSource({"true","false"}) void testComponentIngredient(boolean strict, MinecraftServer server)
    • provideIngredientMatrix

      private static Stream<org.junit.jupiter.params.provider.Arguments> provideIngredientMatrix(MinecraftServer server)