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
class
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
class
class
class
class
class
class
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
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
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()
Modifier and TypeMethodDescriptionstatic 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
Modifier and TypeFieldDescriptionprivate static final ImmutableList<ItemConvertible>
RecipeProvider.COAL_ORES
private static final ImmutableList<ItemConvertible>
RecipeProvider.COPPER_ORES
private static final ImmutableList<ItemConvertible>
RecipeProvider.DIAMOND_ORES
private static final ImmutableList<ItemConvertible>
RecipeProvider.EMERALD_ORES
private static final ImmutableList<ItemConvertible>
RecipeProvider.GOLD_ORES
private static final ImmutableList<ItemConvertible>
RecipeProvider.IRON_ORES
private static final ImmutableList<ItemConvertible>
RecipeProvider.LAPIS_ORES
private static final ImmutableList<ItemConvertible>
RecipeProvider.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 TypeMethodDescriptionvoid
BlockLootTableGenerator.addDrop
(Block block, ItemConvertible drop) private static <T extends LootConditionConsumingBuilder<T>>
TBlockLootTableGenerator.addSurvivesExplosionCondition
(ItemConvertible drop, LootConditionConsumingBuilder<T> builder) private static <T extends LootFunctionConsumingBuilder<T>>
TBlockLootTableGenerator.applyExplosionDecay
(ItemConvertible drop, LootFunctionConsumingBuilder<T> builder) private static InventoryChangedCriterion.Conditions
RecipeProvider.conditionsFromItem
(ItemConvertible item) private static InventoryChangedCriterion.Conditions
RecipeProvider.conditionsFromItem
(NumberRange.IntRange count, ItemConvertible item) private static String
RecipeProvider.convertBetween
(ItemConvertible to, ItemConvertible from) static ShapedRecipeJsonBuilder
RecipeProvider.createChiseledBlockRecipe
(ItemConvertible output, Ingredient input) static CraftingRecipeJsonBuilder
RecipeProvider.createCondensingRecipe
(ItemConvertible output, Ingredient input) static ShapedRecipeJsonBuilder
RecipeProvider.createCutCopperRecipe
(ItemConvertible output, Ingredient input) private 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 LootTable.Builder
EntityLootTableGenerator.createForSheep
(ItemConvertible item) private static CraftingRecipeJsonBuilder
RecipeProvider.createPressurePlateRecipe
(ItemConvertible output, Ingredient input) private static CraftingRecipeJsonBuilder
RecipeProvider.createSignRecipe
(ItemConvertible output, Ingredient input) private static CraftingRecipeJsonBuilder
RecipeProvider.createSlabRecipe
(ItemConvertible output, Ingredient input) private static CraftingRecipeJsonBuilder
RecipeProvider.createStairsRecipe
(ItemConvertible output, Ingredient input) private static CraftingRecipeJsonBuilder
RecipeProvider.createTransmutationRecipe
(ItemConvertible output, Ingredient input) private static CraftingRecipeJsonBuilder
RecipeProvider.createTrapdoorRecipe
(ItemConvertible output, Ingredient input) private static LootTable.Builder
BlockLootTableGenerator.drops
(Block dropWithSilkTouch, ItemConvertible drop) private static LootTable.Builder
BlockLootTableGenerator.drops
(Block dropWithSilkTouch, ItemConvertible drop, LootNumberProvider count) private static LootTable.Builder
BlockLootTableGenerator.drops
(ItemConvertible drop) private static LootTable.Builder
BlockLootTableGenerator.drops
(ItemConvertible drop, LootNumberProvider count) private static LootTable.Builder
BlockLootTableGenerator.dropsWithShears
(ItemConvertible drop) private static LootTable.Builder
BlockLootTableGenerator.dropsWithSilkTouch
(ItemConvertible drop) private static String
RecipeProvider.getBlastingItemPath
(ItemConvertible item) private static String
RecipeProvider.getItemPath
(ItemConvertible item) private static String
RecipeProvider.getRecipeName
(ItemConvertible item) private static String
RecipeProvider.getSmeltingItemPath
(ItemConvertible item) static CraftingRecipeJsonBuilder
RecipeProvider.getWallRecipe
(ItemConvertible output, Ingredient input) private static String
RecipeProvider.hasItem
(ItemConvertible item) private static LootTable.Builder
BlockLootTableGenerator.mushroomBlockDrops
(Block dropWithSilkTouch, ItemConvertible drop) private static void
RecipeProvider.offerBannerRecipe
(Consumer<RecipeJsonProvider> exporter, ItemConvertible output, ItemConvertible input) private static void
RecipeProvider.offerBarkBlockRecipe
(Consumer<RecipeJsonProvider> exporter, ItemConvertible output, ItemConvertible input) private static void
RecipeProvider.offerBedDyeingRecipe
(Consumer<RecipeJsonProvider> exporter, ItemConvertible output, ItemConvertible input) private static void
RecipeProvider.offerBedRecipe
(Consumer<RecipeJsonProvider> exporter, ItemConvertible output, ItemConvertible input) private static void
RecipeProvider.offerBlasting
(Consumer<RecipeJsonProvider> exporter, List<ItemConvertible> inputs, ItemConvertible output, float experience, int cookingTime, String group) private static void
RecipeProvider.offerBoatRecipe
(Consumer<RecipeJsonProvider> exporter, ItemConvertible output, ItemConvertible input) static void
RecipeProvider.offerCandleDyeingRecipe
(Consumer<RecipeJsonProvider> exporter, ItemConvertible output, ItemConvertible input) private static void
RecipeProvider.offerCarpetDyeingRecipe
(Consumer<RecipeJsonProvider> exporter, ItemConvertible output, ItemConvertible input) private static void
RecipeProvider.offerCarpetRecipe
(Consumer<RecipeJsonProvider> exporter, ItemConvertible output, ItemConvertible input) private static void
RecipeProvider.offerChestBoatRecipe
(Consumer<RecipeJsonProvider> exporter, ItemConvertible output, ItemConvertible input) static void
RecipeProvider.offerChiseledBlockRecipe
(Consumer<RecipeJsonProvider> exporter, ItemConvertible output, ItemConvertible input) private static void
RecipeProvider.offerConcretePowderDyeingRecipe
(Consumer<RecipeJsonProvider> exporter, ItemConvertible output, ItemConvertible input) private static void
RecipeProvider.offerCookingRecipe
(Consumer<RecipeJsonProvider> exporter, String cooker, CookingRecipeSerializer<?> serializer, int cookingTime, ItemConvertible input, ItemConvertible output, float experience) 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.static void
RecipeProvider.offerCutCopperRecipe
(Consumer<RecipeJsonProvider> exporter, ItemConvertible output, ItemConvertible input) private static void
RecipeProvider.offerMultipleOptions
(Consumer<RecipeJsonProvider> exporter, CookingRecipeSerializer<?> serializer, List<ItemConvertible> inputs, ItemConvertible output, float experience, int cookingTime, String group, String baseIdString) private static void
RecipeProvider.offerPlanksRecipe
(Consumer<RecipeJsonProvider> exporter, ItemConvertible output, TagKey<Item> input) private static void
RecipeProvider.offerPlanksRecipe2
(Consumer<RecipeJsonProvider> exporter, ItemConvertible output, TagKey<Item> input) static void
RecipeProvider.offerPolishedStoneRecipe
(Consumer<RecipeJsonProvider> exporter, ItemConvertible output, ItemConvertible input) private static void
RecipeProvider.offerPressurePlateRecipe
(Consumer<RecipeJsonProvider> exporter, ItemConvertible output, ItemConvertible input) private static void
RecipeProvider.offerReversibleCompactingRecipes
(Consumer<RecipeJsonProvider> exporter, ItemConvertible input, ItemConvertible compacted) Offers two recipes to convert between a normal and compacted form of an item.private static void
RecipeProvider.offerReversibleCompactingRecipes
(Consumer<RecipeJsonProvider> exporter, ItemConvertible input, ItemConvertible compacted, String compactingRecipeName, @Nullable String compactingRecipeGroup, String reverseRecipeName, @Nullable String reverseRecipeGroup) private static void
RecipeProvider.offerReversibleCompactingRecipesWithCompactingRecipeGroup
(Consumer<RecipeJsonProvider> exporter, ItemConvertible input, ItemConvertible compacted, String compactingRecipeName, String compactingRecipeGroup) private static void
RecipeProvider.offerReversibleCompactingRecipesWithReverseRecipeGroup
(Consumer<RecipeJsonProvider> exporter, ItemConvertible input, ItemConvertible compacted, String reverseRecipeName, String reverseRecipeGroup) private static void
RecipeProvider.offerShapelessRecipe
(Consumer<RecipeJsonProvider> exporter, ItemConvertible output, ItemConvertible input, @Nullable String group, int outputCount) private static void
RecipeProvider.offerSingleOutputShapelessRecipe
(Consumer<RecipeJsonProvider> exporter, ItemConvertible output, ItemConvertible input, @Nullable String group) private static void
RecipeProvider.offerSlabRecipe
(Consumer<RecipeJsonProvider> exporter, ItemConvertible output, ItemConvertible input) private static void
RecipeProvider.offerSmelting
(Consumer<RecipeJsonProvider> exporter, List<ItemConvertible> inputs, ItemConvertible output, float experience, int cookingTime, String group) private static void
RecipeProvider.offerStainedGlassDyeingRecipe
(Consumer<RecipeJsonProvider> exporter, ItemConvertible output, ItemConvertible input) private static void
RecipeProvider.offerStainedGlassPaneDyeingRecipe
(Consumer<RecipeJsonProvider> exporter, ItemConvertible output, ItemConvertible input) private static void
RecipeProvider.offerStainedGlassPaneRecipe
(Consumer<RecipeJsonProvider> exporter, ItemConvertible output, ItemConvertible input) private static void
RecipeProvider.offerStonecuttingRecipe
(Consumer<RecipeJsonProvider> exporter, ItemConvertible output, ItemConvertible input) private static void
RecipeProvider.offerStonecuttingRecipe
(Consumer<RecipeJsonProvider> exporter, ItemConvertible output, ItemConvertible input, int count) private static void
RecipeProvider.offerTerracottaDyeingRecipe
(Consumer<RecipeJsonProvider> exporter, ItemConvertible output, ItemConvertible input) static void
RecipeProvider.offerWallRecipe
(Consumer<RecipeJsonProvider> exporter, ItemConvertible output, ItemConvertible input) private static void
RecipeProvider.offerWoolDyeingRecipe
(Consumer<RecipeJsonProvider> exporter, ItemConvertible output, ItemConvertible input) private static LootTable.Builder
BlockLootTableGenerator.pottedPlantDrops
(ItemConvertible plant) Modifier and TypeMethodDescriptionprivate static void
RecipeProvider.offerBlasting
(Consumer<RecipeJsonProvider> exporter, List<ItemConvertible> inputs, ItemConvertible output, float experience, int cookingTime, String group) private static void
RecipeProvider.offerMultipleOptions
(Consumer<RecipeJsonProvider> exporter, CookingRecipeSerializer<?> serializer, List<ItemConvertible> inputs, ItemConvertible output, float experience, int cookingTime, String group, String baseIdString) private static void
RecipeProvider.offerSmelting
(Consumer<RecipeJsonProvider> exporter, List<ItemConvertible> inputs, ItemConvertible output, float experience, int cookingTime, String group) -
Uses of ItemConvertible in net.minecraft.data.server.recipe
Modifier and TypeMethodDescriptionstatic CookingRecipeJsonBuilder
CookingRecipeJsonBuilder.create
(Ingredient result, ItemConvertible ingredient, float experience, int cookingTime) static CookingRecipeJsonBuilder
CookingRecipeJsonBuilder.create
(Ingredient ingredient, ItemConvertible result, float experience, int cookingTime, CookingRecipeSerializer<?> serializer) static ShapedRecipeJsonBuilder
ShapedRecipeJsonBuilder.create
(ItemConvertible output) static ShapedRecipeJsonBuilder
ShapedRecipeJsonBuilder.create
(ItemConvertible output, int outputCount) static ShapelessRecipeJsonBuilder
ShapelessRecipeJsonBuilder.create
(ItemConvertible output) static ShapelessRecipeJsonBuilder
ShapelessRecipeJsonBuilder.create
(ItemConvertible output, int outputCount) static CookingRecipeJsonBuilder
CookingRecipeJsonBuilder.createBlasting
(Ingredient ingredient, ItemConvertible result, float experience, int cookingTime) static CookingRecipeJsonBuilder
CookingRecipeJsonBuilder.createSmelting
(Ingredient ingredient, ItemConvertible result, float experience, int cookingTime) static CookingRecipeJsonBuilder
CookingRecipeJsonBuilder.createSmoking
(Ingredient result, ItemConvertible ingredient, float experience, int cookingTime) static SingleItemRecipeJsonBuilder
SingleItemRecipeJsonBuilder.createStonecutting
(Ingredient input, ItemConvertible output) static SingleItemRecipeJsonBuilder
SingleItemRecipeJsonBuilder.createStonecutting
(Ingredient input, ItemConvertible output, int outputCount) static Identifier
CraftingRecipeJsonBuilder.getItemId
(ItemConvertible item) ShapedRecipeJsonBuilder.input
(Character c, ItemConvertible itemProvider) ShapelessRecipeJsonBuilder.input
(ItemConvertible itemProvider) ShapelessRecipeJsonBuilder.input
(ItemConvertible itemProvider, int size) ModifierConstructorDescriptionprivate
CookingRecipeJsonBuilder
(ItemConvertible output, Ingredient input, float experience, int cookingTime, CookingRecipeSerializer<?> serializer) ShapedRecipeJsonBuilder
(ItemConvertible output, int outputCount) ShapelessRecipeJsonBuilder
(ItemConvertible output, int outputCount) SingleItemRecipeJsonBuilder
(RecipeSerializer<?> serializer, Ingredient input, ItemConvertible output, int outputCount) -
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
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
Modifier and TypeMethodDescriptionstatic 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 RegistryEntry<FlatLevelGeneratorPreset>
FlatLevelGeneratorPresets.Registrar.createAndRegister
(RegistryKey<FlatLevelGeneratorPreset> registryKey, ItemConvertible icon, RegistryKey<Biome> biome, Set<RegistryKey<StructureSet>> structureSets, boolean hasFeatures, boolean hasLakes, FlatChunkGeneratorLayer[] layers)