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
(ItemConvertible item) UsedTotemCriterion.Conditions.create
(ItemConvertible item) ConsumeItemCriterion.Conditions.item
(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
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
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.block.entity
Modifier and TypeMethodDescriptionprivate static void
AbstractFurnaceBlockEntity.addFuel
(Map<Item, Integer> fuelTimes, ItemConvertible item, int fuelTime) -
Uses of ItemConvertible in net.minecraft.client.color.item
Modifier and TypeMethodDescriptionvoid
ItemColors.register
(ItemColorProvider provider, ItemConvertible[] items) -
Uses of ItemConvertible in net.minecraft.component.type
-
Uses of ItemConvertible in net.minecraft.data.server.loottable
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 static LootTable.Builder
EntityLootTableGenerator.createForSheep
(ItemConvertible item) 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 static LootTable.Builder
BlockLootTableGenerator.dropsWithShears
(ItemConvertible drop) private LootTable.Builder
BlockLootTableGenerator.dropsWithSilkTouch
(ItemConvertible drop) 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> VanillaRecipeProvider.COAL_ORES
private static final ImmutableList
<ItemConvertible> VanillaRecipeProvider.COPPER_ORES
private static final ImmutableList
<ItemConvertible> VanillaRecipeProvider.DIAMOND_ORES
private static final ImmutableList
<ItemConvertible> VanillaRecipeProvider.EMERALD_ORES
private static final ImmutableList
<ItemConvertible> VanillaRecipeProvider.GOLD_ORES
private static final ImmutableList
<ItemConvertible> VanillaRecipeProvider.IRON_ORES
private static final ImmutableList
<ItemConvertible> VanillaRecipeProvider.LAPIS_ORES
private static final ImmutableList
<ItemConvertible> VanillaRecipeProvider.REDSTONE_ORES
private static final Map
<BlockFamily.Variant, BiFunction<ItemConvertible, ItemConvertible, CraftingRecipeJsonBuilder>> RecipeProvider.VARIANT_FACTORIES
private static final Map
<BlockFamily.Variant, BiFunction<ItemConvertible, ItemConvertible, CraftingRecipeJsonBuilder>> RecipeProvider.VARIANT_FACTORIES
Modifier and TypeMethodDescriptionprotected static AdvancementCriterion
<InventoryChangedCriterion.Conditions> RecipeProvider.conditionsFromItem
(ItemConvertible item) private static AdvancementCriterion
<InventoryChangedCriterion.Conditions> RecipeProvider.conditionsFromItem
(NumberRange.IntRange count, ItemConvertible item) protected static String
RecipeProvider.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) static ShapedRecipeJsonBuilder
ShapedRecipeJsonBuilder.create
(RecipeCategory category, ItemConvertible output) static ShapedRecipeJsonBuilder
ShapedRecipeJsonBuilder.create
(RecipeCategory category, ItemConvertible output, int count) static ShapelessRecipeJsonBuilder
ShapelessRecipeJsonBuilder.create
(RecipeCategory category, ItemConvertible output) static ShapelessRecipeJsonBuilder
ShapelessRecipeJsonBuilder.create
(RecipeCategory category, ItemConvertible output, int count) static CookingRecipeJsonBuilder
CookingRecipeJsonBuilder.createBlasting
(Ingredient input, RecipeCategory category, ItemConvertible output, float experience, int cookingTime) static CookingRecipeJsonBuilder
CookingRecipeJsonBuilder.createCampfireCooking
(Ingredient input, RecipeCategory category, ItemConvertible output, float experience, int cookingTime) protected static ShapedRecipeJsonBuilder
RecipeProvider.createChiseledBlockRecipe
(RecipeCategory category, ItemConvertible output, Ingredient input) private static CraftingRecipeJsonBuilder
RecipeProvider.createCondensingRecipe
(RecipeCategory category, ItemConvertible output, Ingredient input) private static ShapedRecipeJsonBuilder
RecipeProvider.createCutCopperRecipe
(RecipeCategory category, ItemConvertible output, Ingredient input) protected static CraftingRecipeJsonBuilder
RecipeProvider.createDoorRecipe
(ItemConvertible output, Ingredient input) private static CraftingRecipeJsonBuilder
RecipeProvider.createFenceGateRecipe
(ItemConvertible output, Ingredient input) private static CraftingRecipeJsonBuilder
RecipeProvider.createFenceRecipe
(ItemConvertible output, Ingredient input) private static CraftingRecipeJsonBuilder
RecipeProvider.createPressurePlateRecipe
(RecipeCategory category, ItemConvertible output, Ingredient input) private static CraftingRecipeJsonBuilder
RecipeProvider.createSignRecipe
(ItemConvertible output, Ingredient input) protected static CraftingRecipeJsonBuilder
RecipeProvider.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 static CraftingRecipeJsonBuilder
RecipeProvider.createStairsRecipe
(ItemConvertible output, Ingredient input) StonecuttingRecipeJsonBuilder.createStonecutting
(Ingredient input, RecipeCategory category, ItemConvertible output) StonecuttingRecipeJsonBuilder.createStonecutting
(Ingredient input, RecipeCategory category, ItemConvertible output, int count) private static CraftingRecipeJsonBuilder
RecipeProvider.createTransmutationRecipe
(ItemConvertible output, Ingredient input) protected static CraftingRecipeJsonBuilder
RecipeProvider.createTrapdoorRecipe
(ItemConvertible output, Ingredient input) protected static String
RecipeProvider.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
RecipeProvider.getItemPath
(ItemConvertible item) protected static String
RecipeProvider.getRecipeName
(ItemConvertible item) protected static String
RecipeProvider.getSmeltingItemPath
(ItemConvertible item) private static CookingRecipeCategory
CookingRecipeJsonBuilder.getSmeltingRecipeCategory
(ItemConvertible output) private static CraftingRecipeJsonBuilder
RecipeProvider.getWallRecipe
(RecipeCategory category, ItemConvertible output, Ingredient input) protected static String
RecipeProvider.hasItem
(ItemConvertible item) ShapedRecipeJsonBuilder.input
(Character c, ItemConvertible itemProvider) ShapelessRecipeJsonBuilder.input
(ItemConvertible itemProvider) ShapelessRecipeJsonBuilder.input
(ItemConvertible itemProvider, int size) protected static void
RecipeProvider.offer2x2CompactingRecipe
(RecipeExporter exporter, RecipeCategory category, ItemConvertible output, ItemConvertible input) protected static void
RecipeProvider.offerBannerRecipe
(RecipeExporter exporter, ItemConvertible output, ItemConvertible input) protected static void
RecipeProvider.offerBarkBlockRecipe
(RecipeExporter exporter, ItemConvertible output, ItemConvertible input) protected static void
RecipeProvider.offerBedRecipe
(RecipeExporter exporter, ItemConvertible output, ItemConvertible input) protected static void
RecipeProvider.offerBlasting
(RecipeExporter exporter, List<ItemConvertible> inputs, RecipeCategory category, ItemConvertible output, float experience, int cookingTime, String group) protected static void
RecipeProvider.offerBoatRecipe
(RecipeExporter exporter, ItemConvertible output, ItemConvertible input) protected static void
RecipeProvider.offerCandleDyeingRecipe
(RecipeExporter exporter, ItemConvertible output, ItemConvertible input) protected static void
RecipeProvider.offerCarpetRecipe
(RecipeExporter exporter, ItemConvertible output, ItemConvertible input) protected static void
RecipeProvider.offerChestBoatRecipe
(RecipeExporter exporter, ItemConvertible output, ItemConvertible input) protected static void
RecipeProvider.offerChiseledBlockRecipe
(RecipeExporter exporter, RecipeCategory category, ItemConvertible output, ItemConvertible input) protected static void
RecipeProvider.offerCompactingRecipe
(RecipeExporter exporter, RecipeCategory category, ItemConvertible output, ItemConvertible input) protected static void
RecipeProvider.offerCompactingRecipe
(RecipeExporter exporter, RecipeCategory category, ItemConvertible output, ItemConvertible input, String criterionName) protected static void
RecipeProvider.offerConcretePowderDyeingRecipe
(RecipeExporter exporter, ItemConvertible output, ItemConvertible input) private static void
RecipeProvider.offerCrackingRecipe
(RecipeExporter exporter, 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 static void
RecipeProvider.offerCutCopperRecipe
(RecipeExporter exporter, RecipeCategory category, ItemConvertible output, ItemConvertible input) private static <T extends AbstractCookingRecipe>
voidRecipeProvider.offerFoodCookingRecipe
(RecipeExporter exporter, String cooker, RecipeSerializer<T> serializer, AbstractCookingRecipe.RecipeFactory<T> recipeFactory, int cookingTime, ItemConvertible items, ItemConvertible output, float experience) protected static void
RecipeProvider.offerHangingSignRecipe
(RecipeExporter exporter, ItemConvertible output, ItemConvertible input) protected static void
RecipeProvider.offerMosaicRecipe
(RecipeExporter exporter, RecipeCategory category, ItemConvertible output, ItemConvertible input) private static <T extends AbstractCookingRecipe>
voidRecipeProvider.offerMultipleOptions
(RecipeExporter exporter, RecipeSerializer<T> serializer, AbstractCookingRecipe.RecipeFactory<T> recipeFactory, List<ItemConvertible> inputs, RecipeCategory category, ItemConvertible output, float experience, int cookingTime, String group, String suffix) protected static void
RecipeProvider.offerPlanksRecipe
(RecipeExporter exporter, ItemConvertible output, TagKey<Item> input, int count) protected static void
RecipeProvider.offerPlanksRecipe2
(RecipeExporter exporter, ItemConvertible output, TagKey<Item> input, int count) protected static void
RecipeProvider.offerPolishedStoneRecipe
(RecipeExporter exporter, RecipeCategory category, ItemConvertible output, ItemConvertible input) protected static void
RecipeProvider.offerPressurePlateRecipe
(RecipeExporter exporter, ItemConvertible output, ItemConvertible input) protected static void
RecipeProvider.offerReversibleCompactingRecipes
(RecipeExporter exporter, RecipeCategory reverseCategory, ItemConvertible baseItem, RecipeCategory compactingCategory, ItemConvertible compactItem) Offers two recipes to convert between a normal and compacted form of an item.private static void
RecipeProvider.offerReversibleCompactingRecipes
(RecipeExporter exporter, RecipeCategory reverseCategory, ItemConvertible baseItem, RecipeCategory compactingCategory, ItemConvertible compactItem, String compactingId, @Nullable String compactingGroup, String reverseId, @Nullable String reverseGroup) protected static void
RecipeProvider.offerReversibleCompactingRecipesWithCompactingRecipeGroup
(RecipeExporter exporter, RecipeCategory reverseCategory, ItemConvertible baseItem, RecipeCategory compactingCategory, ItemConvertible compactItem, String compactingId, String compactingGroup) protected static void
RecipeProvider.offerReversibleCompactingRecipesWithReverseRecipeGroup
(RecipeExporter exporter, RecipeCategory reverseCategory, ItemConvertible baseItem, RecipeCategory compactingCategory, ItemConvertible compactItem, String reverseId, String reverseGroup) protected static void
RecipeProvider.offerShapelessRecipe
(RecipeExporter exporter, ItemConvertible output, ItemConvertible input, @Nullable String group, int outputCount) protected static void
RecipeProvider.offerSingleOutputShapelessRecipe
(RecipeExporter exporter, ItemConvertible output, ItemConvertible input, @Nullable String group) protected static void
RecipeProvider.offerSlabRecipe
(RecipeExporter exporter, RecipeCategory category, ItemConvertible output, ItemConvertible input) protected static void
RecipeProvider.offerSmelting
(RecipeExporter exporter, List<ItemConvertible> inputs, RecipeCategory category, ItemConvertible output, float experience, int cookingTime, String group) protected static void
RecipeProvider.offerSmithingTemplateCopyingRecipe
(RecipeExporter exporter, ItemConvertible template, ItemConvertible resource) protected static void
RecipeProvider.offerSmithingTemplateCopyingRecipe
(RecipeExporter exporter, ItemConvertible template, Ingredient resource) protected static void
RecipeProvider.offerSmithingTemplateCopyingRecipe
(RecipeExporter exporter, ItemConvertible template, TagKey<Item> resource) protected static void
RecipeProvider.offerStainedGlassDyeingRecipe
(RecipeExporter exporter, ItemConvertible output, ItemConvertible input) protected static void
RecipeProvider.offerStainedGlassPaneDyeingRecipe
(RecipeExporter exporter, ItemConvertible output, ItemConvertible input) protected static void
RecipeProvider.offerStainedGlassPaneRecipe
(RecipeExporter exporter, ItemConvertible output, ItemConvertible input) protected static void
RecipeProvider.offerStonecuttingRecipe
(RecipeExporter exporter, RecipeCategory category, ItemConvertible output, ItemConvertible input) protected static void
RecipeProvider.offerStonecuttingRecipe
(RecipeExporter exporter, RecipeCategory category, ItemConvertible output, ItemConvertible input, int count) protected static void
RecipeProvider.offerTerracottaDyeingRecipe
(RecipeExporter exporter, ItemConvertible output, ItemConvertible input) protected static void
RecipeProvider.offerWallRecipe
(RecipeExporter exporter, RecipeCategory category, ItemConvertible output, ItemConvertible input) Modifier and TypeMethodDescriptionprotected static void
RecipeProvider.offerBlasting
(RecipeExporter exporter, List<ItemConvertible> inputs, RecipeCategory category, ItemConvertible output, float experience, int cookingTime, String group) private static <T extends AbstractCookingRecipe>
voidRecipeProvider.offerMultipleOptions
(RecipeExporter exporter, RecipeSerializer<T> serializer, AbstractCookingRecipe.RecipeFactory<T> recipeFactory, List<ItemConvertible> inputs, RecipeCategory category, ItemConvertible output, float experience, int cookingTime, String group, String suffix) protected static void
RecipeProvider.offerSmelting
(RecipeExporter exporter, 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) ShapedRecipeJsonBuilder
(RecipeCategory category, ItemConvertible output, int count) ShapelessRecipeJsonBuilder
(RecipeCategory category, ItemConvertible output, int count) StonecuttingRecipeJsonBuilder
(RecipeCategory category, CuttingRecipe.RecipeFactory<?> recipeFactory, Ingredient input, ItemConvertible output, int count) -
Uses of ItemConvertible in net.minecraft.entity
Modifier and TypeMethodDescriptionEntity.dropItem
(ItemConvertible item) Drops oneitem
at the entity's position.Entity.dropItem
(ItemConvertible item, int yOffset) Drops oneitem
at the entity's position with the given Y offset. -
Uses of ItemConvertible in net.minecraft.entity.passive
Modifier and TypeFieldDescriptionprivate static final Map
<DyeColor, ItemConvertible> SheepEntity.DROPS
-
Uses of ItemConvertible in net.minecraft.item
Modifier and TypeClassDescriptionclass
class
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
class
class
class
class
class
An item usable by players and other entities.class
class
class
class
class
class
class
class
class
class
Represents an item which can contain extra data that is synced to the client.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
AnItem
used as a tool, typically used for harvesting blocks or killing entities.class
class
An item for a block that can be vertically attached as well as horizontally.class
class
class
Modifier and TypeMethodDescriptiondefault 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, ComponentMapImpl 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
-
Uses of ItemConvertible in net.minecraft.recipe
-
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)