类 IngredientInvalidationTest
java.lang.Object
net.neoforged.neoforge.oldtest.world.item.IngredientInvalidationTest
This class validates that
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.
引用无效
Ingredient#invalidate()
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.
-
字段概要
字段修饰符和类型字段说明private static final boolean
private static boolean
private static boolean
static final String
-
构造器概要
构造器 -
方法概要
-
字段详细资料
-
MOD_ID
- 另请参阅:
-
ENABLED
private static final boolean ENABLED- 另请参阅:
-
invalidateExpected
private static boolean invalidateExpected -
gotInvalidate
private static boolean gotInvalidate
-
-
构造器详细资料
-
IngredientInvalidationTest
public IngredientInvalidationTest()
-
-
方法详细资料
-
worldLoad
-