Search in sources :

Example 1 with ISubtypeRegistration

use of mezz.jei.api.registration.ISubtypeRegistration in project TinkersConstruct by SlimeKnights.

the class JEIPlugin method registerItemSubtypes.

@Override
public void registerItemSubtypes(ISubtypeRegistration registry) {
    // retexturable blocks
    IIngredientSubtypeInterpreter<ItemStack> tables = (stack, context) -> {
        if (context == UidContext.Ingredient) {
            return RetexturedBlockItem.getTextureName(stack);
        }
        return IIngredientSubtypeInterpreter.NONE;
    };
    registry.registerSubtypeInterpreter(TinkerTables.craftingStation.asItem(), tables);
    registry.registerSubtypeInterpreter(TinkerTables.partBuilder.asItem(), tables);
    registry.registerSubtypeInterpreter(TinkerTables.tinkerStation.asItem(), tables);
    registry.registerSubtypeInterpreter(TinkerTables.tinkersAnvil.asItem(), tables);
    registry.registerSubtypeInterpreter(TinkerTables.scorchedAnvil.asItem(), tables);
    IIngredientSubtypeInterpreter<ItemStack> toolPartInterpreter = (stack, context) -> {
        MaterialVariantId materialId = IMaterialItem.getMaterialFromStack(stack);
        if (materialId.equals(IMaterial.UNKNOWN_ID)) {
            return IIngredientSubtypeInterpreter.NONE;
        }
        return materialId.getId().toString();
    };
    // parts
    for (Item item : TinkerTags.Items.TOOL_PARTS.getValues()) {
        registry.registerSubtypeInterpreter(item, toolPartInterpreter);
    }
    // tools
    Item slimeskull = TinkerTools.slimesuit.get(ArmorSlotType.HELMET);
    registry.registerSubtypeInterpreter(slimeskull, ToolSubtypeInterpreter.ALWAYS);
    for (Item item : TinkerTags.Items.MULTIPART_TOOL.getValues()) {
        if (item != slimeskull) {
            registry.registerSubtypeInterpreter(item, ToolSubtypeInterpreter.INGREDIENT);
        }
    }
    registry.registerSubtypeInterpreter(TinkerSmeltery.copperCan.get(), (stack, context) -> CopperCanItem.getSubtype(stack));
    registry.registerSubtypeInterpreter(TinkerModifiers.creativeSlotItem.get(), (stack, context) -> {
        SlotType slotType = CreativeSlotItem.getSlot(stack);
        return slotType != null ? slotType.getName() : "";
    });
}
Also used : HeatingStructureScreen(slimeknights.tconstruct.smeltery.client.screen.HeatingStructureScreen) Item(net.minecraft.world.item.Item) MeltingFuel(slimeknights.tconstruct.library.recipe.fuel.MeltingFuel) RecipeHelper(slimeknights.mantle.recipe.helper.RecipeHelper) Config(slimeknights.tconstruct.common.config.Config) UidContext(mezz.jei.api.ingredients.subtypes.UidContext) IGuiHelper(mezz.jei.api.helpers.IGuiHelper) SlotType(slimeknights.tconstruct.library.tools.SlotType) CastItemObject(slimeknights.tconstruct.common.registration.CastItemObject) CastingTableCategory(slimeknights.tconstruct.plugin.jei.casting.CastingTableCategory) ArmorSlotType(slimeknights.tconstruct.tools.item.ArmorSlotType) RecipeType(net.minecraft.world.item.crafting.RecipeType) VanillaRecipeCategoryUid(mezz.jei.api.constants.VanillaRecipeCategoryUid) ModList(net.minecraftforge.fml.ModList) IGuiHandlerRegistration(mezz.jei.api.registration.IGuiHandlerRegistration) IGuiContainerHandler(mezz.jei.api.gui.handlers.IGuiContainerHandler) TinkerTools(slimeknights.tconstruct.tools.TinkerTools) AlloyRecipe(slimeknights.tconstruct.library.recipe.alloying.AlloyRecipe) SeveringCategory(slimeknights.tconstruct.plugin.jei.entity.SeveringCategory) IDisplayableCastingRecipe(slimeknights.tconstruct.library.recipe.casting.IDisplayableCastingRecipe) IMaterialItem(slimeknights.tconstruct.library.tools.part.IMaterialItem) IIngredientType(mezz.jei.api.ingredients.IIngredientType) Modifier(slimeknights.tconstruct.library.modifiers.Modifier) FluidStack(net.minecraftforge.fluids.FluidStack) CastingBasinCategory(slimeknights.tconstruct.plugin.jei.casting.CastingBasinCategory) ItemStack(net.minecraft.world.item.ItemStack) MaterialIdNBT(slimeknights.tconstruct.library.tools.nbt.MaterialIdNBT) IRecipeCatalystRegistration(mezz.jei.api.registration.IRecipeCatalystRegistration) IDisplayModifierRecipe(slimeknights.tconstruct.library.recipe.modifiers.adding.IDisplayModifierRecipe) MeltingRecipe(slimeknights.tconstruct.library.recipe.melting.MeltingRecipe) EntityType(net.minecraft.world.entity.EntityType) AbstractContainerMenu(net.minecraft.world.inventory.AbstractContainerMenu) ModifierBookmarkIngredientRenderer(slimeknights.tconstruct.plugin.jei.modifiers.ModifierBookmarkIngredientRenderer) TinkerModifiers(slimeknights.tconstruct.tools.TinkerModifiers) IModPlugin(mezz.jei.api.IModPlugin) Container(net.minecraft.world.Container) EntityIngredientRenderer(slimeknights.tconstruct.plugin.jei.entity.EntityIngredientRenderer) IModifiableDisplay(slimeknights.tconstruct.library.tools.item.IModifiableDisplay) IModIngredientRegistration(mezz.jei.api.registration.IModIngredientRegistration) IRecipeTransferRegistration(mezz.jei.api.registration.IRecipeTransferRegistration) CopperCanItem(slimeknights.tconstruct.smeltery.item.CopperCanItem) MeltingCategory(slimeknights.tconstruct.plugin.jei.melting.MeltingCategory) Nullable(javax.annotation.Nullable) RecipeTypes(slimeknights.tconstruct.library.recipe.RecipeTypes) MelterScreen(slimeknights.tconstruct.smeltery.client.screen.MelterScreen) DefaultEntityMeltingRecipe(slimeknights.tconstruct.plugin.jei.entity.DefaultEntityMeltingRecipe) Tag(net.minecraft.tags.Tag) MaterialVariantId(slimeknights.tconstruct.library.materials.definition.MaterialVariantId) Pattern(slimeknights.tconstruct.library.recipe.partbuilder.Pattern) IScreenWithFluidTank(slimeknights.tconstruct.smeltery.client.screen.IScreenWithFluidTank) TinkerSmeltery(slimeknights.tconstruct.smeltery.TinkerSmeltery) RetexturedBlockItem(slimeknights.mantle.item.RetexturedBlockItem) MoldingRecipe(slimeknights.tconstruct.library.recipe.molding.MoldingRecipe) ModifierIngredientHelper(slimeknights.tconstruct.plugin.jei.modifiers.ModifierIngredientHelper) ResourceLocation(net.minecraft.resources.ResourceLocation) PatternIngredientHelper(slimeknights.tconstruct.plugin.jei.partbuilder.PatternIngredientHelper) EntityIngredientHelper(slimeknights.tconstruct.plugin.jei.entity.EntityIngredientHelper) FluidAttributes(net.minecraftforge.fluids.FluidAttributes) EntityMeltingRecipeCategory(slimeknights.tconstruct.plugin.jei.entity.EntityMeltingRecipeCategory) Registry(net.minecraft.core.Registry) IIngredientManager(mezz.jei.api.runtime.IIngredientManager) CreativeSlotItem(slimeknights.tconstruct.tools.item.CreativeSlotItem) IDisplayPartBuilderRecipe(slimeknights.tconstruct.library.recipe.partbuilder.IDisplayPartBuilderRecipe) ModifierEntry(slimeknights.tconstruct.library.modifiers.ModifierEntry) MeltingFuelHandler(slimeknights.tconstruct.plugin.jei.melting.MeltingFuelHandler) PartBuilderCategory(slimeknights.tconstruct.plugin.jei.partbuilder.PartBuilderCategory) EntityMeltingRecipe(slimeknights.tconstruct.library.recipe.entitymelting.EntityMeltingRecipe) IMaterial(slimeknights.tconstruct.library.materials.definition.IMaterial) TinkerTables(slimeknights.tconstruct.tables.TinkerTables) TinkerTags(slimeknights.tconstruct.common.TinkerTags) IRecipeCategoryRegistration(mezz.jei.api.registration.IRecipeCategoryRegistration) Collectors(java.util.stream.Collectors) List(java.util.List) FoundryCategory(slimeknights.tconstruct.plugin.jei.melting.FoundryCategory) RecipeManager(net.minecraft.world.item.crafting.RecipeManager) IIngredientSubtypeInterpreter(mezz.jei.api.ingredients.subtypes.IIngredientSubtypeInterpreter) ISubtypeRegistration(mezz.jei.api.registration.ISubtypeRegistration) MaterialRecipe(slimeknights.tconstruct.library.recipe.material.MaterialRecipe) VanillaTypes(mezz.jei.api.constants.VanillaTypes) IJeiRuntime(mezz.jei.api.runtime.IJeiRuntime) AbstractContainerScreen(net.minecraft.client.gui.screens.inventory.AbstractContainerScreen) SeveringRecipe(slimeknights.tconstruct.library.recipe.modifiers.severing.SeveringRecipe) JeiPlugin(mezz.jei.api.JeiPlugin) ImmutableList(com.google.common.collect.ImmutableList) Minecraft(net.minecraft.client.Minecraft) ItemLike(net.minecraft.world.level.ItemLike) IRecipeRegistration(mezz.jei.api.registration.IRecipeRegistration) Fluid(net.minecraft.world.level.material.Fluid) TinkerMaterials(slimeknights.tconstruct.shared.TinkerMaterials) SerializationTags(net.minecraft.tags.SerializationTags) PatternIngredientRenderer(slimeknights.tconstruct.plugin.jei.partbuilder.PatternIngredientRenderer) TinkerFluids(slimeknights.tconstruct.fluids.TinkerFluids) MaterialItemList(slimeknights.tconstruct.plugin.jei.partbuilder.MaterialItemList) SmelteryCompat(slimeknights.tconstruct.smeltery.data.SmelteryCompat) Recipe(net.minecraft.world.item.crafting.Recipe) ModifierRecipeCategory(slimeknights.tconstruct.plugin.jei.modifiers.ModifierRecipeCategory) Comparator(java.util.Comparator) Collections(java.util.Collections) TinkerStationTransferInfo(slimeknights.tconstruct.plugin.jei.transfer.TinkerStationTransferInfo) Item(net.minecraft.world.item.Item) IMaterialItem(slimeknights.tconstruct.library.tools.part.IMaterialItem) CopperCanItem(slimeknights.tconstruct.smeltery.item.CopperCanItem) RetexturedBlockItem(slimeknights.mantle.item.RetexturedBlockItem) CreativeSlotItem(slimeknights.tconstruct.tools.item.CreativeSlotItem) MaterialVariantId(slimeknights.tconstruct.library.materials.definition.MaterialVariantId) ItemStack(net.minecraft.world.item.ItemStack) SlotType(slimeknights.tconstruct.library.tools.SlotType) ArmorSlotType(slimeknights.tconstruct.tools.item.ArmorSlotType)

Example 2 with ISubtypeRegistration

use of mezz.jei.api.registration.ISubtypeRegistration in project Botania by VazkiiMods.

the class JEIBotaniaPlugin method registerItemSubtypes.

@Override
public void registerItemSubtypes(@Nonnull ISubtypeRegistration registry) {
    IIngredientSubtypeInterpreter<ItemStack> interpreter = (stack, ctx) -> ItemBrewBase.getSubtype(stack);
    registry.registerSubtypeInterpreter(ModItems.brewVial, interpreter);
    registry.registerSubtypeInterpreter(ModItems.brewFlask, interpreter);
    registry.registerSubtypeInterpreter(ModItems.incenseStick, interpreter);
    registry.registerSubtypeInterpreter(ModItems.bloodPendant, interpreter);
    registry.registerSubtypeInterpreter(ModItems.flightTiara, (stack, ctx) -> String.valueOf(ItemFlightTiara.getVariant(stack)));
    registry.registerSubtypeInterpreter(ModItems.lexicon, (stack, ctx) -> String.valueOf(ItemNBTHelper.getBoolean(stack, ItemLexicon.TAG_ELVEN_UNLOCK, false)));
    registry.registerSubtypeInterpreter(ModItems.laputaShard, (stack, ctx) -> String.valueOf(ItemLaputaShard.getShardLevel(stack)));
    registry.registerSubtypeInterpreter(ModItems.terraPick, (stack, ctx) -> {
        if (ctx == UidContext.Recipe) {
            return String.valueOf(ItemTerraPick.isTipped(stack));
        }
        return String.valueOf(ItemTerraPick.getLevel(stack)) + ItemTerraPick.isTipped(stack);
    });
    registry.registerSubtypeInterpreter(ModItems.manaTablet, (stack, ctx) -> String.valueOf(((IManaItem) ModItems.manaTablet).getMana(stack)) + ItemManaTablet.isStackCreative(stack));
    for (Item item : new Item[] { ModItems.manaRing, ModItems.manaRingGreater }) {
        registry.registerSubtypeInterpreter(item, (stack, ctx) -> String.valueOf(((IManaItem) item).getMana(stack)));
    }
}
Also used : ResourceLocation(net.minecraft.resources.ResourceLocation) ItemBrewBase(vazkii.botania.common.item.brew.ItemBrewBase) Item(net.minecraft.world.item.Item) AncientWillRecipe(vazkii.botania.common.crafting.recipe.AncientWillRecipe) ItemNBTHelper(vazkii.botania.common.helper.ItemNBTHelper) IManaInfusionRecipe(vazkii.botania.api.recipe.IManaInfusionRecipe) UidContext(mezz.jei.api.ingredients.subtypes.UidContext) CompositeLensRecipe(vazkii.botania.common.crafting.recipe.CompositeLensRecipe) Registry(net.minecraft.core.Registry) LexiconElvenTradeRecipe(vazkii.botania.common.crafting.LexiconElvenTradeRecipe) RecipeType(net.minecraft.world.item.crafting.RecipeType) CompositeLensRecipeWrapper(vazkii.botania.client.integration.jei.crafting.CompositeLensRecipeWrapper) MarimorphosisRecipeCategory(vazkii.botania.client.integration.jei.orechid.MarimorphosisRecipeCategory) VanillaRecipeCategoryUid(mezz.jei.api.constants.VanillaRecipeCategoryUid) ResourceLocationHelper.prefix(vazkii.botania.common.lib.ResourceLocationHelper.prefix) Collection(java.util.Collection) ItemLaputaShard(vazkii.botania.common.item.ItemLaputaShard) IRecipeCategoryRegistration(mezz.jei.api.registration.IRecipeCategoryRegistration) ModBlocks(vazkii.botania.common.block.ModBlocks) TileAlfPortal(vazkii.botania.common.block.tile.TileAlfPortal) ContainerCraftingHalo(vazkii.botania.client.gui.crafting.ContainerCraftingHalo) StateIngredient(vazkii.botania.api.recipe.StateIngredient) List(java.util.List) RecipeManager(net.minecraft.world.item.crafting.RecipeManager) ItemTerraPick(vazkii.botania.common.item.equipment.tool.terrasteel.ItemTerraPick) IIngredientSubtypeInterpreter(mezz.jei.api.ingredients.subtypes.IIngredientSubtypeInterpreter) ISubtypeRegistration(mezz.jei.api.registration.ISubtypeRegistration) OrechidRecipeCategory(vazkii.botania.client.integration.jei.orechid.OrechidRecipeCategory) ItemStack(net.minecraft.world.item.ItemStack) VanillaTypes(mezz.jei.api.constants.VanillaTypes) TerraPickTippingRecipe(vazkii.botania.common.crafting.recipe.TerraPickTippingRecipe) IRecipesGui(mezz.jei.api.runtime.IRecipesGui) AncientWillRecipeWrapper(vazkii.botania.client.integration.jei.crafting.AncientWillRecipeWrapper) IRecipeCatalystRegistration(mezz.jei.api.registration.IRecipeCatalystRegistration) IOrechidRecipe(vazkii.botania.api.recipe.IOrechidRecipe) IJeiRuntime(mezz.jei.api.runtime.IJeiRuntime) ItemManaTablet(vazkii.botania.common.item.ItemManaTablet) ItemLexicon(vazkii.botania.common.item.ItemLexicon) AbstractContainerScreen(net.minecraft.client.gui.screens.inventory.AbstractContainerScreen) IElvenTradeRecipe(vazkii.botania.api.recipe.IElvenTradeRecipe) Ingredient(net.minecraft.world.item.crafting.Ingredient) ArrayList(java.util.ArrayList) IModPlugin(mezz.jei.api.IModPlugin) JeiPlugin(mezz.jei.api.JeiPlugin) Container(net.minecraft.world.Container) Minecraft(net.minecraft.client.Minecraft) IManaItem(vazkii.botania.api.mana.IManaItem) IRecipeTransferRegistration(mezz.jei.api.registration.IRecipeTransferRegistration) IRecipeRegistration(mezz.jei.api.registration.IRecipeRegistration) ModSubtiles(vazkii.botania.common.block.ModSubtiles) ModRecipeTypes(vazkii.botania.common.crafting.ModRecipeTypes) Nonnull(javax.annotation.Nonnull) OrechidIgnemRecipeCategory(vazkii.botania.client.integration.jei.orechid.OrechidIgnemRecipeCategory) IRecipeManager(mezz.jei.api.recipe.IRecipeManager) ModItems(vazkii.botania.common.item.ModItems) CorporeaInputHandler(vazkii.botania.client.core.handler.CorporeaInputHandler) IVanillaCategoryExtensionRegistration(mezz.jei.api.registration.IVanillaCategoryExtensionRegistration) Recipe(net.minecraft.world.item.crafting.Recipe) ItemFlightTiara(vazkii.botania.common.item.equipment.bauble.ItemFlightTiara) Comparator(java.util.Comparator) TerraPickTippingRecipeWrapper(vazkii.botania.client.integration.jei.crafting.TerraPickTippingRecipeWrapper) Item(net.minecraft.world.item.Item) IManaItem(vazkii.botania.api.mana.IManaItem) IManaItem(vazkii.botania.api.mana.IManaItem) ItemStack(net.minecraft.world.item.ItemStack)

Example 3 with ISubtypeRegistration

use of mezz.jei.api.registration.ISubtypeRegistration in project SophisticatedBackpacks by P3pp3rF1y.

the class SBPPlugin method registerItemSubtypes.

@Override
public void registerItemSubtypes(ISubtypeRegistration registration) {
    ISubtypeInterpreter backpackNbtInterpreter = itemStack -> itemStack.getCapability(CapabilityBackpackWrapper.getCapabilityInstance()).map(wrapper -> "{clothColor:" + wrapper.getClothColor() + ",borderColor:" + wrapper.getBorderColor() + "}").orElse("");
    registration.registerSubtypeInterpreter(ModItems.BACKPACK.get(), backpackNbtInterpreter);
    registration.registerSubtypeInterpreter(ModItems.IRON_BACKPACK.get(), backpackNbtInterpreter);
    registration.registerSubtypeInterpreter(ModItems.GOLD_BACKPACK.get(), backpackNbtInterpreter);
    registration.registerSubtypeInterpreter(ModItems.DIAMOND_BACKPACK.get(), backpackNbtInterpreter);
    registration.registerSubtypeInterpreter(ModItems.NETHERITE_BACKPACK.get(), backpackNbtInterpreter);
}
Also used : IRecipeCatalystRegistration(mezz.jei.api.registration.IRecipeCatalystRegistration) SophisticatedBackpacks(net.p3pp3rf1y.sophisticatedbackpacks.SophisticatedBackpacks) IStackHelper(mezz.jei.api.helpers.IStackHelper) BackpackScreen(net.p3pp3rf1y.sophisticatedbackpacks.client.gui.BackpackScreen) ArrayList(java.util.ArrayList) IModPlugin(mezz.jei.api.IModPlugin) ItemStack(net.minecraft.item.ItemStack) JeiPlugin(mezz.jei.api.JeiPlugin) IGhostIngredientHandler(mezz.jei.api.gui.handlers.IGhostIngredientHandler) IRecipeTransferRegistration(mezz.jei.api.registration.IRecipeTransferRegistration) IRecipeRegistration(mezz.jei.api.registration.IRecipeRegistration) IRecipeTransferHandlerHelper(mezz.jei.api.recipe.transfer.IRecipeTransferHandlerHelper) SettingsScreen(net.p3pp3rf1y.sophisticatedbackpacks.client.gui.SettingsScreen) PacketHandler(net.p3pp3rf1y.sophisticatedbackpacks.network.PacketHandler) BackpackContainer(net.p3pp3rf1y.sophisticatedbackpacks.common.gui.BackpackContainer) VanillaRecipeCategoryUid(mezz.jei.api.constants.VanillaRecipeCategoryUid) Rectangle2d(net.minecraft.client.renderer.Rectangle2d) CapabilityBackpackWrapper(net.p3pp3rf1y.sophisticatedbackpacks.api.CapabilityBackpackWrapper) IGuiHandlerRegistration(mezz.jei.api.registration.IGuiHandlerRegistration) IGuiContainerHandler(mezz.jei.api.gui.handlers.IGuiContainerHandler) ModItems(net.p3pp3rf1y.sophisticatedbackpacks.init.ModItems) ISubtypeInterpreter(mezz.jei.api.ingredients.subtypes.ISubtypeInterpreter) List(java.util.List) IFilterSlot(net.p3pp3rf1y.sophisticatedbackpacks.common.gui.IFilterSlot) ISubtypeRegistration(mezz.jei.api.registration.ISubtypeRegistration) ResourceLocation(net.minecraft.util.ResourceLocation) ISubtypeInterpreter(mezz.jei.api.ingredients.subtypes.ISubtypeInterpreter)

Example 4 with ISubtypeRegistration

use of mezz.jei.api.registration.ISubtypeRegistration in project Ceramics by KnightMiner.

the class JEIPlugin method registerItemSubtypes.

@Override
public void registerItemSubtypes(ISubtypeRegistration registration) {
    ISubtypeInterpreter bucketInterpreter = BaseClayBucketItem::getSubtype;
    registration.registerSubtypeInterpreter(Registration.CLAY_BUCKET.get(), bucketInterpreter);
    registration.registerSubtypeInterpreter(Registration.CRACKED_CLAY_BUCKET.get(), bucketInterpreter);
    // separate different states of crackable clay
    ISubtypeInterpreter crackableClay = stack -> CrackableBlockItem.getCracks(stack) > 0 ? "cracked" : "";
    registration.registerSubtypeInterpreter(Registration.TERRACOTTA_CISTERN.asItem(), crackableClay);
    Registration.COLORED_CISTERN.forEach(block -> registration.registerSubtypeInterpreter(block.asItem(), crackableClay));
    registration.registerSubtypeInterpreter(Registration.TERRACOTTA_FAUCET.asItem(), crackableClay);
    registration.registerSubtypeInterpreter(Registration.TERRACOTTA_CHANNEL.asItem(), crackableClay);
}
Also used : Ingredient(net.minecraft.item.crafting.Ingredient) IRecipeCatalystRegistration(mezz.jei.api.registration.IRecipeCatalystRegistration) IJeiRuntime(mezz.jei.api.runtime.IJeiRuntime) KilnContainer(knightminer.ceramics.container.KilnContainer) KilnRecipe(knightminer.ceramics.recipe.KilnRecipe) KilnScreen(knightminer.ceramics.client.gui.KilnScreen) ArrayList(java.util.ArrayList) IModPlugin(mezz.jei.api.IModPlugin) ItemStack(net.minecraft.item.ItemStack) JeiPlugin(mezz.jei.api.JeiPlugin) RecipeManager(net.minecraft.item.crafting.RecipeManager) Minecraft(net.minecraft.client.Minecraft) IRecipeTransferRegistration(mezz.jei.api.registration.IRecipeTransferRegistration) IRecipeRegistration(mezz.jei.api.registration.IRecipeRegistration) NonNullList(net.minecraft.util.NonNullList) Ceramics(knightminer.ceramics.Ceramics) Registration(knightminer.ceramics.Registration) IRecipe(net.minecraft.item.crafting.IRecipe) VanillaRecipeCategoryUid(mezz.jei.api.constants.VanillaRecipeCategoryUid) IRecipeCategoryRegistration(mezz.jei.api.registration.IRecipeCategoryRegistration) IGuiHandlerRegistration(mezz.jei.api.registration.IGuiHandlerRegistration) ISubtypeInterpreter(mezz.jei.api.ingredients.subtypes.ISubtypeInterpreter) CeramicsTags(knightminer.ceramics.recipe.CeramicsTags) Collectors(java.util.stream.Collectors) CrackableBlockItem(knightminer.ceramics.items.CrackableBlockItem) BaseClayBucketItem(knightminer.ceramics.items.BaseClayBucketItem) List(java.util.List) ISubtypeRegistration(mezz.jei.api.registration.ISubtypeRegistration) IInventory(net.minecraft.inventory.IInventory) ItemGroup(net.minecraft.item.ItemGroup) ResourceLocation(net.minecraft.util.ResourceLocation) VanillaTypes(mezz.jei.api.constants.VanillaTypes) ClientWorld(net.minecraft.client.world.ClientWorld) ISubtypeInterpreter(mezz.jei.api.ingredients.subtypes.ISubtypeInterpreter)

Aggregations

List (java.util.List)4 IModPlugin (mezz.jei.api.IModPlugin)4 JeiPlugin (mezz.jei.api.JeiPlugin)4 VanillaRecipeCategoryUid (mezz.jei.api.constants.VanillaRecipeCategoryUid)4 IRecipeCatalystRegistration (mezz.jei.api.registration.IRecipeCatalystRegistration)4 IRecipeRegistration (mezz.jei.api.registration.IRecipeRegistration)4 IRecipeTransferRegistration (mezz.jei.api.registration.IRecipeTransferRegistration)4 ISubtypeRegistration (mezz.jei.api.registration.ISubtypeRegistration)4 ArrayList (java.util.ArrayList)3 VanillaTypes (mezz.jei.api.constants.VanillaTypes)3 IGuiHandlerRegistration (mezz.jei.api.registration.IGuiHandlerRegistration)3 IRecipeCategoryRegistration (mezz.jei.api.registration.IRecipeCategoryRegistration)3 IJeiRuntime (mezz.jei.api.runtime.IJeiRuntime)3 Minecraft (net.minecraft.client.Minecraft)3 Comparator (java.util.Comparator)2 Collectors (java.util.stream.Collectors)2 IGuiContainerHandler (mezz.jei.api.gui.handlers.IGuiContainerHandler)2 IIngredientSubtypeInterpreter (mezz.jei.api.ingredients.subtypes.IIngredientSubtypeInterpreter)2 ISubtypeInterpreter (mezz.jei.api.ingredients.subtypes.ISubtypeInterpreter)2 UidContext (mezz.jei.api.ingredients.subtypes.UidContext)2