Class CustomIngredientsTest
java.lang.Object
net.minecraftforge.test.BaseTestMod
net.minecraftforge.debug.gameplay.crafting.CustomIngredientsTest
- All Implemented Interfaces:
INBTBuilder
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classprivate static classprivate static classNested classes/interfaces inherited from interface net.minecraftforge.common.util.INBTBuilder
INBTBuilder.Builder -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassertRecipeMatch(GameTestHelper helper, RecipeType<T> type, C container, String name) assertRecipeMiss(GameTestHelper helper, RecipeType<T> type, C container) static voidcompound(GameTestHelper helper) private static CompoundTagdamaged()private static ItemStackstatic voiddifference(GameTestHelper helper) voidgatherData(GatherDataEvent event) static voidintersection(GameTestHelper helper) private static CompoundTagnamed()private static ItemStackstatic voidpartial_nbt(GameTestHelper helper) private static ResourceLocationstatic ItemStackstatic voidstrict(GameTestHelper helper) private static ItemStacktagged(ItemLike item, CompoundTag tag) Methods inherited from class net.minecraftforge.test.BaseTestMod
getField, onCreativeModeTabBuildContents, testItemMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraftforge.common.util.INBTBuilder
nbt
-
Field Details
-
MODID
- See Also:
-
TEST_DAMAGE
private static final int TEST_DAMAGE- See Also:
-
TEST_DISPLAY_NAME
- See Also:
-
LEFT
-
RIGHT
-
-
Constructor Details
-
CustomIngredientsTest
public CustomIngredientsTest()
-
-
Method Details
-
gatherData
-
rl
-
tag
-
assertRecipeMiss
private static <C extends Container,T extends Recipe<C>> void assertRecipeMiss(GameTestHelper helper, RecipeType<T> type, C container) -
assertRecipeMatch
private static <C extends Container,T extends Recipe<C>> void assertRecipeMatch(GameTestHelper helper, RecipeType<T> type, C container, String name) -
named
-
damaged
-
damaged
-
named
-
stack
-
tagged
-
partial_nbt
-
compound
-
strict
-
intersection
-
difference
-