Class CustomIngredientsTest
java.lang.Object
net.minecraftforge.test.BaseTestMod
net.minecraftforge.debug.gameplay.crafting.CustomIngredientsTest
- All Implemented Interfaces:
INBTBuilder
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static class
private static class
private static class
Nested classes/interfaces inherited from interface net.minecraftforge.common.util.INBTBuilder
INBTBuilder.Builder
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionassertRecipeMatch
(GameTestHelper helper, RecipeType<T> type, C container, String name) assertRecipeMiss
(GameTestHelper helper, RecipeType<T> type, C container) static void
compound
(GameTestHelper helper) private static CompoundTag
damaged()
private static ItemStack
static void
difference
(GameTestHelper helper) void
gatherData
(GatherDataEvent event) static void
intersection
(GameTestHelper helper) private static CompoundTag
named()
private static ItemStack
static void
partial_nbt
(GameTestHelper helper) private static ResourceLocation
static ItemStack
static void
strict
(GameTestHelper helper) private static ItemStack
tagged
(ItemLike item, CompoundTag tag) Methods inherited from class net.minecraftforge.test.BaseTestMod
getField, onCreativeModeTabBuildContents, testItem
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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
-