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
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
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
class
A cauldron filled with lava.class
class
class
A cauldron with a varying level of contents.class
class
class
class
class
class
class
class
class
class
class
class
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 powder snow.class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
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) -
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.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 dropWithSilkTouch, ItemConvertible drop) protected LootTable.Builder
BlockLootTableGenerator.drops
(Block dropWithSilkTouch, 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 static LootTable.Builder
BlockLootTableGenerator.dropsWithSilkTouch
(ItemConvertible drop) protected LootTable.Builder
BlockLootTableGenerator.mushroomBlockDrops
(Block dropWithSilkTouch, ItemConvertible drop) 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 InventoryChangedCriterion.Conditions
RecipeProvider.conditionsFromItem
(ItemConvertible item) private static InventoryChangedCriterion.Conditions
RecipeProvider.conditionsFromItem
(NumberRange.IntRange count, ItemConvertible item) protected static String
RecipeProvider.convertBetween
(ItemConvertible to, ItemConvertible from) static CookingRecipeJsonBuilder
CookingRecipeJsonBuilder.create
(Ingredient input, RecipeCategory category, ItemConvertible output, float experience, int cookingTime, RecipeSerializer<? extends AbstractCookingRecipe> serializer) 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) static SingleItemRecipeJsonBuilder
SingleItemRecipeJsonBuilder.createStonecutting
(Ingredient input, RecipeCategory category, ItemConvertible output) static SingleItemRecipeJsonBuilder
SingleItemRecipeJsonBuilder.createStonecutting
(Ingredient input, RecipeCategory category, ItemConvertible output, int count) private static CraftingRecipeJsonBuilder
RecipeProvider.createTransmutationRecipe
(ItemConvertible output, Ingredient input) private 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
(Consumer<RecipeJsonProvider> exporter, RecipeCategory category, ItemConvertible output, ItemConvertible input) protected static void
RecipeProvider.offerBannerRecipe
(Consumer<RecipeJsonProvider> exporter, ItemConvertible output, ItemConvertible input) protected static void
RecipeProvider.offerBarkBlockRecipe
(Consumer<RecipeJsonProvider> exporter, ItemConvertible output, ItemConvertible input) protected static void
RecipeProvider.offerBedRecipe
(Consumer<RecipeJsonProvider> exporter, ItemConvertible output, ItemConvertible input) protected static void
RecipeProvider.offerBlasting
(Consumer<RecipeJsonProvider> exporter, List<ItemConvertible> inputs, RecipeCategory category, ItemConvertible output, float experience, int cookingTime, String group) protected static void
RecipeProvider.offerBoatRecipe
(Consumer<RecipeJsonProvider> exporter, ItemConvertible output, ItemConvertible input) protected static void
RecipeProvider.offerCandleDyeingRecipe
(Consumer<RecipeJsonProvider> exporter, ItemConvertible output, ItemConvertible input) protected static void
RecipeProvider.offerCarpetRecipe
(Consumer<RecipeJsonProvider> exporter, ItemConvertible output, ItemConvertible input) protected static void
RecipeProvider.offerChestBoatRecipe
(Consumer<RecipeJsonProvider> exporter, ItemConvertible output, ItemConvertible input) protected static void
RecipeProvider.offerChiseledBlockRecipe
(Consumer<RecipeJsonProvider> exporter, RecipeCategory category, ItemConvertible output, ItemConvertible input) protected static void
RecipeProvider.offerCompactingRecipe
(Consumer<RecipeJsonProvider> exporter, RecipeCategory category, ItemConvertible output, ItemConvertible input) protected static void
RecipeProvider.offerCompactingRecipe
(Consumer<RecipeJsonProvider> exporter, RecipeCategory category, ItemConvertible output, ItemConvertible input, String criterionName) protected static void
RecipeProvider.offerConcretePowderDyeingRecipe
(Consumer<RecipeJsonProvider> exporter, ItemConvertible output, ItemConvertible input) private static void
RecipeProvider.offerCrackingRecipe
(Consumer<RecipeJsonProvider> 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
(Consumer<RecipeJsonProvider> exporter, RecipeCategory category, ItemConvertible output, ItemConvertible input) private static void
RecipeProvider.offerFoodCookingRecipe
(Consumer<RecipeJsonProvider> exporter, String cooker, RecipeSerializer<? extends AbstractCookingRecipe> serializer, int cookingTime, ItemConvertible input, ItemConvertible output, float experience) protected static void
RecipeProvider.offerHangingSignRecipe
(Consumer<RecipeJsonProvider> exporter, ItemConvertible output, ItemConvertible input) protected static void
RecipeProvider.offerMosaicRecipe
(Consumer<RecipeJsonProvider> exporter, RecipeCategory category, ItemConvertible output, ItemConvertible input) private static void
RecipeProvider.offerMultipleOptions
(Consumer<RecipeJsonProvider> exporter, RecipeSerializer<? extends AbstractCookingRecipe> serializer, List<ItemConvertible> inputs, RecipeCategory category, ItemConvertible output, float experience, int cookingTime, String group, String method) protected static void
RecipeProvider.offerPlanksRecipe
(Consumer<RecipeJsonProvider> exporter, ItemConvertible output, TagKey<Item> input, int count) protected static void
RecipeProvider.offerPlanksRecipe2
(Consumer<RecipeJsonProvider> exporter, ItemConvertible output, TagKey<Item> input, int count) protected static void
RecipeProvider.offerPolishedStoneRecipe
(Consumer<RecipeJsonProvider> exporter, RecipeCategory category, ItemConvertible output, ItemConvertible input) protected static void
RecipeProvider.offerPressurePlateRecipe
(Consumer<RecipeJsonProvider> exporter, ItemConvertible output, ItemConvertible input) protected static void
RecipeProvider.offerReversibleCompactingRecipes
(Consumer<RecipeJsonProvider> 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
(Consumer<RecipeJsonProvider> exporter, RecipeCategory reverseCategory, ItemConvertible baseItem, RecipeCategory compactingCategory, ItemConvertible compactItem, String compactingId, @Nullable String compactingGroup, String reverseId, @Nullable String reverseGroup) protected static void
RecipeProvider.offerReversibleCompactingRecipesWithCompactingRecipeGroup
(Consumer<RecipeJsonProvider> exporter, RecipeCategory reverseCategory, ItemConvertible baseItem, RecipeCategory compactingCategory, ItemConvertible compactItem, String compactingId, String compactingGroup) protected static void
RecipeProvider.offerReversibleCompactingRecipesWithReverseRecipeGroup
(Consumer<RecipeJsonProvider> exporter, RecipeCategory reverseCategory, ItemConvertible baseItem, RecipeCategory compactingCategory, ItemConvertible compactItem, String reverseId, String reverseGroup) protected static void
RecipeProvider.offerShapelessRecipe
(Consumer<RecipeJsonProvider> exporter, ItemConvertible output, ItemConvertible input, @Nullable String group, int outputCount) protected static void
RecipeProvider.offerSingleOutputShapelessRecipe
(Consumer<RecipeJsonProvider> exporter, ItemConvertible output, ItemConvertible input, @Nullable String group) protected static void
RecipeProvider.offerSlabRecipe
(Consumer<RecipeJsonProvider> exporter, RecipeCategory category, ItemConvertible output, ItemConvertible input) protected static void
RecipeProvider.offerSmelting
(Consumer<RecipeJsonProvider> exporter, List<ItemConvertible> inputs, RecipeCategory category, ItemConvertible output, float experience, int cookingTime, String group) protected static void
RecipeProvider.offerSmithingTemplateCopyingRecipe
(Consumer<RecipeJsonProvider> exporter, ItemConvertible template, ItemConvertible resource) protected static void
RecipeProvider.offerSmithingTemplateCopyingRecipe
(Consumer<RecipeJsonProvider> exporter, ItemConvertible template, TagKey<Item> resource) protected static void
RecipeProvider.offerStainedGlassDyeingRecipe
(Consumer<RecipeJsonProvider> exporter, ItemConvertible output, ItemConvertible input) protected static void
RecipeProvider.offerStainedGlassPaneDyeingRecipe
(Consumer<RecipeJsonProvider> exporter, ItemConvertible output, ItemConvertible input) protected static void
RecipeProvider.offerStainedGlassPaneRecipe
(Consumer<RecipeJsonProvider> exporter, ItemConvertible output, ItemConvertible input) protected static void
RecipeProvider.offerStonecuttingRecipe
(Consumer<RecipeJsonProvider> exporter, RecipeCategory category, ItemConvertible output, ItemConvertible input) protected static void
RecipeProvider.offerStonecuttingRecipe
(Consumer<RecipeJsonProvider> exporter, RecipeCategory category, ItemConvertible output, ItemConvertible input, int count) protected static void
RecipeProvider.offerTerracottaDyeingRecipe
(Consumer<RecipeJsonProvider> exporter, ItemConvertible output, ItemConvertible input) protected static void
RecipeProvider.offerWallRecipe
(Consumer<RecipeJsonProvider> exporter, RecipeCategory category, ItemConvertible output, ItemConvertible input) Modifier and TypeMethodDescriptionprotected static void
RecipeProvider.offerBlasting
(Consumer<RecipeJsonProvider> exporter, List<ItemConvertible> inputs, RecipeCategory category, ItemConvertible output, float experience, int cookingTime, String group) private static void
RecipeProvider.offerMultipleOptions
(Consumer<RecipeJsonProvider> exporter, RecipeSerializer<? extends AbstractCookingRecipe> serializer, List<ItemConvertible> inputs, RecipeCategory category, ItemConvertible output, float experience, int cookingTime, String group, String method) protected static void
RecipeProvider.offerSmelting
(Consumer<RecipeJsonProvider> 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, RecipeSerializer<? extends AbstractCookingRecipe> serializer) ShapedRecipeJsonBuilder
(RecipeCategory category, ItemConvertible output, int count) ShapelessRecipeJsonBuilder
(RecipeCategory category, ItemConvertible output, int count) SingleItemRecipeJsonBuilder
(RecipeCategory category, RecipeSerializer<?> serializer, 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
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
class
class
class
class
An item usable by players and other entities.class
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
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
class
class
class
An item for a block that can be vertically attached as well as horizontally.class
class
Modifier and TypeMethodDescriptiondefault void
ItemGroup.Entries.add
(ItemConvertible item) default void
ItemGroup.Entries.add
(ItemConvertible item, ItemGroup.StackVisibility visibility) static Consumer<ItemUsageContext>
HoeItem.createTillAndDropAction
(BlockState result, ItemConvertible droppedItem) Returns a tilling action that sets a block state and drops an item.ModifierConstructorDescriptionItemStack
(ItemConvertible item) ItemStack
(ItemConvertible item, int count) private
ItemStack
(ItemConvertible item, int count, Optional<NbtCompound> nbt) -
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
ModifierConstructorDescriptionBuyForOneEmeraldFactory
(ItemConvertible item, int price, int maxUses, int experience) ProcessItemFactory
(ItemConvertible item, int secondCount, int price, Item sellItem, int sellCount, int maxUses, int experience) ProcessItemFactory
(ItemConvertible item, int secondCount, Item sellItem, int sellCount, int maxUses, int experience) -
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)