Package net.neoforged.neoforge.unittest
Class IngredientTests
java.lang.Object
net.neoforged.neoforge.unittest.IngredientTests
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static Stream
<org.junit.jupiter.params.provider.Arguments> (package private) void
testComponentIngredient
(boolean strict, MinecraftServer server) (package private) void
(package private) void
(package private) void
-
Constructor Details
-
IngredientTests
public IngredientTests()
-
-
Method Details
-
testCompoundIngredient
@ParameterizedTest @MethodSource("provideIngredientMatrix") void testCompoundIngredient(Ingredient a, Ingredient b) -
testDifferenceIngredients
-
testIntersectionIngredient
-
testComponentIngredient
@ParameterizedTest @CsvSource({"true","false"}) void testComponentIngredient(boolean strict, MinecraftServer server) -
provideIngredientMatrix
private static Stream<org.junit.jupiter.params.provider.Arguments> provideIngredientMatrix(MinecraftServer server)
-