Uses of Interface
net.minecraft.item.ItemConvertible
Package
Description
-
Uses of ItemConvertible in net.minecraft.advancement
Modifier 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
Modifier 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
Modifier and TypeClassDescriptionclass
class
class
The base class for all cauldrons.class
AbstractChestBlock<E extends BlockEntity>
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
A block is a voxel in a world.class
A convenience class for a block with aBlockEntity
.class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
An empty cauldron block.class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
A carpet that has an associated carpet color for llamas.class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
A cauldron filled with lava.class
class
class
Constructs a leveled cauldron block.class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
Modifier and TypeFieldDescriptionstatic final Object2FloatMap
<ItemConvertible> ComposterBlock.ITEM_TO_LEVEL_INCREASE_CHANCE
Modifier and TypeMethodDescriptionprotected ItemConvertible
BeetrootsBlock.getSeedsItem()
protected ItemConvertible
CarrotsBlock.getSeedsItem()
protected ItemConvertible
CropBlock.getSeedsItem()
protected ItemConvertible
PotatoesBlock.getSeedsItem()
protected ItemConvertible
TorchflowerBlock.getSeedsItem()
Modifier and TypeMethodDescriptionSuspiciousStewIngredient.of
(ItemConvertible item) static void
DispenserBlock.registerBehavior
(ItemConvertible provider, DispenserBehavior behavior) private static void
ComposterBlock.registerCompostableItem
(float levelIncreaseChance, ItemConvertible item) static void
DispenserBlock.registerProjectileBehavior
(ItemConvertible projectile) -
Uses of ItemConvertible in net.minecraft.client.color.item
Modifier and TypeMethodDescriptionvoid
ItemColors.register
(ItemColorProvider provider, ItemConvertible[] items) -
Uses of ItemConvertible in net.minecraft.data.server.loottable
Modifier and TypeFieldDescriptionstatic final Map
<DyeColor, ItemConvertible> LootTableData.WOOL_FROM_DYE_COLOR
Modifier and TypeMethodDescriptionprotected void
BlockLootTableGenerator.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.Builder
BlockLootTableGenerator.drops
(Block withSilkTouch, ItemConvertible withoutSilkTouch) protected LootTable.Builder
BlockLootTableGenerator.drops
(Block block, ItemConvertible drop, LootNumberProvider count) BlockLootTableGenerator.drops
(ItemConvertible drop) protected LootTable.Builder
BlockLootTableGenerator.drops
(ItemConvertible drop, LootNumberProvider count) protected LootTable.Builder
BlockLootTableGenerator.dropsWithShears
(ItemConvertible item) private LootTable.Builder
BlockLootTableGenerator.dropsWithSilkTouch
(ItemConvertible drop) protected LootTable.Builder
BlockLootTableGenerator.dropsWithSilkTouchOrShears
(ItemConvertible item) protected LootTable.Builder
BlockLootTableGenerator.mushroomBlockDrops
(Block withSilkTouch, ItemConvertible withoutSilkTouch) private LootTable.Builder
BlockLootTableGenerator.pottedPlantDrops
(ItemConvertible drop) -
Uses of ItemConvertible in net.minecraft.data.server.recipe
Modifier and TypeFieldDescriptionprivate static final ImmutableList
<ItemConvertible> VanillaRecipeGenerator.COAL_ORES
private static final ImmutableList
<ItemConvertible> VanillaRecipeGenerator.COPPER_ORES
private static final ImmutableList
<ItemConvertible> VanillaRecipeGenerator.DIAMOND_ORES
private static final ImmutableList
<ItemConvertible> VanillaRecipeGenerator.EMERALD_ORES
private static final ImmutableList
<ItemConvertible> VanillaRecipeGenerator.GOLD_ORES
private static final ImmutableList
<ItemConvertible> VanillaRecipeGenerator.IRON_ORES
private static final ImmutableList
<ItemConvertible> VanillaRecipeGenerator.LAPIS_ORES
private static final ImmutableList
<ItemConvertible> VanillaRecipeGenerator.REDSTONE_ORES
Modifier and TypeMethodDescriptionRecipeGenerator.conditionsFromItem
(ItemConvertible item) RecipeGenerator.conditionsFromItem
(NumberRange.IntRange count, ItemConvertible item) protected static String
RecipeGenerator.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 ShapedRecipeJsonBuilder
ShapedRecipeJsonBuilder.create
(RegistryEntryLookup<Item> registryLookup, RecipeCategory category, ItemConvertible output) static ShapedRecipeJsonBuilder
ShapedRecipeJsonBuilder.create
(RegistryEntryLookup<Item> registryLookup, RecipeCategory category, ItemConvertible output, int count) static ShapelessRecipeJsonBuilder
ShapelessRecipeJsonBuilder.create
(RegistryEntryLookup<Item> registryLookup, RecipeCategory category, ItemConvertible output) static ShapelessRecipeJsonBuilder
ShapelessRecipeJsonBuilder.create
(RegistryEntryLookup<Item> registryLookup, RecipeCategory category, ItemConvertible output, int count) static CookingRecipeJsonBuilder
CookingRecipeJsonBuilder.createBlasting
(Ingredient input, RecipeCategory category, ItemConvertible output, float experience, int cookingTime) private CraftingRecipeJsonBuilder
RecipeGenerator.createButtonRecipe
(ItemConvertible output, Ingredient input) static CookingRecipeJsonBuilder
CookingRecipeJsonBuilder.createCampfireCooking
(Ingredient input, RecipeCategory category, ItemConvertible output, float experience, int cookingTime) protected ShapedRecipeJsonBuilder
RecipeGenerator.createChiseledBlockRecipe
(RecipeCategory category, ItemConvertible output, Ingredient input) private CraftingRecipeJsonBuilder
RecipeGenerator.createCondensingRecipe
(RecipeCategory category, ItemConvertible output, Ingredient input) private ShapedRecipeJsonBuilder
RecipeGenerator.createCutCopperRecipe
(RecipeCategory category, ItemConvertible output, Ingredient input) protected CraftingRecipeJsonBuilder
RecipeGenerator.createDoorRecipe
(ItemConvertible output, Ingredient input) private CraftingRecipeJsonBuilder
RecipeGenerator.createFenceGateRecipe
(ItemConvertible output, Ingredient input) private CraftingRecipeJsonBuilder
RecipeGenerator.createFenceRecipe
(ItemConvertible output, Ingredient input) private CraftingRecipeJsonBuilder
RecipeGenerator.createPressurePlateRecipe
(RecipeCategory category, ItemConvertible output, Ingredient input) protected ShapedRecipeJsonBuilder
RecipeGenerator.createShaped
(RecipeCategory category, ItemConvertible output) protected ShapedRecipeJsonBuilder
RecipeGenerator.createShaped
(RecipeCategory category, ItemConvertible output, int count) protected ShapelessRecipeJsonBuilder
RecipeGenerator.createShapeless
(RecipeCategory category, ItemConvertible output) protected ShapelessRecipeJsonBuilder
RecipeGenerator.createShapeless
(RecipeCategory category, ItemConvertible output, int count) private CraftingRecipeJsonBuilder
RecipeGenerator.createSignRecipe
(ItemConvertible output, Ingredient input) protected CraftingRecipeJsonBuilder
RecipeGenerator.createSlabRecipe
(RecipeCategory category, ItemConvertible output, Ingredient input) static CookingRecipeJsonBuilder
CookingRecipeJsonBuilder.createSmelting
(Ingredient input, RecipeCategory category, ItemConvertible output, float experience, int cookingTime) static CookingRecipeJsonBuilder
CookingRecipeJsonBuilder.createSmoking
(Ingredient input, RecipeCategory category, ItemConvertible output, float experience, int cookingTime) protected CraftingRecipeJsonBuilder
RecipeGenerator.createStairsRecipe
(ItemConvertible output, Ingredient input) StonecuttingRecipeJsonBuilder.createStonecutting
(Ingredient input, RecipeCategory category, ItemConvertible output) StonecuttingRecipeJsonBuilder.createStonecutting
(Ingredient input, RecipeCategory category, ItemConvertible output, int count) protected CraftingRecipeJsonBuilder
RecipeGenerator.createTrapdoorRecipe
(ItemConvertible output, Ingredient input) protected static String
RecipeGenerator.getBlastingItemPath
(ItemConvertible item) private static CookingRecipeCategory
CookingRecipeJsonBuilder.getBlastingRecipeCategory
(ItemConvertible output) private static CookingRecipeCategory
CookingRecipeJsonBuilder.getCookingRecipeCategory
(RecipeSerializer<? extends AbstractCookingRecipe> serializer, ItemConvertible output) static Identifier
CraftingRecipeJsonBuilder.getItemId
(ItemConvertible item) protected static String
RecipeGenerator.getItemPath
(ItemConvertible item) protected static String
RecipeGenerator.getRecipeName
(ItemConvertible item) protected static String
RecipeGenerator.getSmeltingItemPath
(ItemConvertible item) private static CookingRecipeCategory
CookingRecipeJsonBuilder.getSmeltingRecipeCategory
(ItemConvertible output) private CraftingRecipeJsonBuilder
RecipeGenerator.getWallRecipe
(RecipeCategory category, ItemConvertible output, Ingredient input) protected static String
RecipeGenerator.hasItem
(ItemConvertible item) ShapedRecipeJsonBuilder.input
(Character c, ItemConvertible item) ShapelessRecipeJsonBuilder.input
(ItemConvertible item) ShapelessRecipeJsonBuilder.input
(ItemConvertible item, int amount) protected void
RecipeGenerator.offer2x2CompactingRecipe
(RecipeCategory category, ItemConvertible output, ItemConvertible input) protected void
RecipeGenerator.offerBannerRecipe
(ItemConvertible output, ItemConvertible inputWool) protected void
RecipeGenerator.offerBarkBlockRecipe
(ItemConvertible output, ItemConvertible input) protected void
RecipeGenerator.offerBedRecipe
(ItemConvertible output, ItemConvertible inputWool) protected void
RecipeGenerator.offerBlasting
(List<ItemConvertible> inputs, RecipeCategory category, ItemConvertible output, float experience, int cookingTime, String group) protected void
RecipeGenerator.offerBoatRecipe
(ItemConvertible output, ItemConvertible input) protected void
RecipeGenerator.offerCandleDyeingRecipe
(ItemConvertible output, ItemConvertible input) protected void
RecipeGenerator.offerCarpetRecipe
(ItemConvertible output, ItemConvertible input) protected void
RecipeGenerator.offerChestBoatRecipe
(ItemConvertible output, ItemConvertible input) protected void
RecipeGenerator.offerChiseledBlockRecipe
(RecipeCategory category, ItemConvertible output, ItemConvertible input) protected void
RecipeGenerator.offerCompactingRecipe
(RecipeCategory category, ItemConvertible output, ItemConvertible input) protected void
RecipeGenerator.offerCompactingRecipe
(RecipeCategory category, ItemConvertible output, ItemConvertible input, String criterionName) protected void
RecipeGenerator.offerConcretePowderDyeingRecipe
(ItemConvertible output, ItemConvertible input) private void
RecipeGenerator.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 void
RecipeGenerator.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 void
RecipeGenerator.offerHangingSignRecipe
(ItemConvertible output, ItemConvertible input) protected void
RecipeGenerator.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 void
RecipeGenerator.offerPlanksRecipe
(ItemConvertible output, TagKey<Item> logTag, int count) protected void
RecipeGenerator.offerPlanksRecipe2
(ItemConvertible output, TagKey<Item> logTag, int count) protected void
RecipeGenerator.offerPolishedStoneRecipe
(RecipeCategory category, ItemConvertible output, ItemConvertible input) protected void
RecipeGenerator.offerPressurePlateRecipe
(ItemConvertible output, ItemConvertible input) protected void
RecipeGenerator.offerReversibleCompactingRecipes
(RecipeCategory reverseCategory, ItemConvertible baseItem, RecipeCategory compactingCategory, ItemConvertible compactItem) Offers two recipes to convert between a normal and compacted form of an item.private void
RecipeGenerator.offerReversibleCompactingRecipes
(RecipeCategory reverseCategory, ItemConvertible baseItem, RecipeCategory compactingCategory, ItemConvertible compactItem, String compactingId, @Nullable String compactingGroup, String reverseId, @Nullable String reverseGroup) protected void
RecipeGenerator.offerReversibleCompactingRecipesWithCompactingRecipeGroup
(RecipeCategory reverseCategory, ItemConvertible baseItem, RecipeCategory compactingCategory, ItemConvertible compactItem, String compactingId, String compactingGroup) protected void
RecipeGenerator.offerReversibleCompactingRecipesWithReverseRecipeGroup
(RecipeCategory reverseCategory, ItemConvertible baseItem, RecipeCategory compactingCategory, ItemConvertible compactItem, String reverseId, String reverseGroup) protected void
RecipeGenerator.offerShapelessRecipe
(ItemConvertible output, ItemConvertible input, @Nullable String group, int outputCount) protected void
RecipeGenerator.offerSingleOutputShapelessRecipe
(ItemConvertible output, ItemConvertible input, @Nullable String group) protected void
RecipeGenerator.offerSlabRecipe
(RecipeCategory category, ItemConvertible output, ItemConvertible input) protected void
RecipeGenerator.offerSmelting
(List<ItemConvertible> inputs, RecipeCategory category, ItemConvertible output, float experience, int cookingTime, String group) protected void
RecipeGenerator.offerSmithingTemplateCopyingRecipe
(ItemConvertible template, ItemConvertible resource) protected void
RecipeGenerator.offerSmithingTemplateCopyingRecipe
(ItemConvertible template, Ingredient resource) protected void
RecipeGenerator.offerStainedGlassDyeingRecipe
(ItemConvertible output, ItemConvertible input) protected void
RecipeGenerator.offerStainedGlassPaneDyeingRecipe
(ItemConvertible output, ItemConvertible inputDye) protected void
RecipeGenerator.offerStainedGlassPaneRecipe
(ItemConvertible output, ItemConvertible input) protected void
RecipeGenerator.offerStonecuttingRecipe
(RecipeCategory category, ItemConvertible output, ItemConvertible input) protected void
RecipeGenerator.offerStonecuttingRecipe
(RecipeCategory category, ItemConvertible output, ItemConvertible input, int count) protected void
RecipeGenerator.offerTerracottaDyeingRecipe
(ItemConvertible output, ItemConvertible input) protected void
RecipeGenerator.offerWallRecipe
(RecipeCategory category, ItemConvertible output, ItemConvertible input) Modifier and TypeMethodDescriptionprotected void
RecipeGenerator.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 void
RecipeGenerator.offerSmelting
(List<ItemConvertible> inputs, RecipeCategory category, ItemConvertible output, float experience, int cookingTime, String group) ModifierConstructorDescriptionprivate
CookingRecipeJsonBuilder
(RecipeCategory category, CookingRecipeCategory cookingCategory, ItemConvertible output, Ingredient input, float experience, int cookingTime, AbstractCookingRecipe.RecipeFactory<?> recipeFactory) private
ShapedRecipeJsonBuilder
(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
Modifier and TypeMethodDescriptionEntity.dropItem
(ServerWorld world, ItemConvertible item) Drops oneitem
at the entity's position.Entity.dropItem
(ServerWorld world, ItemConvertible item, int offsetY) Drops oneitem
at the entity's position with the given Y offset. -
Uses of ItemConvertible in net.minecraft.item
Modifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
class
class
Represents an item corresponding to a block.class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
An item usable by players and other entities.class
class
class
class
class
class
class
class
class
OnAStickItem<T extends Entity & ItemSteerable>
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
An item for a block that can be vertically attached as well as horizontally.class
class
class
Modifier and TypeMethodDescriptionFuelRegistry.Builder.add
(ItemConvertible item, int value) default void
ItemGroup.Entries.add
(ItemConvertible item) default void
ItemGroup.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 ItemStack
ItemStack.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) ModifierConstructorDescriptionItemStack
(ItemConvertible item) ItemStack
(ItemConvertible item, int count) private
ItemStack
(ItemConvertible item, int count, MergedComponentMap components) -
Uses of ItemConvertible in net.minecraft.loot.entry
Modifier and TypeMethodDescriptionstatic LeafEntry.Builder
<?> ItemEntry.builder
(ItemConvertible drop) -
Uses of ItemConvertible in net.minecraft.predicate.item
Modifier and TypeMethodDescriptionItemPredicate.Builder.items
(RegistryEntryLookup<Item> itemRegistry, ItemConvertible[] items) -
Uses of ItemConvertible in net.minecraft.recipe
Modifier and TypeMethodDescriptionstatic Ingredient
Ingredient.ofItem
(ItemConvertible item) static Ingredient
Ingredient.ofItems
(ItemConvertible[] items) Modifier and TypeMethodDescriptionstatic Ingredient
Ingredient.ofItems
(Stream<? extends ItemConvertible> stacks) -
Uses of ItemConvertible in net.minecraft.village
ModifierConstructorDescriptionBuyItemFactory
(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) private
ProcessItemFactory
(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
Modifier and TypeMethodDescriptionprivate void
FlatLevelGeneratorPresets.Registrar.createAndRegister
(RegistryKey<FlatLevelGeneratorPreset> registryKey, ItemConvertible icon, RegistryKey<Biome> biome, Set<RegistryKey<StructureSet>> structureSetKeys, boolean hasFeatures, boolean hasLakes, FlatChunkGeneratorLayer[] layers)