Class IngredientInvalidationTest
java.lang.Object
net.minecraftforge.debug.world.item.IngredientInvalidationTest
This class validates that
To verify, join a world, then leave it. Then join a world again in the same game session. If invalidation is not working, the 2nd world join will trigger an exception.
Ingredient.invalidate()
is called correctly.To verify, join a world, then leave it. Then join a world again in the same game session. If invalidation is not working, the 2nd world join will trigger an exception.
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final boolean
private static boolean
private static boolean
static final String
private static final Ingredient
-
Constructor Summary
-
Method Summary
-
Field Details
-
MOD_ID
- See Also:
-
ENABLED
private static final boolean ENABLED- See Also:
-
invalidateExpected
private static boolean invalidateExpected -
gotInvalidate
private static boolean gotInvalidate -
TEST_INGREDIENT
-
-
Constructor Details
-
IngredientInvalidationTest
public IngredientInvalidationTest()
-
-
Method Details
-
worldLoad
-