Uses of Class
net.minecraft.item.Item
-
Uses of Item in net.minecraft.block
Fields in net.minecraft.block declared as Item Modifier and Type Field Description private @Nullable Item
Block. cachedItem
Fields in net.minecraft.block with type parameters of type Item Modifier and Type Field Description private Map<Item,CauldronBehavior>
AbstractCauldronBlock. behaviorMap
private static Map<Item,DispenserBehavior>
DispenserBlock. BEHAVIORS
private Supplier<Item>
AttachedStemBlock. pickBlockItem
private Supplier<Item>
StemBlock. pickBlockItem
Methods in net.minecraft.block that return Item Modifier and Type Method Description abstract Item
AbstractBlock. asItem()
Item
Block. asItem()
Gets this object in its item form.Methods in net.minecraft.block with parameters of type Item Modifier and Type Method Description static Block
Block. getBlockFromItem(@Nullable Item item)
static @Nullable DyeColor
ShulkerBoxBlock. getColor(Item item)
boolean
EntityShapeContext. isHolding(Item item)
boolean
ShapeContext. isHolding(Item item)
boolean
EntityShapeContext. isWearingOnFeet(Item item)
boolean
ShapeContext. isWearingOnFeet(Item item)
Constructor parameters in net.minecraft.block with type arguments of type Item Constructor Description AbstractCauldronBlock(AbstractBlock.Settings settings, Map<Item,CauldronBehavior> behaviorMap)
AttachedStemBlock(GourdBlock gourdBlock, Supplier<Item> pickBlockItem, AbstractBlock.Settings settings)
LeveledCauldronBlock(AbstractBlock.Settings settings, Predicate<Biome.Precipitation> precipitationPredicate, Map<Item,CauldronBehavior> behaviorMap)
StemBlock(GourdBlock gourdBlock, Supplier<Item> pickBlockItem, AbstractBlock.Settings settings)
-
Uses of Item in net.minecraft.block.cauldron
Fields in net.minecraft.block.cauldron with type parameters of type Item Modifier and Type Field Description static Map<Item,CauldronBehavior>
CauldronBehavior. EMPTY_CAULDRON_BEHAVIOR
static Map<Item,CauldronBehavior>
CauldronBehavior. LAVA_CAULDRON_BEHAVIOR
static Map<Item,CauldronBehavior>
CauldronBehavior. POWDER_SNOW_CAULDRON_BEHAVIOR
static Map<Item,CauldronBehavior>
CauldronBehavior. WATER_CAULDRON_BEHAVIOR
Methods in net.minecraft.block.cauldron that return types with arguments of type Item Modifier and Type Method Description static Object2ObjectOpenHashMap<Item,CauldronBehavior>
CauldronBehavior. createMap()
Method parameters in net.minecraft.block.cauldron with type arguments of type Item Modifier and Type Method Description static void
CauldronBehavior. registerBucketBehavior(Map<Item,CauldronBehavior> behavior)
-
Uses of Item in net.minecraft.block.entity
Fields in net.minecraft.block.entity declared as Item Modifier and Type Field Description private Item
BrewingStandBlockEntity. itemBrewing
Methods in net.minecraft.block.entity that return types with arguments of type Item Modifier and Type Method Description static Map<Item,Integer>
AbstractFurnaceBlockEntity. createFuelTimeMap()
Methods in net.minecraft.block.entity with parameters of type Item Modifier and Type Method Description private static boolean
AbstractFurnaceBlockEntity. isNonFlammableWood(Item item)
Returns whether the provideditem
is in thenon_flammable_wood
tag.Method parameters in net.minecraft.block.entity with type arguments of type Item Modifier and Type Method Description private static void
AbstractFurnaceBlockEntity. addFuel(Map<Item,Integer> map, ItemConvertible item, int fuelTime)
private static void
AbstractFurnaceBlockEntity. addFuel(Map<Item,Integer> fuelTimes, Tag<Item> tag, int fuelTime)
private static void
AbstractFurnaceBlockEntity. addFuel(Map<Item,Integer> fuelTimes, Tag<Item> tag, int fuelTime)
-
Uses of Item in net.minecraft.client.gui.screen
Fields in net.minecraft.client.gui.screen declared as Item Modifier and Type Field Description Item
PresetsScreen.SuperflatPreset. icon
Fields in net.minecraft.client.gui.screen with type parameters of type Item Modifier and Type Field Description protected Comparator<Item>
StatsScreen.ItemStatsListWidget. comparator
protected List<Item>
StatsScreen.ItemStatsListWidget. items
protected List<StatType<Item>>
StatsScreen.ItemStatsListWidget. itemStatTypes
Methods in net.minecraft.client.gui.screen with parameters of type Item Modifier and Type Method Description int
StatsScreen.ItemStatsListWidget.ItemComparator. compare(Item item, Item item2)
protected Text
StatsScreen.ItemStatsListWidget. getText(Item item)
private void
PresetsScreen.SuperflatPresetsListWidget.SuperflatPresetEntry. renderIcon(MatrixStack matrices, int x, int y, Item iconItem)
private void
StatsScreen. renderStatItem(MatrixStack matrices, int x, int y, Item item)
Constructors in net.minecraft.client.gui.screen with parameters of type Item Constructor Description SuperflatPreset(Item icon, Text name, Function<Registry<Biome>,FlatChunkGeneratorConfig> generatorConfigProvider)
-
Uses of Item in net.minecraft.client.gui.screen.ingame
Fields in net.minecraft.client.gui.screen.ingame with type parameters of type Item Modifier and Type Field Description private Map<Identifier,Tag<Item>>
CreativeInventoryScreen. searchResultTags
-
Uses of Item in net.minecraft.client.gui.screen.recipebook
Methods in net.minecraft.client.gui.screen.recipebook that return types with arguments of type Item Modifier and Type Method Description protected abstract Set<Item>
AbstractFurnaceRecipeBookScreen. getAllowedFuels()
protected Set<Item>
BlastFurnaceRecipeBookScreen. getAllowedFuels()
protected Set<Item>
FurnaceRecipeBookScreen. getAllowedFuels()
protected Set<Item>
SmokerRecipeBookScreen. getAllowedFuels()
-
Uses of Item in net.minecraft.client.item
Fields in net.minecraft.client.item with type parameters of type Item Modifier and Type Field Description private static Map<Item,Map<Identifier,ModelPredicateProvider>>
ModelPredicateProviderRegistry. ITEM_SPECIFIC
Methods in net.minecraft.client.item with parameters of type Item Modifier and Type Method Description static @Nullable ModelPredicateProvider
ModelPredicateProviderRegistry. get(Item item, Identifier id)
private static void
ModelPredicateProviderRegistry. register(Item item, Identifier id, ModelPredicateProvider provider)
-
Uses of Item in net.minecraft.client.render.item
Fields in net.minecraft.client.render.item with type parameters of type Item Modifier and Type Field Description private static Set<Item>
ItemRenderer. WITHOUT_MODELS
Methods in net.minecraft.client.render.item with parameters of type Item Modifier and Type Method Description @Nullable BakedModel
ItemModels. getModel(Item item)
private static int
ItemModels. getModelId(Item item)
void
ItemModels. putModel(Item item, ModelIdentifier modelId)
-
Uses of Item in net.minecraft.client.tutorial
Method parameters in net.minecraft.client.tutorial with type arguments of type Item Modifier and Type Method Description static boolean
CraftPlanksTutorialStepHandler. hasCrafted(ClientPlayerEntity player, Tag<Item> tag)
-
Uses of Item in net.minecraft.command.argument
Fields in net.minecraft.command.argument declared as Item Modifier and Type Field Description private Item
ItemPredicateArgumentType.ItemPredicate. item
private Item
ItemStackArgument. item
private Item
ItemStringReader. item
Fields in net.minecraft.command.argument with type parameters of type Item Modifier and Type Field Description private static BiFunction<com.mojang.brigadier.suggestion.SuggestionsBuilder,TagGroup<Item>,CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>>
ItemStringReader. NBT_SUGGESTION_PROVIDER
private BiFunction<com.mojang.brigadier.suggestion.SuggestionsBuilder,TagGroup<Item>,CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>>
ItemStringReader. suggestions
private Tag<Item>
ItemPredicateArgumentType.TagPredicate. tag
Methods in net.minecraft.command.argument that return Item Modifier and Type Method Description Item
ItemStackArgument. getItem()
Item
ItemStringReader. getItem()
Method parameters in net.minecraft.command.argument with type arguments of type Item Modifier and Type Method Description CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
ItemStringReader. getSuggestions(com.mojang.brigadier.suggestion.SuggestionsBuilder builder, TagGroup<Item> tagGroup)
private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
ItemStringReader. suggestAny(com.mojang.brigadier.suggestion.SuggestionsBuilder suggestionsBuilder, TagGroup<Item> tagGroup)
private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
ItemStringReader. suggestItem(com.mojang.brigadier.suggestion.SuggestionsBuilder suggestionsBuilder, TagGroup<Item> tagGroup)
private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
ItemStringReader. suggestTag(com.mojang.brigadier.suggestion.SuggestionsBuilder suggestionsBuilder, TagGroup<Item> tagGroup)
Constructors in net.minecraft.command.argument with parameters of type Item Constructor Description ItemPredicate(Item item, @Nullable NbtCompound nbt)
ItemStackArgument(Item item, @Nullable NbtCompound nbt)
Constructor parameters in net.minecraft.command.argument with type arguments of type Item Constructor Description TagPredicate(Tag<Item> tag, @Nullable NbtCompound nbt)
-
Uses of Item in net.minecraft.data.client
Methods in net.minecraft.data.client with parameters of type Item Modifier and Type Method Description private void
ItemModelGenerator. register(Item item, String suffix, Model model)
private void
ItemModelGenerator. register(Item item, Model model)
private void
ItemModelGenerator. register(Item item, Item texture, Model model)
-
Uses of Item in net.minecraft.data.client.model
Fields in net.minecraft.data.client.model with type parameters of type Item Modifier and Type Field Description private Consumer<Item>
BlockStateModelGenerator. simpleItemModelExemptionCollector
Methods in net.minecraft.data.client.model with parameters of type Item Modifier and Type Method Description static Identifier
Texture. getId(Item item)
static Identifier
ModelIds. getItemModelId(Item item)
static Identifier
ModelIds. getItemSubModelId(Item item, String suffix)
static Identifier
Texture. getSubId(Item item, String suffix)
static Texture
Texture. layer0(Item item)
static Texture
Texture. particle(Item item)
private void
BlockStateModelGenerator. registerBuiltinWithParticle(Block block, Item particleSource)
private void
BlockStateModelGenerator. registerItemModel(Item item)
private void
BlockStateModelGenerator. registerParentedItemModel(Item item, Identifier parentModelId)
-
Uses of Item in net.minecraft.data.server
Fields in net.minecraft.data.server declared as Item Modifier and Type Field Description private static Item[]
HusbandryTabAdvancementGenerator. FISH_BUCKET_ITEMS
private static Item[]
HusbandryTabAdvancementGenerator. FISH_ITEMS
private static Item[]
HusbandryTabAdvancementGenerator. FOOD_ITEMS
Fields in net.minecraft.data.server with type parameters of type Item Modifier and Type Field Description private static Set<Item>
BlockLootTableGenerator. EXPLOSION_IMMUNE
Methods in net.minecraft.data.server with parameters of type Item Modifier and Type Method Description private static LootTable.Builder
BlockLootTableGenerator. attachedCropStemDrops(Block stem, Item drop)
private static LootTable.Builder
BlockLootTableGenerator. cropDrops(Block crop, Item product, Item seeds, LootCondition.Builder condition)
private static LootTable.Builder
BlockLootTableGenerator. cropStemDrops(Block stem, Item drop)
private static void
RecipesProvider. offerNetheriteUpgradeRecipe(Consumer<RecipeJsonProvider> exporter, Item outputItem, Item inputItem)
private static LootTable.Builder
BlockLootTableGenerator. oreDrops(Block dropWithSilkTouch, Item drop)
Method parameters in net.minecraft.data.server with type arguments of type Item Modifier and Type Method Description private static InventoryChangedCriterion.Conditions
RecipesProvider. conditionsFromTag(Tag<Item> tag)
private static void
RecipesProvider. offerPlanksRecipe(Consumer<RecipeJsonProvider> exporter, ItemConvertible outputItem, Tag<Item> inputItem)
private static void
RecipesProvider. offerPlanksRecipe2(Consumer<RecipeJsonProvider> exporter, ItemConvertible outputItem, Tag<Item> inputItem)
-
Uses of Item in net.minecraft.data.server.recipe
Fields in net.minecraft.data.server.recipe declared as Item Modifier and Type Field Description private Item
ShapedRecipeJsonFactory. output
private Item
ShapedRecipeJsonFactory.ShapedRecipeJsonProvider. output
private Item
ShapelessRecipeJsonFactory. output
private Item
ShapelessRecipeJsonFactory.ShapelessRecipeJsonProvider. output
private Item
SingleItemRecipeJsonFactory. output
private Item
SingleItemRecipeJsonFactory.SingleItemRecipeJsonProvider. output
private Item
CookingRecipeJsonFactory.CookingRecipeJsonProvider. result
private Item
CookingRecipeJsonFactory. result
private Item
SmithingRecipeJsonFactory. result
private Item
SmithingRecipeJsonFactory.SmithingRecipeJsonProvider. result
Methods in net.minecraft.data.server.recipe with parameters of type Item Modifier and Type Method Description static SmithingRecipeJsonFactory
SmithingRecipeJsonFactory. create(Ingredient base, Ingredient addition, Item result)
Method parameters in net.minecraft.data.server.recipe with type arguments of type Item Modifier and Type Method Description ShapedRecipeJsonFactory
ShapedRecipeJsonFactory. input(Character c, Tag<Item> tag)
ShapelessRecipeJsonFactory
ShapelessRecipeJsonFactory. input(Tag<Item> tag)
-
Uses of Item in net.minecraft.enchantment
Methods in net.minecraft.enchantment with parameters of type Item Modifier and Type Method Description abstract boolean
EnchantmentTarget. isAcceptableItem(Item item)
-
Uses of Item in net.minecraft.entity
Methods in net.minecraft.entity with parameters of type Item Modifier and Type Method Description boolean
LivingEntity. isHolding(Item item)
Checks if this entity is holding a certain item. -
Uses of Item in net.minecraft.entity.ai.brain.task
Fields in net.minecraft.entity.ai.brain.task with type parameters of type Item Modifier and Type Field Description private static List<Item>
FarmerWorkTask. COMPOSTABLES
private Set<Item>
GatherItemsVillagerTask. items
Methods in net.minecraft.entity.ai.brain.task that return types with arguments of type Item Modifier and Type Method Description private static Set<Item>
GatherItemsVillagerTask. getGatherableItems(VillagerEntity villagerEntity, VillagerEntity villagerEntity2)
Method parameters in net.minecraft.entity.ai.brain.task with type arguments of type Item Modifier and Type Method Description private static void
GatherItemsVillagerTask. giveHalfOfStack(VillagerEntity villager, Set<Item> validItems, LivingEntity target)
-
Uses of Item in net.minecraft.entity.mob
Fields in net.minecraft.entity.mob declared as Item Modifier and Type Field Description static Item
PiglinBrain. BARTERING_ITEM
Methods in net.minecraft.entity.mob that return Item Modifier and Type Method Description static @Nullable Item
MobEntity. getEquipmentForSlot(EquipmentSlot equipmentSlot, int equipmentLevel)
-
Uses of Item in net.minecraft.entity.passive
Fields in net.minecraft.entity.passive declared as Item Modifier and Type Field Description private static Item
ParrotEntity. COOKIE
Fields in net.minecraft.entity.passive with type parameters of type Item Modifier and Type Field Description private static Set<Item>
VillagerEntity. GATHERABLE_ITEMS
static Map<Item,Integer>
VillagerEntity. ITEM_FOOD_VALUES
private static Set<Item>
ParrotEntity. TAMING_INGREDIENTS
-
Uses of Item in net.minecraft.entity.player
Fields in net.minecraft.entity.player with type parameters of type Item Modifier and Type Field Description private Map<Item,ItemCooldownManager.Entry>
ItemCooldownManager. entries
Methods in net.minecraft.entity.player with parameters of type Item Modifier and Type Method Description void
HungerManager. eat(Item item, ItemStack stack)
float
ItemCooldownManager. getCooldownProgress(Item item, float partialTicks)
boolean
ItemCooldownManager. isCoolingDown(Item item)
protected void
ItemCooldownManager. onCooldownUpdate(Item item)
protected void
ItemCooldownManager. onCooldownUpdate(Item item, int duration)
void
ItemCooldownManager. remove(Item item)
void
ItemCooldownManager. set(Item item, int duration)
Method parameters in net.minecraft.entity.player with type arguments of type Item Modifier and Type Method Description boolean
PlayerInventory. contains(Tag<Item> tag)
-
Uses of Item in net.minecraft.entity.projectile
Methods in net.minecraft.entity.projectile with parameters of type Item Modifier and Type Method Description static Hand
ProjectileUtil. getHandPossiblyHolding(LivingEntity entity, Item item)
-
Uses of Item in net.minecraft.entity.projectile.thrown
Methods in net.minecraft.entity.projectile.thrown that return Item Modifier and Type Method Description protected Item
EggEntity. getDefaultItem()
protected Item
EnderPearlEntity. getDefaultItem()
protected Item
ExperienceBottleEntity. getDefaultItem()
protected Item
PotionEntity. getDefaultItem()
protected Item
SnowballEntity. getDefaultItem()
protected abstract Item
ThrownItemEntity. getDefaultItem()
-
Uses of Item in net.minecraft.entity.vehicle
Methods in net.minecraft.entity.vehicle that return Item Modifier and Type Method Description Item
BoatEntity. asItem()
-
Uses of Item in net.minecraft.fluid
Methods in net.minecraft.fluid that return Item Modifier and Type Method Description Item
EmptyFluid. getBucketItem()
abstract Item
Fluid. getBucketItem()
Item
LavaFluid. getBucketItem()
Item
WaterFluid. getBucketItem()
-
Uses of Item in net.minecraft.inventory
Methods in net.minecraft.inventory with parameters of type Item Modifier and Type Method Description default int
Inventory. count(Item item)
Returns the number of times the specified item occurs in this inventory across all stored stacks.ItemStack
SimpleInventory. removeItem(Item item, int count)
Searches this inventory for the specified item and removes the given amount from this inventory.Method parameters in net.minecraft.inventory with type arguments of type Item Modifier and Type Method Description default boolean
Inventory. containsAny(Set<Item> items)
Determines whether this inventory contains any of the given candidate items. -
Uses of Item in net.minecraft.item
Fields in net.minecraft.item with type parameters of type Item Modifier and Type Field Description static Map<Block,Item>
Item. BLOCK_ITEMS
Methods in net.minecraft.item that return Item Modifier and Type Method Description Item
Item. asItem()
Gets this object in its item form.Item
ItemConvertible. asItem()
Gets this object in its item form.static Item
Item. byRawId(int id)
static Item
Item. fromBlock(Block block)
Deprecated.Item
ItemStack. getItem()
@Nullable Item
Item. getRecipeRemainder()
Gets the remainder item that should be left behind when this item is used as a crafting ingredient.private static Item
Items. register(String id, Item item)
private static Item
Items. register(Block block)
protected static Item
Items. register(Block block, Item item)
private static Item
Items. register(Block block, ItemGroup group)
private static Item
Items. register(Block block, ItemGroup itemGroup, Block[] block2)
private static Item
Items. register(BlockItem item)
private static Item
Items. register(Identifier id, Item item)
Methods in net.minecraft.item with parameters of type Item Modifier and Type Method Description void
BlockItem. appendBlocks(Map<Block,Item> map, Item item)
void
WallStandingBlockItem. appendBlocks(Map<Block,Item> map, Item item)
static int
Item. getRawId(Item item)
static boolean
CrossbowItem. hasProjectile(ItemStack crossbow, Item projectile)
boolean
ItemStack. isOf(Item item)
Item.Settings
Item.Settings. recipeRemainder(Item recipeRemainder)
private static Item
Items. register(String id, Item item)
protected static Item
Items. register(Block block, Item item)
private static Item
Items. register(Identifier id, Item item)
Method parameters in net.minecraft.item with type arguments of type Item Modifier and Type Method Description void
BlockItem. appendBlocks(Map<Block,Item> map, Item item)
void
WallStandingBlockItem. appendBlocks(Map<Block,Item> map, Item item)
boolean
ItemStack. isIn(Tag<Item> tag)
-
Uses of Item in net.minecraft.loot.entry
Fields in net.minecraft.loot.entry declared as Item Modifier and Type Field Description private Item
ItemEntry. item
Fields in net.minecraft.loot.entry with type parameters of type Item Modifier and Type Field Description private Tag<Item>
TagEntry. name
Method parameters in net.minecraft.loot.entry with type arguments of type Item Modifier and Type Method Description static LeafEntry.Builder<?>
TagEntry. builder(Tag<Item> name)
static LeafEntry.Builder<?>
TagEntry. method_35517(Tag<Item> tag)
Constructors in net.minecraft.loot.entry with parameters of type Item Constructor Description ItemEntry(Item item, int weight, int quality, LootCondition[] conditions, LootFunction[] functions)
Constructor parameters in net.minecraft.loot.entry with type arguments of type Item Constructor Description TagEntry(Tag<Item> name, boolean expand, int weight, int quality, LootCondition[] conditions, LootFunction[] functions)
-
Uses of Item in net.minecraft.network.packet.s2c.play
Fields in net.minecraft.network.packet.s2c.play declared as Item Modifier and Type Field Description private Item
CooldownUpdateS2CPacket. item
Methods in net.minecraft.network.packet.s2c.play that return Item Modifier and Type Method Description Item
CooldownUpdateS2CPacket. getItem()
Constructors in net.minecraft.network.packet.s2c.play with parameters of type Item Constructor Description CooldownUpdateS2CPacket(Item item, int cooldown)
-
Uses of Item in net.minecraft.predicate.item
Fields in net.minecraft.predicate.item declared as Item Modifier and Type Field Description private @Nullable Item
ItemPredicate.Builder. item
private @Nullable Item
ItemPredicate. item
Fields in net.minecraft.predicate.item with type parameters of type Item Modifier and Type Field Description private @Nullable Tag<Item>
ItemPredicate.Builder. tag
private @Nullable Tag<Item>
ItemPredicate. tag
Method parameters in net.minecraft.predicate.item with type arguments of type Item Modifier and Type Method Description ItemPredicate.Builder
ItemPredicate.Builder. tag(Tag<Item> tag)
Constructors in net.minecraft.predicate.item with parameters of type Item Constructor Description ItemPredicate(@Nullable Tag<Item> tag, @Nullable Item item, NumberRange.IntRange count, NumberRange.IntRange durability, EnchantmentPredicate[] enchantments, EnchantmentPredicate[] storedEnchantments, @Nullable Potion potion, NbtPredicate nbt)
Constructor parameters in net.minecraft.predicate.item with type arguments of type Item Constructor Description ItemPredicate(@Nullable Tag<Item> tag, @Nullable Item item, NumberRange.IntRange count, NumberRange.IntRange durability, EnchantmentPredicate[] enchantments, EnchantmentPredicate[] storedEnchantments, @Nullable Potion potion, NbtPredicate nbt)
-
Uses of Item in net.minecraft.recipe
Fields in net.minecraft.recipe with type parameters of type Item Modifier and Type Field Description private static List<BrewingRecipeRegistry.Recipe<Item>>
BrewingRecipeRegistry. ITEM_RECIPES
private Tag<Item>
Ingredient.TagEntry. tag
private static Map<Item,FireworkItem.Type>
FireworkStarRecipe. TYPE_MODIFIER_MAP
Methods in net.minecraft.recipe that return Item Modifier and Type Method Description static Item
ShapedRecipe. getItemStack(JsonObject json)
Methods in net.minecraft.recipe with parameters of type Item Modifier and Type Method Description private static void
BrewingRecipeRegistry. registerItemRecipe(Item input, Item ingredient, Item output)
private static void
BrewingRecipeRegistry. registerPotionRecipe(Potion input, Item item, Potion output)
private static void
BrewingRecipeRegistry. registerPotionType(Item item)
Method parameters in net.minecraft.recipe with type arguments of type Item Modifier and Type Method Description static Ingredient
Ingredient. fromTag(Tag<Item> tag)
Constructor parameters in net.minecraft.recipe with type arguments of type Item Constructor Description TagEntry(Tag<Item> tag)
-
Uses of Item in net.minecraft.server.network
Methods in net.minecraft.server.network with parameters of type Item Modifier and Type Method Description protected void
ServerItemCooldownManager. onCooldownUpdate(Item item)
protected void
ServerItemCooldownManager. onCooldownUpdate(Item item, int duration)
-
Uses of Item in net.minecraft.stat
-
Uses of Item in net.minecraft.tag
Methods in net.minecraft.tag that return types with arguments of type Item Modifier and Type Method Description static TagGroup<Item>
ItemTags. getTagGroup()
private static Tag.Identified<Item>
ItemTags. register(String id)
-
Uses of Item in net.minecraft.test
Methods in net.minecraft.test with parameters of type Item Modifier and Type Method Description void
StartupParameter. method_35950(long long2, BlockPos blockPos, Item item)
ItemEntity
StartupParameter. method_35968(Item item, float float2, float float3, float float4)
void
StartupParameter. method_35969(Item item, BlockPos blockPos, double double2)
void
StartupParameter. method_35970(Item item, BlockPos blockPos, double double2, int int2)
void
StartupParameter. method_35983(BlockPos blockPos, Item item)
-
Uses of Item in net.minecraft.text
Fields in net.minecraft.text declared as Item Modifier and Type Field Description private Item
HoverEvent.ItemStackContent. item
Constructors in net.minecraft.text with parameters of type Item Constructor Description ItemStackContent(Item item, int count, @Nullable NbtCompound nbt)
-
Uses of Item in net.minecraft.util
Methods in net.minecraft.util that return Item Modifier and Type Method Description static Item
JsonHelper. asItem(JsonElement element, String name)
static Item
JsonHelper. getItem(JsonObject object, String key)
static Item
JsonHelper. getItem(JsonObject object, String key, Item defaultItem)
Methods in net.minecraft.util with parameters of type Item Modifier and Type Method Description static Item
JsonHelper. getItem(JsonObject object, String key, Item defaultItem)
-
Uses of Item in net.minecraft.util.registry
Fields in net.minecraft.util.registry with type parameters of type Item Modifier and Type Field Description static DefaultedRegistry<Item>
Registry. ITEM
static RegistryKey<Registry<Item>>
Registry. ITEM_KEY
-
Uses of Item in net.minecraft.village
Fields in net.minecraft.village declared as Item Modifier and Type Field Description private Item
TradeOffers.BuyForOneEmeraldFactory. buy
private Item
TradeOffers.SellPotionHoldingItemFactory. secondBuy
private Item
TradeOffers.SellDyedArmorFactory. sell
Fields in net.minecraft.village with type parameters of type Item Modifier and Type Field Description private ImmutableSet<Item>
VillagerProfession. gatherableItems
private Map<VillagerType,Item>
TradeOffers.TypeAwareBuyForOneEmeraldFactory. map
Methods in net.minecraft.village that return types with arguments of type Item Modifier and Type Method Description ImmutableSet<Item>
VillagerProfession. getGatherableItems()
Method parameters in net.minecraft.village with type arguments of type Item Modifier and Type Method Description (package private) static VillagerProfession
VillagerProfession. register(String id, PointOfInterestType workStation, ImmutableSet<Item> gatherableItems, ImmutableSet<Block> secondaryJobSites, @Nullable SoundEvent workSound)
Constructors in net.minecraft.village with parameters of type Item Constructor Description 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)
SellDyedArmorFactory(Item item, int price)
SellDyedArmorFactory(Item item, int price, int maxUses, int experience)
SellEnchantedToolFactory(Item item, int basePrice, int maxUses, int experience)
SellEnchantedToolFactory(Item item, int basePrice, int maxUses, int experience, float multiplier)
SellItemFactory(Item item, int price, int count, int experience)
SellItemFactory(Item item, int price, int count, int maxUses, int experience)
SellPotionHoldingItemFactory(Item arrow, int secondCount, Item tippedArrow, int sellCount, int price, int maxUses, int experience)
Constructor parameters in net.minecraft.village with type arguments of type Item Constructor Description TypeAwareBuyForOneEmeraldFactory(int count, int maxUses, int experience, Map<VillagerType,Item> map)
VillagerProfession(String id, PointOfInterestType workStation, ImmutableSet<Item> gatherableItems, ImmutableSet<Block> secondaryJobSites, @Nullable SoundEvent workSound)
Block.asItem()