Uses of Class
net.minecraft.item.Item
-
-
Uses of Item in net.minecraft.advancements.criterion
Fields in net.minecraft.advancements.criterion declared as Item Modifier and Type Field Description private Item
ItemPredicate.Builder. item
private Item
ItemPredicate. item
Fields in net.minecraft.advancements.criterion with type parameters of type Item Modifier and Type Field Description private ITag<Item>
ItemPredicate.Builder. tag
private ITag<Item>
ItemPredicate. tag
Method parameters in net.minecraft.advancements.criterion with type arguments of type Item Modifier and Type Method Description ItemPredicate.Builder
ItemPredicate.Builder. of(ITag<Item> p_200307_1_)
Constructors in net.minecraft.advancements.criterion with parameters of type Item Constructor Description ItemPredicate(ITag<Item> p_i225740_1_, Item p_i225740_2_, MinMaxBounds.IntBound p_i225740_3_, MinMaxBounds.IntBound p_i225740_4_, EnchantmentPredicate[] p_i225740_5_, EnchantmentPredicate[] p_i225740_6_, Potion p_i225740_7_, NBTPredicate p_i225740_8_)
Constructor parameters in net.minecraft.advancements.criterion with type arguments of type Item Constructor Description ItemPredicate(ITag<Item> p_i225740_1_, Item p_i225740_2_, MinMaxBounds.IntBound p_i225740_3_, MinMaxBounds.IntBound p_i225740_4_, EnchantmentPredicate[] p_i225740_5_, EnchantmentPredicate[] p_i225740_6_, Potion p_i225740_7_, NBTPredicate p_i225740_8_)
-
Uses of Item in net.minecraft.block
Fields in net.minecraft.block declared as Item Modifier and Type Field Description private Item
Block. item
Fields in net.minecraft.block with type parameters of type Item Modifier and Type Field Description private static java.util.Map<Item,IDispenseItemBehavior>
DispenserBlock. DISPENSER_REGISTRY
Methods in net.minecraft.block that return Item Modifier and Type Method Description abstract Item
AbstractBlock. asItem()
Item
Block. asItem()
protected Item
AttachedStemBlock. getSeedItem()
protected Item
StemBlock. getSeedItem()
Methods in net.minecraft.block with parameters of type Item Modifier and Type Method Description static Block
Block. byItem(Item p_149634_0_)
static DyeColor
ShulkerBoxBlock. getColorFromItem(Item p_190955_0_)
-
Uses of Item in net.minecraft.client.gui.recipebook
Fields in net.minecraft.client.gui.recipebook declared as Item Modifier and Type Field Description private Item
AbstractRecipeBookGui. fuel
Fields in net.minecraft.client.gui.recipebook with type parameters of type Item Modifier and Type Field Description private java.util.Set<Item>
AbstractRecipeBookGui. fuels
private java.util.Iterator<Item>
AbstractRecipeBookGui. iterator
Methods in net.minecraft.client.gui.recipebook that return Item Modifier and Type Method Description private Item
AbstractRecipeBookGui. getFuel()
Methods in net.minecraft.client.gui.recipebook that return types with arguments of type Item Modifier and Type Method Description protected abstract java.util.Set<Item>
AbstractRecipeBookGui. getFuelItems()
protected java.util.Set<Item>
BlastFurnaceRecipeGui. getFuelItems()
protected java.util.Set<Item>
FurnaceRecipeGui. getFuelItems()
protected java.util.Set<Item>
SmokerRecipeGui. getFuelItems()
-
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
FlatPresetsScreen.LayerItem. icon
Fields in net.minecraft.client.gui.screen with type parameters of type Item Modifier and Type Field Description protected java.util.List<StatType<Item>>
StatsScreen.StatsList. itemColumns
protected java.util.Comparator<Item>
StatsScreen.StatsList. itemStatSorter
protected java.util.List<Item>
StatsScreen.StatsList. statItemList
Methods in net.minecraft.client.gui.screen with parameters of type Item Modifier and Type Method Description private void
FlatPresetsScreen.SlotList.PresetEntry. blitSlot(MatrixStack p_238647_1_, int p_238647_2_, int p_238647_3_, Item p_238647_4_)
private void
StatsScreen. blitSlot(MatrixStack p_238667_1_, int p_238667_2_, int p_238667_3_, Item p_238667_4_)
int
StatsScreen.StatsList.Comparator. compare(Item p_compare_1_, Item p_compare_2_)
protected ITextComponent
StatsScreen.StatsList. getString(Item p_200208_1_)
Constructors in net.minecraft.client.gui.screen with parameters of type Item Constructor Description LayerItem(Item p_i242057_1_, ITextComponent p_i242057_2_, java.util.function.Function<Registry<Biome>,FlatGenerationSettings> p_i242057_3_)
-
Uses of Item in net.minecraft.client.gui.screen.inventory
Fields in net.minecraft.client.gui.screen.inventory with type parameters of type Item Modifier and Type Field Description private java.util.Map<ResourceLocation,ITag<Item>>
CreativeScreen. visibleTags
-
Uses of Item in net.minecraft.client.renderer
Fields in net.minecraft.client.renderer with type parameters of type Item Modifier and Type Field Description private static java.util.Set<Item>
ItemRenderer. IGNORED
Methods in net.minecraft.client.renderer with parameters of type Item Modifier and Type Method Description private static int
ItemModelMesher. getIndex(Item p_199310_0_)
IBakedModel
ItemModelMesher. getItemModel(Item p_199312_1_)
void
ItemModelMesher. register(Item p_199311_1_, ModelResourceLocation p_199311_2_)
-
Uses of Item in net.minecraft.client.renderer.color
Fields in net.minecraft.client.renderer.color with type parameters of type Item Modifier and Type Field Description private java.util.Map<IRegistryDelegate<Item>,IItemColor>
ItemColors. itemColors
-
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
CraftPlanksStep. hasCraftedPlanksPreviously(ClientPlayerEntity p_199761_0_, ITag<Item> p_199761_1_)
-
Uses of Item in net.minecraft.command.arguments
Fields in net.minecraft.command.arguments declared as Item Modifier and Type Field Description private Item
ItemInput. item
private Item
ItemParser. item
private Item
ItemPredicateArgument.ItemPredicate. item
Fields in net.minecraft.command.arguments with type parameters of type Item Modifier and Type Field Description private static java.util.function.BiFunction<com.mojang.brigadier.suggestion.SuggestionsBuilder,ITagCollection<Item>,java.util.concurrent.CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>>
ItemParser. SUGGEST_NOTHING
private java.util.function.BiFunction<com.mojang.brigadier.suggestion.SuggestionsBuilder,ITagCollection<Item>,java.util.concurrent.CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>>
ItemParser. suggestions
private ITag<Item>
ItemPredicateArgument.TagPredicate. tag
Methods in net.minecraft.command.arguments that return Item Modifier and Type Method Description Item
ItemInput. getItem()
Item
ItemParser. getItem()
Method parameters in net.minecraft.command.arguments with type arguments of type Item Modifier and Type Method Description java.util.concurrent.CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
ItemParser. fillSuggestions(com.mojang.brigadier.suggestion.SuggestionsBuilder p_197329_1_, ITagCollection<Item> p_197329_2_)
private java.util.concurrent.CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
ItemParser. suggestItemIdOrTag(com.mojang.brigadier.suggestion.SuggestionsBuilder p_197331_1_, ITagCollection<Item> p_197331_2_)
private java.util.concurrent.CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
ItemParser. suggestOpenNbt(com.mojang.brigadier.suggestion.SuggestionsBuilder p_197328_1_, ITagCollection<Item> p_197328_2_)
private java.util.concurrent.CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
ItemParser. suggestTag(com.mojang.brigadier.suggestion.SuggestionsBuilder p_201955_1_, ITagCollection<Item> p_201955_2_)
Constructors in net.minecraft.command.arguments with parameters of type Item Constructor Description ItemInput(Item p_i47961_1_, CompoundNBT p_i47961_2_)
ItemPredicate(Item p_i48221_1_, CompoundNBT p_i48221_2_)
Constructor parameters in net.minecraft.command.arguments with type arguments of type Item Constructor Description TagPredicate(ITag<Item> p_i48220_1_, CompoundNBT p_i48220_2_)
-
Uses of Item in net.minecraft.data
Fields in net.minecraft.data declared as Item Modifier and Type Field Description private Item
CookingRecipeBuilder. result
private Item
CookingRecipeBuilder.Result. result
private Item
ShapedRecipeBuilder. result
private Item
ShapedRecipeBuilder.Result. result
private Item
ShapelessRecipeBuilder. result
private Item
ShapelessRecipeBuilder.Result. result
private Item
SingleItemRecipeBuilder. result
private Item
SingleItemRecipeBuilder.Result. result
private Item
SmithingRecipeBuilder. result
private Item
SmithingRecipeBuilder.Result. result
Fields in net.minecraft.data with type parameters of type Item Modifier and Type Field Description private java.util.function.Consumer<Item>
BlockModelProvider. skippedAutoModelsOutput
Methods in net.minecraft.data with parameters of type Item Modifier and Type Method Description private void
BlockModelProvider. createAirLikeBlock(Block p_239871_1_, Item p_239871_2_)
private void
BlockModelProvider. createSimpleFlatItemModel(Item p_239866_1_)
private void
BlockModelProvider. delegateItemModel(Item p_239867_1_, ResourceLocation p_239867_2_)
private void
ItemModelProvider. generateFlatItem(Item p_240077_1_, java.lang.String p_240077_2_, ModelsUtil p_240077_3_)
private void
ItemModelProvider. generateFlatItem(Item p_240076_1_, ModelsUtil p_240076_2_)
private void
ItemModelProvider. generateFlatItem(Item p_240075_1_, Item p_240075_2_, ModelsUtil p_240075_3_)
static ResourceLocation
ModelTextures. getItemTexture(Item p_240357_0_)
static ResourceLocation
ModelTextures. getItemTexture(Item p_240344_0_, java.lang.String p_240344_1_)
static ResourceLocation
ModelsResourceUtil. getModelLocation(Item p_240219_0_)
static ResourceLocation
ModelsResourceUtil. getModelLocation(Item p_240220_0_, java.lang.String p_240220_1_)
static ModelTextures
ModelTextures. layer0(Item p_240352_0_)
private static void
RecipeProvider. netheriteSmithing(java.util.function.Consumer<IFinishedRecipe> p_240469_0_, Item p_240469_1_, Item p_240469_2_)
static ModelTextures
ModelTextures. particleFromItem(Item p_240343_0_)
static SmithingRecipeBuilder
SmithingRecipeBuilder. smithing(Ingredient p_240502_0_, Ingredient p_240502_1_, Item p_240502_2_)
Method parameters in net.minecraft.data with type arguments of type Item Modifier and Type Method Description ShapedRecipeBuilder
ShapedRecipeBuilder. define(java.lang.Character p_200469_1_, ITag<Item> p_200469_2_)
protected static InventoryChangeTrigger.Instance
RecipeProvider. has(ITag<Item> p_200409_0_)
private static void
RecipeProvider. planksFromLog(java.util.function.Consumer<IFinishedRecipe> p_240470_0_, IItemProvider p_240470_1_, ITag<Item> p_240470_2_)
private static void
RecipeProvider. planksFromLogs(java.util.function.Consumer<IFinishedRecipe> p_240472_0_, IItemProvider p_240472_1_, ITag<Item> p_240472_2_)
ShapelessRecipeBuilder
ShapelessRecipeBuilder. requires(ITag<Item> p_203221_1_)
Constructors in net.minecraft.data with parameters of type Item Constructor Description Result(ResourceLocation p_i50605_1_, java.lang.String p_i50605_2_, Ingredient p_i50605_3_, Item p_i50605_4_, float p_i50605_5_, int p_i50605_6_, Advancement.Builder p_i50605_7_, ResourceLocation p_i50605_8_, IRecipeSerializer<? extends AbstractCookingRecipe> p_i50605_9_)
Result(ResourceLocation p_i48271_2_, Item p_i48271_3_, int p_i48271_4_, java.lang.String p_i48271_5_, java.util.List<java.lang.String> p_i48271_6_, java.util.Map<java.lang.Character,Ingredient> p_i48271_7_, Advancement.Builder p_i48271_8_, ResourceLocation p_i48271_9_)
Result(ResourceLocation p_i48268_1_, Item p_i48268_2_, int p_i48268_3_, java.lang.String p_i48268_4_, java.util.List<Ingredient> p_i48268_5_, Advancement.Builder p_i48268_6_, ResourceLocation p_i48268_7_)
Result(ResourceLocation p_i50574_1_, IRecipeSerializer<?> p_i50574_2_, java.lang.String p_i50574_3_, Ingredient p_i50574_4_, Item p_i50574_5_, int p_i50574_6_, Advancement.Builder p_i50574_7_, ResourceLocation p_i50574_8_)
Result(ResourceLocation p_i232550_1_, IRecipeSerializer<?> p_i232550_2_, Ingredient p_i232550_3_, Ingredient p_i232550_4_, Item p_i232550_5_, Advancement.Builder p_i232550_6_, ResourceLocation p_i232550_7_)
SmithingRecipeBuilder(IRecipeSerializer<?> p_i232549_1_, Ingredient p_i232549_2_, Ingredient p_i232549_3_, Item p_i232549_4_)
-
Uses of Item in net.minecraft.data.advancements
Fields in net.minecraft.data.advancements declared as Item Modifier and Type Field Description private static Item[]
HusbandryAdvancements. EDIBLE_ITEMS
private static Item[]
HusbandryAdvancements. FISH
private static Item[]
HusbandryAdvancements. FISH_BUCKETS
-
Uses of Item in net.minecraft.data.loot
Fields in net.minecraft.data.loot with type parameters of type Item Modifier and Type Field Description private static java.util.Set<Item>
BlockLootTables. EXPLOSION_RESISTANT
Methods in net.minecraft.data.loot with parameters of type Item Modifier and Type Method Description private static LootTable.Builder
BlockLootTables. createAttachedStemDrops(Block p_229435_0_, Item p_229435_1_)
protected static LootTable.Builder
BlockLootTables. createCropDrops(Block p_218541_0_, Item p_218541_1_, Item p_218541_2_, ILootCondition.IBuilder p_218541_3_)
protected static LootTable.Builder
BlockLootTables. createOreDrop(Block p_218476_0_, Item p_218476_1_)
protected static LootTable.Builder
BlockLootTables. createStemDrops(Block p_218475_0_, Item p_218475_1_)
-
Uses of Item in net.minecraft.enchantment
Fields in net.minecraft.enchantment with type parameters of type Item Modifier and Type Field Description private java.util.function.Predicate<Item>
EnchantmentType. delegate
Methods in net.minecraft.enchantment with parameters of type Item Modifier and Type Method Description boolean
EnchantmentType. canEnchant(Item p_77557_1_)
Method parameters in net.minecraft.enchantment with type arguments of type Item Modifier and Type Method Description static EnchantmentType
EnchantmentType. create(java.lang.String name, java.util.function.Predicate<Item> delegate)
Constructor parameters in net.minecraft.enchantment with type arguments of type Item Constructor Description EnchantmentType(java.util.function.Predicate<Item> delegate)
-
Uses of Item in net.minecraft.entity
Methods in net.minecraft.entity that return Item Modifier and Type Method Description static Item
MobEntity. getEquipmentForSlot(EquipmentSlotType p_184636_0_, int p_184636_1_)
Methods in net.minecraft.entity with parameters of type Item Modifier and Type Method Description boolean
LivingEntity. isHolding(Item p_233631_1_)
Method parameters in net.minecraft.entity with type arguments of type Item Modifier and Type Method Description boolean
LivingEntity. isHolding(java.util.function.Predicate<Item> p_233634_1_)
-
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 java.util.List<Item>
FarmerWorkTask. COMPOSTABLE_ITEMS
private java.util.Set<Item>
ShareItemsTask. trades
Methods in net.minecraft.entity.ai.brain.task that return types with arguments of type Item Modifier and Type Method Description private static java.util.Set<Item>
ShareItemsTask. figureOutWhatIAmWillingToTrade(VillagerEntity p_220585_0_, VillagerEntity p_220585_1_)
Method parameters in net.minecraft.entity.ai.brain.task with type arguments of type Item Modifier and Type Method Description private static void
ShareItemsTask. throwHalfStack(VillagerEntity p_220586_0_, java.util.Set<Item> p_220586_1_, LivingEntity p_220586_2_)
-
Uses of Item in net.minecraft.entity.item
Methods in net.minecraft.entity.item that return Item Modifier and Type Method Description protected Item
EnderPearlEntity. getDefaultItem()
protected Item
ExperienceBottleEntity. getDefaultItem()
Item
BoatEntity. getDropItem()
-
Uses of Item in net.minecraft.entity.merchant.villager
Fields in net.minecraft.entity.merchant.villager declared as Item Modifier and Type Field Description private Item
VillagerTrades.ItemWithPotionForEmeraldsAndItemsTrade. fromItem
private Item
VillagerTrades.DyedArmorForEmeraldsTrade. item
private Item
VillagerTrades.EmeraldForItemsTrade. item
Fields in net.minecraft.entity.merchant.villager with type parameters of type Item Modifier and Type Field Description static java.util.Map<Item,java.lang.Integer>
VillagerEntity. FOOD_POINTS
private com.google.common.collect.ImmutableSet<Item>
VillagerProfession. requestedItems
private java.util.Map<VillagerType,Item>
VillagerTrades.EmeraldForVillageTypeItemTrade. trades
private static java.util.Set<Item>
VillagerEntity. WANTED_ITEMS
Methods in net.minecraft.entity.merchant.villager that return types with arguments of type Item Modifier and Type Method Description com.google.common.collect.ImmutableSet<Item>
VillagerProfession. getRequestedItems()
Method parameters in net.minecraft.entity.merchant.villager with type arguments of type Item Modifier and Type Method Description (package private) static VillagerProfession
VillagerProfession. register(java.lang.String p_226557_0_, PointOfInterestType p_226557_1_, com.google.common.collect.ImmutableSet<Item> p_226557_2_, com.google.common.collect.ImmutableSet<Block> p_226557_3_, SoundEvent p_226557_4_)
Constructors in net.minecraft.entity.merchant.villager with parameters of type Item Constructor Description DyedArmorForEmeraldsTrade(Item p_i50540_1_, int p_i50540_2_)
DyedArmorForEmeraldsTrade(Item p_i50541_1_, int p_i50541_2_, int p_i50541_3_, int p_i50541_4_)
EnchantedItemForEmeraldsTrade(Item p_i50535_1_, int p_i50535_2_, int p_i50535_3_, int p_i50535_4_)
EnchantedItemForEmeraldsTrade(Item p_i50536_1_, int p_i50536_2_, int p_i50536_3_, int p_i50536_4_, float p_i50536_5_)
ItemsForEmeraldsAndItemsTrade(IItemProvider p_i50534_1_, int p_i50534_2_, int p_i50534_3_, Item p_i50534_4_, int p_i50534_5_, int p_i50534_6_, int p_i50534_7_)
ItemsForEmeraldsAndItemsTrade(IItemProvider p_i50533_1_, int p_i50533_2_, Item p_i50533_3_, int p_i50533_4_, int p_i50533_5_, int p_i50533_6_)
ItemsForEmeraldsTrade(Item p_i50529_1_, int p_i50529_2_, int p_i50529_3_, int p_i50529_4_)
ItemsForEmeraldsTrade(Item p_i50530_1_, int p_i50530_2_, int p_i50530_3_, int p_i50530_4_, int p_i50530_5_)
ItemWithPotionForEmeraldsAndItemsTrade(Item p_i50526_1_, int p_i50526_2_, Item p_i50526_3_, int p_i50526_4_, int p_i50526_5_, int p_i50526_6_, int p_i50526_7_)
Constructor parameters in net.minecraft.entity.merchant.villager with type arguments of type Item Constructor Description EmeraldForVillageTypeItemTrade(int p_i50538_1_, int p_i50538_2_, int p_i50538_3_, java.util.Map<VillagerType,Item> p_i50538_4_)
VillagerProfession(java.lang.String p_i225734_1_, PointOfInterestType p_i225734_2_, com.google.common.collect.ImmutableSet<Item> p_i225734_3_, com.google.common.collect.ImmutableSet<Block> p_i225734_4_, SoundEvent p_i225734_5_)
-
Uses of Item in net.minecraft.entity.monster
Methods in net.minecraft.entity.monster with parameters of type Item Modifier and Type Method Description private boolean
PillagerEntity. wantsItem(Item p_213672_1_)
-
Uses of Item in net.minecraft.entity.monster.piglin
Fields in net.minecraft.entity.monster.piglin declared as Item Modifier and Type Field Description static Item
PiglinTasks. BARTERING_ITEM
Fields in net.minecraft.entity.monster.piglin with type parameters of type Item Modifier and Type Field Description private static java.util.Set<Item>
PiglinTasks. FOOD_ITEMS
Methods in net.minecraft.entity.monster.piglin with parameters of type Item Modifier and Type Method Description private static boolean
PiglinTasks. isBarterCurrency(Item p_234492_0_)
private static boolean
PiglinTasks. isFood(Item p_234499_0_)
protected static boolean
PiglinTasks. isLovedItem(Item p_234480_0_)
-
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. POISONOUS_FOOD
Fields in net.minecraft.entity.passive with type parameters of type Item Modifier and Type Field Description private java.util.Set<Item>
TurtleEntity.PlayerTemptGoal. items
private static java.util.Set<Item>
ParrotEntity. TAME_FOOD
Methods in net.minecraft.entity.passive with parameters of type Item Modifier and Type Method Description private boolean
RabbitEntity. isTemptingItem(Item p_175525_1_)
Constructors in net.minecraft.entity.passive with parameters of type Item Constructor Description PlayerTemptGoal(TurtleEntity p_i48812_1_, double p_i48812_2_, Item p_i48812_4_)
-
Uses of Item in net.minecraft.entity.player
Method parameters in net.minecraft.entity.player with type arguments of type Item Modifier and Type Method Description boolean
PlayerInventory. contains(ITag<Item> p_199712_1_)
-
Uses of Item in net.minecraft.entity.projectile
Methods in net.minecraft.entity.projectile that return Item Modifier and Type Method Description protected Item
EggEntity. getDefaultItem()
protected Item
PotionEntity. getDefaultItem()
protected abstract Item
ProjectileItemEntity. getDefaultItem()
protected Item
SnowballEntity. getDefaultItem()
Methods in net.minecraft.entity.projectile with parameters of type Item Modifier and Type Method Description static Hand
ProjectileHelper. getWeaponHoldingHand(LivingEntity p_221274_0_, Item p_221274_1_)
Deprecated.Method parameters in net.minecraft.entity.projectile with type arguments of type Item Modifier and Type Method Description static Hand
ProjectileHelper. getWeaponHoldingHand(LivingEntity livingEntity, java.util.function.Predicate<Item> itemPredicate)
-
Uses of Item in net.minecraft.fluid
Methods in net.minecraft.fluid that return Item Modifier and Type Method Description Item
EmptyFluid. getBucket()
abstract Item
Fluid. getBucket()
Item
LavaFluid. getBucket()
Item
WaterFluid. getBucket()
-
Uses of Item in net.minecraft.inventory
Methods in net.minecraft.inventory with parameters of type Item Modifier and Type Method Description default int
IInventory. countItem(Item p_213901_1_)
ItemStack
Inventory. removeItemType(Item p_223374_1_, int p_223374_2_)
Method parameters in net.minecraft.inventory with type arguments of type Item Modifier and Type Method Description default boolean
IInventory. hasAnyOf(java.util.Set<Item> p_213902_1_)
-
Uses of Item in net.minecraft.item
Fields in net.minecraft.item with type parameters of type Item Modifier and Type Field Description static java.util.Map<Block,Item>
Item. BY_BLOCK
private IRegistryDelegate<Item>
ItemStack. delegate
private static java.util.Map<Item,java.util.Map<ResourceLocation,IItemPropertyGetter>>
ItemModelsProperties. PROPERTIES
private ReverseTagWrapper<Item>
Item. reverseTags
private Tags.IOptionalNamedTag<Item>
DyeColor. tag
Methods in net.minecraft.item that return Item Modifier and Type Method Description Item
Item. asItem()
static Item
Item. byBlock(Block p_150898_0_)
Deprecated.static Item
Item. byId(int p_150899_0_)
Item
Item. getCraftingRemainingItem()
Deprecated.Item
ItemStack. getItem()
private static Item
Items. registerBlock(Block p_221545_0_)
protected static Item
Items. registerBlock(Block p_221546_0_, Item p_221546_1_)
private static Item
Items. registerBlock(Block p_221542_0_, ItemGroup p_221542_1_)
private static Item
Items. registerBlock(BlockItem p_221543_0_)
private static Item
Items. registerItem(java.lang.String p_221547_0_, Item p_221547_1_)
private static Item
Items. registerItem(ResourceLocation p_221544_0_, Item p_221544_1_)
Methods in net.minecraft.item that return types with arguments of type Item Modifier and Type Method Description Tags.IOptionalNamedTag<Item>
DyeColor. getTag()
Methods in net.minecraft.item with parameters of type Item Modifier and Type Method Description static boolean
CrossbowItem. containsChargedProjectile(ItemStack p_220019_0_, Item p_220019_1_)
Item.Properties
Item.Properties. craftRemainder(Item p_200919_1_)
static int
Item. getId(Item p_150891_0_)
static IItemPropertyGetter
ItemModelsProperties. getProperty(Item p_239417_0_, ResourceLocation p_239417_1_)
static void
ItemModelsProperties. register(Item p_239418_0_, ResourceLocation p_239418_1_, IItemPropertyGetter p_239418_2_)
protected static Item
Items. registerBlock(Block p_221546_0_, Item p_221546_1_)
void
BlockItem. registerBlocks(java.util.Map<Block,Item> p_195946_1_, Item p_195946_2_)
void
WallOrFloorItem. registerBlocks(java.util.Map<Block,Item> p_195946_1_, Item p_195946_2_)
private static Item
Items. registerItem(java.lang.String p_221547_0_, Item p_221547_1_)
private static Item
Items. registerItem(ResourceLocation p_221544_0_, Item p_221544_1_)
void
BlockItem. removeFromBlockToItemMap(java.util.Map<Block,Item> blockToItemMap, Item itemIn)
void
WallOrFloorItem. removeFromBlockToItemMap(java.util.Map<Block,Item> blockToItemMap, Item itemIn)
Method parameters in net.minecraft.item with type arguments of type Item Modifier and Type Method Description boolean
Item. is(ITag<Item> p_206844_1_)
void
BlockItem. registerBlocks(java.util.Map<Block,Item> p_195946_1_, Item p_195946_2_)
void
WallOrFloorItem. registerBlocks(java.util.Map<Block,Item> p_195946_1_, Item p_195946_2_)
void
BlockItem. removeFromBlockToItemMap(java.util.Map<Block,Item> blockToItemMap, Item itemIn)
void
WallOrFloorItem. removeFromBlockToItemMap(java.util.Map<Block,Item> blockToItemMap, Item itemIn)
-
Uses of Item in net.minecraft.item.crafting
Fields in net.minecraft.item.crafting with type parameters of type Item Modifier and Type Field Description private static java.util.Map<Item,FireworkRocketItem.Shape>
FireworkStarRecipe. SHAPE_BY_ITEM
private ITag<Item>
Ingredient.TagList. tag
Method parameters in net.minecraft.item.crafting with type arguments of type Item Modifier and Type Method Description static Ingredient
Ingredient. of(ITag<Item> p_199805_0_)
Constructor parameters in net.minecraft.item.crafting with type arguments of type Item Constructor Description TagList(ITag<Item> p_i48193_1_)
-
Uses of Item in net.minecraft.loot
Fields in net.minecraft.loot declared as Item Modifier and Type Field Description private Item
ItemLootEntry. item
Fields in net.minecraft.loot with type parameters of type Item Modifier and Type Field Description private ITag<Item>
TagLootEntry. tag
Method parameters in net.minecraft.loot with type arguments of type Item Modifier and Type Method Description static StandaloneLootEntry.Builder<?>
TagLootEntry. expandTag(ITag<Item> p_216176_0_)
Constructors in net.minecraft.loot with parameters of type Item Constructor Description ItemLootEntry(Item p_i51255_1_, int p_i51255_2_, int p_i51255_3_, ILootCondition[] p_i51255_4_, ILootFunction[] p_i51255_5_)
Constructor parameters in net.minecraft.loot with type arguments of type Item Constructor Description TagLootEntry(ITag<Item> p_i51248_1_, boolean p_i51248_2_, int p_i51248_3_, int p_i51248_4_, ILootCondition[] p_i51248_5_, ILootFunction[] p_i51248_6_)
-
Uses of Item in net.minecraft.network.play.server
Fields in net.minecraft.network.play.server declared as Item Modifier and Type Field Description private Item
SCooldownPacket. item
Methods in net.minecraft.network.play.server that return Item Modifier and Type Method Description Item
SCooldownPacket. getItem()
Constructors in net.minecraft.network.play.server with parameters of type Item Constructor Description SCooldownPacket(Item p_i46950_1_, int p_i46950_2_)
-
Uses of Item in net.minecraft.potion
Fields in net.minecraft.potion with type parameters of type Item Modifier and Type Field Description private static java.util.List<PotionBrewing.MixPredicate<Item>>
PotionBrewing. CONTAINER_MIXES
Methods in net.minecraft.potion with parameters of type Item Modifier and Type Method Description private static void
PotionBrewing. addContainer(Item p_196208_0_)
private static void
PotionBrewing. addContainerRecipe(Item p_196207_0_, Item p_196207_1_, Item p_196207_2_)
private static void
PotionBrewing. addMix(Potion p_193357_0_, Item p_193357_1_, Potion p_193357_2_)
-
Uses of Item in net.minecraft.stats
Fields in net.minecraft.stats with type parameters of type Item Modifier and Type Field Description static StatType<Item>
Stats. ITEM_BROKEN
static StatType<Item>
Stats. ITEM_CRAFTED
static StatType<Item>
Stats. ITEM_DROPPED
static StatType<Item>
Stats. ITEM_PICKED_UP
static StatType<Item>
Stats. ITEM_USED
-
Uses of Item in net.minecraft.tags
Methods in net.minecraft.tags that return types with arguments of type Item Modifier and Type Method Description static ITag.INamedTag<Item>
ItemTags. bind(java.lang.String p_199901_0_)
static Tags.IOptionalNamedTag<Item>
ItemTags. createOptional(ResourceLocation name)
static Tags.IOptionalNamedTag<Item>
ItemTags. createOptional(ResourceLocation name, java.util.Set<java.util.function.Supplier<Item>> defaults)
static ITagCollection<Item>
ItemTags. getAllTags()
ITagCollection<Item>
ITagCollectionSupplier. getItems()
static java.util.List<? extends ITag.INamedTag<Item>>
ItemTags. getWrappers()
Method parameters in net.minecraft.tags with type arguments of type Item Modifier and Type Method Description static Tags.IOptionalNamedTag<Item>
ItemTags. createOptional(ResourceLocation name, java.util.Set<java.util.function.Supplier<Item>> defaults)
-
Uses of Item in net.minecraft.tileentity
Fields in net.minecraft.tileentity declared as Item Modifier and Type Field Description private Item
BrewingStandTileEntity. ingredient
Methods in net.minecraft.tileentity that return types with arguments of type Item Modifier and Type Method Description static java.util.Map<Item,java.lang.Integer>
AbstractFurnaceTileEntity. getFuel()
Deprecated.Methods in net.minecraft.tileentity with parameters of type Item Modifier and Type Method Description private static boolean
AbstractFurnaceTileEntity. isNeverAFurnaceFuel(Item p_235644_0_)
Method parameters in net.minecraft.tileentity with type arguments of type Item Modifier and Type Method Description private static void
AbstractFurnaceTileEntity. add(java.util.Map<Item,java.lang.Integer> p_213992_0_, ITag<Item> p_213992_1_, int p_213992_2_)
private static void
AbstractFurnaceTileEntity. add(java.util.Map<Item,java.lang.Integer> p_213992_0_, ITag<Item> p_213992_1_, int p_213992_2_)
private static void
AbstractFurnaceTileEntity. add(java.util.Map<Item,java.lang.Integer> p_213996_0_, IItemProvider p_213996_1_, int p_213996_2_)
-
Uses of Item in net.minecraft.util
Fields in net.minecraft.util with type parameters of type Item Modifier and Type Field Description private java.util.Map<Item,CooldownTracker.Cooldown>
CooldownTracker. cooldowns
Methods in net.minecraft.util that return Item Modifier and Type Method Description Item
IItemProvider. asItem()
static Item
JSONUtils. convertToItem(com.google.gson.JsonElement p_188172_0_, java.lang.String p_188172_1_)
static Item
JSONUtils. getAsItem(com.google.gson.JsonObject p_188180_0_, java.lang.String p_188180_1_)
Methods in net.minecraft.util with parameters of type Item Modifier and Type Method Description void
CooldownTracker. addCooldown(Item p_185145_1_, int p_185145_2_)
void
FoodStats. eat(Item p_221410_1_, ItemStack p_221410_2_)
float
CooldownTracker. getCooldownPercent(Item p_185143_1_, float p_185143_2_)
boolean
CooldownTracker. isOnCooldown(Item p_185141_1_)
protected void
CooldownTracker. onCooldownEnded(Item p_185146_1_)
protected void
ServerCooldownTracker. onCooldownEnded(Item p_185146_1_)
protected void
CooldownTracker. onCooldownStarted(Item p_185140_1_, int p_185140_2_)
protected void
ServerCooldownTracker. onCooldownStarted(Item p_185140_1_, int p_185140_2_)
void
CooldownTracker. removeCooldown(Item p_185142_1_)
-
Uses of Item in net.minecraft.util.math.shapes
Fields in net.minecraft.util.math.shapes declared as Item Modifier and Type Field Description private Item
EntitySelectionContext. heldItem
Methods in net.minecraft.util.math.shapes with parameters of type Item Modifier and Type Method Description boolean
EntitySelectionContext. isHoldingItem(Item p_216375_1_)
boolean
ISelectionContext. isHoldingItem(Item p_216375_1_)
Constructors in net.minecraft.util.math.shapes with parameters of type Item Constructor Description EntitySelectionContext(boolean p_i232177_1_, double p_i232177_2_, Item p_i232177_4_, java.util.function.Predicate<Fluid> p_i232177_5_)
EntitySelectionContext(Entity entity, boolean p_i232177_1_, double p_i232177_2_, Item p_i232177_4_, java.util.function.Predicate<Fluid> p_i232177_5_)
-
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
Deprecated.static RegistryKey<Registry<Item>>
Registry. ITEM_REGISTRY
-
Uses of Item in net.minecraft.util.text.event
Fields in net.minecraft.util.text.event declared as Item Modifier and Type Field Description private Item
HoverEvent.ItemHover. item
Constructors in net.minecraft.util.text.event with parameters of type Item Constructor Description ItemHover(Item p_i232567_1_, int p_i232567_2_, CompoundNBT p_i232567_3_)
-
Uses of Item in net.minecraftforge.client
Fields in net.minecraftforge.client with type parameters of type Item Modifier and Type Field Description (package private) java.util.Map<IRegistryDelegate<Item>,ModelResourceLocation>
ItemModelMesherForge. locations
(package private) java.util.Map<IRegistryDelegate<Item>,IBakedModel>
ItemModelMesherForge. models
Methods in net.minecraftforge.client with parameters of type Item Modifier and Type Method Description IBakedModel
ItemModelMesherForge. getItemModel(Item item)
void
ItemModelMesherForge. register(Item item, ModelResourceLocation location)
-
Uses of Item in net.minecraftforge.common
Subclasses of Item in net.minecraftforge.common Modifier and Type Class Description class
ForgeSpawnEggItem
Methods in net.minecraftforge.common that return types with arguments of type Item Modifier and Type Method Description private static Tags.IOptionalNamedTag<Item>
Tags.Items. tag(java.lang.String name)
-
Uses of Item in net.minecraftforge.common.data
Fields in net.minecraftforge.common.data with type parameters of type Item Modifier and Type Field Description private java.util.Map<Item,ITag<Item>>
ForgeRecipeProvider. replacements
private java.util.Map<Item,ITag<Item>>
ForgeRecipeProvider. replacements
Methods in net.minecraftforge.common.data that return types with arguments of type Item Modifier and Type Method Description private ITag.INamedTag<Item>
ForgeItemTagsProvider. getForgeItemTag(java.lang.String name)
Methods in net.minecraftforge.common.data with parameters of type Item Modifier and Type Method Description void
LanguageProvider. add(Item key, java.lang.String name)
private boolean
ForgeLootTableProvider. checkMatchTool(MatchTool lootCondition, Item expected)
private boolean
ForgeLootTableProvider. findAndReplaceInAlternative(Alternative alternative, Item from, ITag.INamedTag<Item> to)
private boolean
ForgeLootTableProvider. findAndReplaceInLootEntry(LootEntry entry, Item from, ITag.INamedTag<Item> to)
private boolean
ForgeLootTableProvider. findAndReplaceInLootPool(LootPool lootPool, Item from, ITag.INamedTag<Item> to)
private boolean
ForgeLootTableProvider. findAndReplaceInLootTableBuilder(LootTable.Builder builder, Item from, ITag.INamedTag<Item> to)
private boolean
ForgeLootTableProvider. findAndReplaceInParentedLootEntry(ParentedLootEntry entry, Item from, ITag.INamedTag<Item> to)
Method parameters in net.minecraftforge.common.data with type arguments of type Item Modifier and Type Method Description private void
ForgeItemTagsProvider. addColored(java.util.function.Consumer<ITag.INamedTag<Item>> consumer, ITag.INamedTag<Item> group, java.lang.String pattern)
private void
ForgeItemTagsProvider. addColored(java.util.function.Consumer<ITag.INamedTag<Item>> consumer, ITag.INamedTag<Item> group, java.lang.String pattern)
void
LanguageProvider. addItem(java.util.function.Supplier<? extends Item> key, java.lang.String name)
private boolean
ForgeLootTableProvider. findAndReplaceInAlternative(Alternative alternative, Item from, ITag.INamedTag<Item> to)
private boolean
ForgeLootTableProvider. findAndReplaceInLootEntry(LootEntry entry, Item from, ITag.INamedTag<Item> to)
private boolean
ForgeLootTableProvider. findAndReplaceInLootPool(LootPool lootPool, Item from, ITag.INamedTag<Item> to)
private boolean
ForgeLootTableProvider. findAndReplaceInLootTableBuilder(LootTable.Builder builder, Item from, ITag.INamedTag<Item> to)
private boolean
ForgeLootTableProvider. findAndReplaceInParentedLootEntry(ParentedLootEntry entry, Item from, ITag.INamedTag<Item> to)
private void
ForgeRecipeProvider. replace(IItemProvider item, ITag<Item> tag)
-
Uses of Item in net.minecraftforge.common.extensions
Methods in net.minecraftforge.common.extensions that return Item Modifier and Type Method Description default Item
IForgeItem. getItem()
-
Uses of Item in net.minecraftforge.debug
Fields in net.minecraftforge.debug with type parameters of type Item Modifier and Type Field Description private static RegistryObject<Item>
DeferredRegistryTest. ITEM
private static DeferredRegister<Item>
CustomSoundTypeTest. ITEMS
private static DeferredRegister<Item>
DeferredRegistryTest. ITEMS
private static RegistryObject<Item>
CustomSoundTypeTest. TEST_STEP_BLOCK_ITEM
-
Uses of Item in net.minecraftforge.debug.block
Fields in net.minecraftforge.debug.block with type parameters of type Item Modifier and Type Field Description private static RegistryObject<Item>
FullPotsAccessorDemo. DIORITE_POT_ITEM
private static DeferredRegister<Item>
CustomRespawnTest. ITEMS
private static DeferredRegister<Item>
CustomSignsTest. ITEMS
private static DeferredRegister<Item>
FlowerPotTest. ITEMS
private static DeferredRegister<Item>
FullPotsAccessorDemo. ITEMS
private static DeferredRegister<Item>
PistonEventTest. ITEMS
static RegistryObject<Item>
CustomRespawnTest. TEST_RESPAWN_BLOCK_ITEM
Method parameters in net.minecraftforge.debug.block with type arguments of type Item Modifier and Type Method Description static void
FlowerPotTest. onItemRegister(RegistryEvent.Register<Item> event)
static void
CustomPlantTypeTest. registerItems(RegistryEvent.Register<Item> event)
static void
SlipperinessTest. registerItems(RegistryEvent.Register<Item> e)
static void
StickyBlockTest. registerItems(RegistryEvent.Register<Item> event)
-
Uses of Item in net.minecraftforge.debug.client
Fields in net.minecraftforge.debug.client with type parameters of type Item Modifier and Type Field Description private static DeferredRegister<Item>
CustomTASTest. ITEMS
private static RegistryObject<Item>
CustomTASTest. TEST_ITEM
-
Uses of Item in net.minecraftforge.debug.client.model
Fields in net.minecraftforge.debug.client.model with type parameters of type Item Modifier and Type Field Description static RegistryObject<Item>
CompositeModelTest. composite_item
static RegistryObject<Item>
NewModelLoaderTest. custom_loader
static RegistryObject<Item>
NewModelLoaderTest. custom_transforms
static RegistryObject<Item>
NewModelLoaderTest. custom_vanilla_loader
static RegistryObject<Item>
DynBucketModelTest. DRIP_BUCKET
static RegistryObject<Item>
NewModelLoaderTest. item_layers
static DeferredRegister<Item>
CompositeModelTest. ITEMS
static DeferredRegister<Item>
DynBucketModelTest. ITEMS
static DeferredRegister<Item>
NewModelLoaderTest. ITEMS
private static DeferredRegister<Item>
TRSRTransformerTest. ITEMS
static RegistryObject<Item>
DynBucketModelTest. LAVA_OBSIDIAN
static RegistryObject<Item>
NewModelLoaderTest. obj_item
static RegistryObject<Item>
NewModelLoaderTest. separate_perspective
private static RegistryObject<Item>
TRSRTransformerTest. TEST_ITEM
Method parameters in net.minecraftforge.debug.client.model with type arguments of type Item Modifier and Type Method Description static void
MultiLayerModelTest.Registration. registerItems(RegistryEvent.Register<Item> event)
-
Uses of Item in net.minecraftforge.debug.entity
Subclasses of Item in net.minecraftforge.debug.entity Modifier and Type Class Description static class
GravityAttributeTest.ItemGravityStick
Method parameters in net.minecraftforge.debug.entity with type arguments of type Item Modifier and Type Method Description void
GravityAttributeTest. registerItems(RegistryEvent.Register<Item> event)
-
Uses of Item in net.minecraftforge.debug.entity.player
Subclasses of Item in net.minecraftforge.debug.entity.player Modifier and Type Class Description (package private) static class
PlayerAttackKnockbackTest.KnockbackSwordItem
Fields in net.minecraftforge.debug.entity.player with type parameters of type Item Modifier and Type Field Description (package private) static DeferredRegister<Item>
PlayerAttackKnockbackTest. ITEMS
(package private) static RegistryObject<Item>
PlayerAttackKnockbackTest. KNOCKBACK_SWORD
-
Uses of Item in net.minecraftforge.debug.fluid
Fields in net.minecraftforge.debug.fluid with type parameters of type Item Modifier and Type Field Description static RegistryObject<Item>
NewFluidTest. fluidloggable_blockitem
static DeferredRegister<Item>
NewFluidTest. ITEMS
static RegistryObject<Item>
NewFluidTest. test_fluid_bucket
-
Uses of Item in net.minecraftforge.debug.gameplay.loot
Fields in net.minecraftforge.debug.gameplay.loot declared as Item Modifier and Type Field Description private Item
GlobalLootModifiersTest.WheatSeedsConverterModifier. itemReward
private Item
GlobalLootModifiersTest.WheatSeedsConverterModifier. itemToCheck
Constructors in net.minecraftforge.debug.gameplay.loot with parameters of type Item Constructor Description WheatSeedsConverterModifier(ILootCondition[] conditionsIn, int numSeeds, Item itemCheck, Item reward)
-
Uses of Item in net.minecraftforge.debug.item
Subclasses of Item in net.minecraftforge.debug.item Modifier and Type Class Description static class
CustomElytraTest.CustomElytra
Fields in net.minecraftforge.debug.item with type parameters of type Item Modifier and Type Field Description static RegistryObject<Item>
EnderMaskTest. ender_mask
private static DeferredRegister<Item>
CustomElytraTest. ITEMS
static DeferredRegister<Item>
EnderMaskTest. ITEMS
private static DeferredRegister<Item>
ForgeSpawnEggItemTest. ITEMS
private static DeferredRegister<Item>
MusicDiscTest. ITEMS
private static DeferredRegister<Item>
RangedMobsUseModdedWeaponsTest. ITEMS
private static RegistryObject<Item>
RangedMobsUseModdedWeaponsTest. MODDED_BOW
private static RegistryObject<Item>
RangedMobsUseModdedWeaponsTest. MODDED_CROSSBOW
private static RegistryObject<Item>
CustomElytraTest. TEST_ELYTRA
private static RegistryObject<Item>
MusicDiscTest. TEST_MUSIC_DISC
-
Uses of Item in net.minecraftforge.debug.misc
Fields in net.minecraftforge.debug.misc with type parameters of type Item Modifier and Type Field Description private static ITag.INamedTag<Item>
CustomTagTypesTest. OPTIONAL_TEST
-
Uses of Item in net.minecraftforge.debug.world
Fields in net.minecraftforge.debug.world with type parameters of type Item Modifier and Type Field Description private static RegistryObject<Item>
ForgeChunkManagerTest. CHUNK_LOADER_ITEM
private static DeferredRegister<Item>
ForgeChunkManagerTest. ITEMS
-
Uses of Item in net.minecraftforge.fluids
Fields in net.minecraftforge.fluids with type parameters of type Item Modifier and Type Field Description private java.util.function.Supplier<? extends Item>
ForgeFlowingFluid. bucket
private java.util.function.Supplier<? extends Item>
ForgeFlowingFluid.Properties. bucket
Methods in net.minecraftforge.fluids that return Item Modifier and Type Method Description Item
ForgeFlowingFluid. getBucket()
Method parameters in net.minecraftforge.fluids with type arguments of type Item Modifier and Type Method Description ForgeFlowingFluid.Properties
ForgeFlowingFluid.Properties. bucket(java.util.function.Supplier<? extends Item> bucket)
-
Uses of Item in net.minecraftforge.fluids.capability
Subclasses of Item in net.minecraftforge.fluids.capability Modifier and Type Class Description class
ItemFluidContainer
A simple fluid container, to replace the functionality of the old FluidContainerRegistry and IFluidContainerItem. -
Uses of Item in net.minecraftforge.registries
Fields in net.minecraftforge.registries with type parameters of type Item Modifier and Type Field Description static IForgeRegistry<Item>
ForgeRegistries. ITEMS
static RegistryKey<Registry<Item>>
ForgeRegistries.Keys. ITEMS
Methods in net.minecraftforge.registries that return types with arguments of type Item Modifier and Type Method Description static java.util.Map<Block,Item>
GameData. getBlockItemMap()
Methods in net.minecraftforge.registries with parameters of type Item Modifier and Type Method Description void
GameData.ItemCallbacks. onAdd(IForgeRegistryInternal<Item> owner, RegistryManager stage, int id, Item item, Item oldItem)
Method parameters in net.minecraftforge.registries with type arguments of type Item Modifier and Type Method Description void
GameData.ItemCallbacks. onAdd(IForgeRegistryInternal<Item> owner, RegistryManager stage, int id, Item item, Item oldItem)
void
GameData.ItemCallbacks. onClear(IForgeRegistryInternal<Item> owner, RegistryManager stage)
void
GameData.ItemCallbacks. onCreate(IForgeRegistryInternal<Item> owner, RegistryManager stage)
-