Uses of Interface
net.minecraft.item.ItemConvertible
Packages that use ItemConvertible
Package
Description
-
Uses of ItemConvertible in net.minecraft.advancement
Methods in net.minecraft.advancement with parameters of type ItemConvertibleModifier and TypeMethodDescriptionAdvancement.Builder.display(ItemConvertible icon, Text title, Text description, @Nullable Identifier background, AdvancementFrame frame, boolean showToast, boolean announceToChat, boolean hidden) -
Uses of ItemConvertible in net.minecraft.advancement.criterion
Methods in net.minecraft.advancement.criterion with parameters of type ItemConvertibleModifier and TypeMethodDescriptionShotCrossbowCriterion.Conditions.create(RegistryEntryLookup<Item> itemRegistry, ItemConvertible item) UsedTotemCriterion.Conditions.create(RegistryEntryLookup<Item> itemRegistry, ItemConvertible item) ConsumeItemCriterion.Conditions.item(RegistryEntryLookup<Item> itemRegistry, ItemConvertible item) InventoryChangedCriterion.Conditions.items(ItemConvertible[] items) -
Uses of ItemConvertible in net.minecraft.block
Classes in net.minecraft.block that implement ItemConvertibleModifier and TypeClassDescriptionclassclassclassThe base class for all cauldrons.classAbstractChestBlock<E extends BlockEntity>classclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassA block is a voxel in a world.classA convenience class for a block with aBlockEntity.classclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassAn empty cauldron block.classclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassA carpet that has an associated carpet color for llamas.classclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassA cauldron filled with lava.classclassclassclassConstructs a leveled cauldron block.classclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassFields in net.minecraft.block with type parameters of type ItemConvertibleModifier and TypeFieldDescriptionstatic final Object2FloatMap<ItemConvertible> ComposterBlock.ITEM_TO_LEVEL_INCREASE_CHANCEMethods in net.minecraft.block that return ItemConvertibleModifier and TypeMethodDescriptionprotected ItemConvertibleBeetrootsBlock.getSeedsItem()protected ItemConvertibleCarrotsBlock.getSeedsItem()protected ItemConvertibleCropBlock.getSeedsItem()protected ItemConvertiblePotatoesBlock.getSeedsItem()protected ItemConvertibleTorchflowerBlock.getSeedsItem()Methods in net.minecraft.block with parameters of type ItemConvertibleModifier and TypeMethodDescriptionSuspiciousStewIngredient.of(ItemConvertible item) static voidDispenserBlock.registerBehavior(ItemConvertible provider, DispenserBehavior behavior) private static voidComposterBlock.registerCompostableItem(float levelIncreaseChance, ItemConvertible item) static voidDispenserBlock.registerProjectileBehavior(ItemConvertible projectile) -
Uses of ItemConvertible in net.minecraft.data.loottable
Fields in net.minecraft.data.loottable with type parameters of type ItemConvertibleModifier and TypeFieldDescriptionstatic final Map<DyeColor, ItemConvertible> LootTableData.WOOL_FROM_DYE_COLORMethods in net.minecraft.data.loottable with parameters of type ItemConvertibleModifier and TypeMethodDescriptionprotected voidBlockLootTableGenerator.addDrop(Block block, ItemConvertible drop) protected <T extends LootConditionConsumingBuilder<T>>
TBlockLootTableGenerator.addSurvivesExplosionCondition(ItemConvertible drop, LootConditionConsumingBuilder<T> builder) protected <T extends LootFunctionConsumingBuilder<T>>
TBlockLootTableGenerator.applyExplosionDecay(ItemConvertible drop, LootFunctionConsumingBuilder<T> builder) protected LootTable.BuilderBlockLootTableGenerator.drops(Block withSilkTouch, ItemConvertible withoutSilkTouch) protected LootTable.BuilderBlockLootTableGenerator.drops(Block block, ItemConvertible drop, LootNumberProvider count) BlockLootTableGenerator.drops(ItemConvertible drop) protected LootTable.BuilderBlockLootTableGenerator.drops(ItemConvertible drop, LootNumberProvider count) protected LootTable.BuilderBlockLootTableGenerator.dropsWithShears(ItemConvertible item) private LootTable.BuilderBlockLootTableGenerator.dropsWithSilkTouch(ItemConvertible drop) protected LootTable.BuilderBlockLootTableGenerator.dropsWithSilkTouchOrShears(ItemConvertible item) protected LootTable.BuilderBlockLootTableGenerator.mushroomBlockDrops(Block withSilkTouch, ItemConvertible withoutSilkTouch) private LootTable.BuilderBlockLootTableGenerator.pottedPlantDrops(ItemConvertible drop) -
Uses of ItemConvertible in net.minecraft.data.recipe
Fields in net.minecraft.data.recipe with type parameters of type ItemConvertibleModifier and TypeFieldDescriptionprivate static final ImmutableList<ItemConvertible> VanillaRecipeGenerator.COAL_ORESprivate static final ImmutableList<ItemConvertible> VanillaRecipeGenerator.COPPER_ORESprivate static final ImmutableList<ItemConvertible> VanillaRecipeGenerator.DIAMOND_ORESprivate static final ImmutableList<ItemConvertible> VanillaRecipeGenerator.EMERALD_ORESprivate static final ImmutableList<ItemConvertible> VanillaRecipeGenerator.GOLD_ORESprivate static final ImmutableList<ItemConvertible> VanillaRecipeGenerator.IRON_ORESprivate static final ImmutableList<ItemConvertible> VanillaRecipeGenerator.LAPIS_ORESprivate static final ImmutableList<ItemConvertible> VanillaRecipeGenerator.REDSTONE_ORESMethods in net.minecraft.data.recipe with parameters of type ItemConvertibleModifier and TypeMethodDescriptionRecipeGenerator.conditionsFromItem(ItemConvertible item) RecipeGenerator.conditionsFromItem(NumberRange.IntRange count, ItemConvertible item) protected static StringRecipeGenerator.convertBetween(ItemConvertible to, ItemConvertible from) static <T extends AbstractCookingRecipe>
CookingRecipeJsonBuilderCookingRecipeJsonBuilder.create(Ingredient input, RecipeCategory category, ItemConvertible output, float experience, int cookingTime, RecipeSerializer<T> serializer, AbstractCookingRecipe.RecipeFactory<T> recipeFactory) RecipeGenerator.BlockFamilyRecipeFactory.create(RecipeGenerator generator, ItemConvertible output, ItemConvertible input) static ShapedRecipeJsonBuilderShapedRecipeJsonBuilder.create(RegistryEntryLookup<Item> registryLookup, RecipeCategory category, ItemConvertible output) static ShapedRecipeJsonBuilderShapedRecipeJsonBuilder.create(RegistryEntryLookup<Item> registryLookup, RecipeCategory category, ItemConvertible output, int count) static ShapelessRecipeJsonBuilderShapelessRecipeJsonBuilder.create(RegistryEntryLookup<Item> registryLookup, RecipeCategory category, ItemConvertible output) static ShapelessRecipeJsonBuilderShapelessRecipeJsonBuilder.create(RegistryEntryLookup<Item> registryLookup, RecipeCategory category, ItemConvertible output, int count) static CookingRecipeJsonBuilderCookingRecipeJsonBuilder.createBlasting(Ingredient input, RecipeCategory category, ItemConvertible output, float experience, int cookingTime) private CraftingRecipeJsonBuilderRecipeGenerator.createButtonRecipe(ItemConvertible output, Ingredient input) static CookingRecipeJsonBuilderCookingRecipeJsonBuilder.createCampfireCooking(Ingredient input, RecipeCategory category, ItemConvertible output, float experience, int cookingTime) protected ShapedRecipeJsonBuilderRecipeGenerator.createChiseledBlockRecipe(RecipeCategory category, ItemConvertible output, Ingredient input) private CraftingRecipeJsonBuilderRecipeGenerator.createCondensingRecipe(RecipeCategory category, ItemConvertible output, Ingredient input) private ShapedRecipeJsonBuilderRecipeGenerator.createCutCopperRecipe(RecipeCategory category, ItemConvertible output, Ingredient input) protected CraftingRecipeJsonBuilderRecipeGenerator.createDoorRecipe(ItemConvertible output, Ingredient input) private CraftingRecipeJsonBuilderRecipeGenerator.createFenceGateRecipe(ItemConvertible output, Ingredient input) private CraftingRecipeJsonBuilderRecipeGenerator.createFenceRecipe(ItemConvertible output, Ingredient input) private CraftingRecipeJsonBuilderRecipeGenerator.createPressurePlateRecipe(RecipeCategory category, ItemConvertible output, Ingredient input) protected ShapedRecipeJsonBuilderRecipeGenerator.createShaped(RecipeCategory category, ItemConvertible output) protected ShapedRecipeJsonBuilderRecipeGenerator.createShaped(RecipeCategory category, ItemConvertible output, int count) protected ShapelessRecipeJsonBuilderRecipeGenerator.createShapeless(RecipeCategory category, ItemConvertible output) protected ShapelessRecipeJsonBuilderRecipeGenerator.createShapeless(RecipeCategory category, ItemConvertible output, int count) private CraftingRecipeJsonBuilderRecipeGenerator.createSignRecipe(ItemConvertible output, Ingredient input) protected CraftingRecipeJsonBuilderRecipeGenerator.createSlabRecipe(RecipeCategory category, ItemConvertible output, Ingredient input) static CookingRecipeJsonBuilderCookingRecipeJsonBuilder.createSmelting(Ingredient input, RecipeCategory category, ItemConvertible output, float experience, int cookingTime) static CookingRecipeJsonBuilderCookingRecipeJsonBuilder.createSmoking(Ingredient input, RecipeCategory category, ItemConvertible output, float experience, int cookingTime) protected CraftingRecipeJsonBuilderRecipeGenerator.createStairsRecipe(ItemConvertible output, Ingredient input) StonecuttingRecipeJsonBuilder.createStonecutting(Ingredient input, RecipeCategory category, ItemConvertible output) StonecuttingRecipeJsonBuilder.createStonecutting(Ingredient input, RecipeCategory category, ItemConvertible output, int count) protected CraftingRecipeJsonBuilderRecipeGenerator.createTrapdoorRecipe(ItemConvertible output, Ingredient input) protected static StringRecipeGenerator.getBlastingItemPath(ItemConvertible item) private static CookingRecipeCategoryCookingRecipeJsonBuilder.getBlastingRecipeCategory(ItemConvertible output) private static CookingRecipeCategoryCookingRecipeJsonBuilder.getCookingRecipeCategory(RecipeSerializer<? extends AbstractCookingRecipe> serializer, ItemConvertible output) static IdentifierCraftingRecipeJsonBuilder.getItemId(ItemConvertible item) protected static StringRecipeGenerator.getItemPath(ItemConvertible item) protected static StringRecipeGenerator.getRecipeName(ItemConvertible item) protected static StringRecipeGenerator.getSmeltingItemPath(ItemConvertible item) private static CookingRecipeCategoryCookingRecipeJsonBuilder.getSmeltingRecipeCategory(ItemConvertible output) private CraftingRecipeJsonBuilderRecipeGenerator.getWallRecipe(RecipeCategory category, ItemConvertible output, Ingredient input) protected static StringRecipeGenerator.hasItem(ItemConvertible item) ShapedRecipeJsonBuilder.input(Character c, ItemConvertible item) ShapelessRecipeJsonBuilder.input(ItemConvertible item) ShapelessRecipeJsonBuilder.input(ItemConvertible item, int amount) protected voidRecipeGenerator.offer2x2CompactingRecipe(RecipeCategory category, ItemConvertible output, ItemConvertible input) protected voidRecipeGenerator.offerBannerRecipe(ItemConvertible output, ItemConvertible inputWool) protected voidRecipeGenerator.offerBarkBlockRecipe(ItemConvertible output, ItemConvertible input) protected voidRecipeGenerator.offerBedRecipe(ItemConvertible output, ItemConvertible inputWool) protected voidRecipeGenerator.offerBlasting(List<ItemConvertible> inputs, RecipeCategory category, ItemConvertible output, float experience, int cookingTime, String group) protected voidRecipeGenerator.offerBoatRecipe(ItemConvertible output, ItemConvertible input) protected voidRecipeGenerator.offerCandleDyeingRecipe(ItemConvertible output, ItemConvertible input) protected voidRecipeGenerator.offerCarpetRecipe(ItemConvertible output, ItemConvertible input) protected voidRecipeGenerator.offerChestBoatRecipe(ItemConvertible output, ItemConvertible input) protected voidRecipeGenerator.offerChiseledBlockRecipe(RecipeCategory category, ItemConvertible output, ItemConvertible input) protected voidRecipeGenerator.offerCompactingRecipe(RecipeCategory category, ItemConvertible output, ItemConvertible input) protected voidRecipeGenerator.offerCompactingRecipe(RecipeCategory category, ItemConvertible output, ItemConvertible input, String criterionName) protected voidRecipeGenerator.offerConcretePowderDyeingRecipe(ItemConvertible output, ItemConvertible input) private voidRecipeGenerator.offerCrackingRecipe(ItemConvertible output, ItemConvertible input) Offers a smelting recipe to the exporter that is used to convert the main block of a block family to its cracked variant.protected voidRecipeGenerator.offerCutCopperRecipe(RecipeCategory category, ItemConvertible output, ItemConvertible input) private <T extends AbstractCookingRecipe>
voidRecipeGenerator.offerFoodCookingRecipe(String cooker, RecipeSerializer<T> serializer, AbstractCookingRecipe.RecipeFactory<T> recipeFactory, int cookingTime, ItemConvertible input, ItemConvertible output, float experience) protected voidRecipeGenerator.offerHangingSignRecipe(ItemConvertible output, ItemConvertible input) protected voidRecipeGenerator.offerMosaicRecipe(RecipeCategory category, ItemConvertible output, ItemConvertible input) private <T extends AbstractCookingRecipe>
voidRecipeGenerator.offerMultipleOptions(RecipeSerializer<T> serializer, AbstractCookingRecipe.RecipeFactory<T> recipeFactory, List<ItemConvertible> inputs, RecipeCategory category, ItemConvertible output, float experience, int cookingTime, String group, String suffix) protected voidRecipeGenerator.offerPlanksRecipe(ItemConvertible output, TagKey<Item> logTag, int count) protected voidRecipeGenerator.offerPlanksRecipe2(ItemConvertible output, TagKey<Item> logTag, int count) protected voidRecipeGenerator.offerPolishedStoneRecipe(RecipeCategory category, ItemConvertible output, ItemConvertible input) protected voidRecipeGenerator.offerPressurePlateRecipe(ItemConvertible output, ItemConvertible input) protected voidRecipeGenerator.offerReversibleCompactingRecipes(RecipeCategory reverseCategory, ItemConvertible baseItem, RecipeCategory compactingCategory, ItemConvertible compactItem) Offers two recipes to convert between a normal and compacted form of an item.private voidRecipeGenerator.offerReversibleCompactingRecipes(RecipeCategory reverseCategory, ItemConvertible baseItem, RecipeCategory compactingCategory, ItemConvertible compactItem, String compactingId, @Nullable String compactingGroup, String reverseId, @Nullable String reverseGroup) protected voidRecipeGenerator.offerReversibleCompactingRecipesWithCompactingRecipeGroup(RecipeCategory reverseCategory, ItemConvertible baseItem, RecipeCategory compactingCategory, ItemConvertible compactItem, String compactingId, String compactingGroup) protected voidRecipeGenerator.offerReversibleCompactingRecipesWithReverseRecipeGroup(RecipeCategory reverseCategory, ItemConvertible baseItem, RecipeCategory compactingCategory, ItemConvertible compactItem, String reverseId, String reverseGroup) protected voidRecipeGenerator.offerShapelessRecipe(ItemConvertible output, ItemConvertible input, @Nullable String group, int outputCount) protected voidRecipeGenerator.offerSingleOutputShapelessRecipe(ItemConvertible output, ItemConvertible input, @Nullable String group) protected voidRecipeGenerator.offerSlabRecipe(RecipeCategory category, ItemConvertible output, ItemConvertible input) protected voidRecipeGenerator.offerSmelting(List<ItemConvertible> inputs, RecipeCategory category, ItemConvertible output, float experience, int cookingTime, String group) protected voidRecipeGenerator.offerSmithingTemplateCopyingRecipe(ItemConvertible template, ItemConvertible resource) protected voidRecipeGenerator.offerSmithingTemplateCopyingRecipe(ItemConvertible template, Ingredient resource) protected voidRecipeGenerator.offerStainedGlassDyeingRecipe(ItemConvertible output, ItemConvertible input) protected voidRecipeGenerator.offerStainedGlassPaneDyeingRecipe(ItemConvertible output, ItemConvertible inputDye) protected voidRecipeGenerator.offerStainedGlassPaneRecipe(ItemConvertible output, ItemConvertible input) protected voidRecipeGenerator.offerStonecuttingRecipe(RecipeCategory category, ItemConvertible output, ItemConvertible input) protected voidRecipeGenerator.offerStonecuttingRecipe(RecipeCategory category, ItemConvertible output, ItemConvertible input, int count) protected voidRecipeGenerator.offerTerracottaDyeingRecipe(ItemConvertible output, ItemConvertible input) protected voidRecipeGenerator.offerWallRecipe(RecipeCategory category, ItemConvertible output, ItemConvertible input) Method parameters in net.minecraft.data.recipe with type arguments of type ItemConvertibleModifier and TypeMethodDescriptionprotected voidRecipeGenerator.offerBlasting(List<ItemConvertible> inputs, RecipeCategory category, ItemConvertible output, float experience, int cookingTime, String group) private <T extends AbstractCookingRecipe>
voidRecipeGenerator.offerMultipleOptions(RecipeSerializer<T> serializer, AbstractCookingRecipe.RecipeFactory<T> recipeFactory, List<ItemConvertible> inputs, RecipeCategory category, ItemConvertible output, float experience, int cookingTime, String group, String suffix) protected voidRecipeGenerator.offerSmelting(List<ItemConvertible> inputs, RecipeCategory category, ItemConvertible output, float experience, int cookingTime, String group) Constructors in net.minecraft.data.recipe with parameters of type ItemConvertibleModifierConstructorDescriptionprivateCookingRecipeJsonBuilder(RecipeCategory category, CookingRecipeCategory cookingCategory, ItemConvertible output, Ingredient input, float experience, int cookingTime, AbstractCookingRecipe.RecipeFactory<?> recipeFactory) privateShapedRecipeJsonBuilder(RegistryEntryLookup<Item> registryLookup, RecipeCategory category, ItemConvertible output, int count) StonecuttingRecipeJsonBuilder(RecipeCategory category, SingleStackRecipe.RecipeFactory<?> recipeFactory, Ingredient input, ItemConvertible output, int count) -
Uses of ItemConvertible in net.minecraft.entity
Methods in net.minecraft.entity with parameters of type ItemConvertibleModifier and TypeMethodDescriptionEntity.dropItem(ServerWorld world, ItemConvertible item) Drops oneitemat the entity's position.Entity.dropItem(ServerWorld world, ItemConvertible item, int offsetY) Drops oneitemat the entity's position with the given Y offset. -
Uses of ItemConvertible in net.minecraft.item
Classes in net.minecraft.item that implement ItemConvertibleModifier and TypeClassDescriptionclassclassclassclassclassclassclassRepresents an item corresponding to a block.classclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassAn item usable by players and other entities.classclassclassclassclassclassclassclassOnAStickItem<T extends Entity & ItemSteerable>classclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassAn item for a block that can be vertically attached as well as horizontally.classclassclassMethods in net.minecraft.item with parameters of type ItemConvertibleModifier and TypeMethodDescriptionFuelRegistry.Builder.add(ItemConvertible item, int value) default voidItemGroup.Entries.add(ItemConvertible item) default voidItemGroup.Entries.add(ItemConvertible item, ItemGroup.StackVisibility visibility) ItemStack.copyComponentsToNewStack(ItemConvertible item, int count) Returns a new item stack with the components copied from this item stack.private ItemStackItemStack.copyComponentsToNewStackIgnoreEmpty(ItemConvertible item, int count) Returns a new item stack with the components copied from this item stack, even if this stack is empty.static Consumer<ItemUsageContext> HoeItem.createTillAndDropAction(BlockState result, ItemConvertible droppedItem) Returns a tilling action that sets a block state and drops an item.ItemStack.damage(int amount, ItemConvertible itemAfterBreaking, LivingEntity entity, EquipmentSlot slot) ItemStack.withItem(ItemConvertible item) Constructors in net.minecraft.item with parameters of type ItemConvertibleModifierConstructorDescriptionItemStack(ItemConvertible item) ItemStack(ItemConvertible item, int count) privateItemStack(ItemConvertible item, int count, MergedComponentMap components) -
Uses of ItemConvertible in net.minecraft.loot.entry
Methods in net.minecraft.loot.entry with parameters of type ItemConvertibleModifier and TypeMethodDescriptionstatic LeafEntry.Builder<?> ItemEntry.builder(ItemConvertible drop) -
Uses of ItemConvertible in net.minecraft.predicate.item
Methods in net.minecraft.predicate.item with parameters of type ItemConvertibleModifier and TypeMethodDescriptionItemPredicate.Builder.items(RegistryEntryLookup<Item> itemRegistry, ItemConvertible[] items) -
Uses of ItemConvertible in net.minecraft.recipe
Methods in net.minecraft.recipe with parameters of type ItemConvertibleModifier and TypeMethodDescriptionstatic IngredientIngredient.ofItem(ItemConvertible item) static IngredientIngredient.ofItems(ItemConvertible[] items) Method parameters in net.minecraft.recipe with type arguments of type ItemConvertibleModifier and TypeMethodDescriptionstatic IngredientIngredient.ofItems(Stream<? extends ItemConvertible> stacks) -
Uses of ItemConvertible in net.minecraft.village
Constructors in net.minecraft.village with parameters of type ItemConvertibleModifierConstructorDescriptionBuyItemFactory(ItemConvertible item, int count, int maxUses, int experience) BuyItemFactory(ItemConvertible item, int count, int maxUses, int experience, int price) (package private)ProcessItemFactory(ItemConvertible item, int count, int price, ItemConvertible processed, int processedCount, int maxUses, int experience, float multiplier, RegistryKey<EnchantmentProvider> enchantmentProviderKey) ProcessItemFactory(ItemConvertible item, int count, int price, Item processed, int processedCount, int maxUses, int experience, float multiplier) privateProcessItemFactory(ItemConvertible item, int count, int price, ItemStack processed, int processedCount, int maxUses, int experience, float multiplier) TradedItem(ItemConvertible item) TradedItem(ItemConvertible item, int count) -
Uses of ItemConvertible in net.minecraft.world.gen
Methods in net.minecraft.world.gen with parameters of type ItemConvertibleModifier and TypeMethodDescriptionprivate voidFlatLevelGeneratorPresets.Registrar.createAndRegister(RegistryKey<FlatLevelGeneratorPreset> registryKey, ItemConvertible icon, RegistryKey<Biome> biome, Set<RegistryKey<StructureSet>> structureSetKeys, boolean hasFeatures, boolean hasLakes, FlatChunkGeneratorLayer[] layers)