History - net.minecraft.item.Item
26.3-snapshot-3
Names
Fields
Constructors
Methods
26.3-snapshot-2
Names
Fields
Constructors
Methods
26.3-snapshot-1
Names
Fields
Constructors
Methods
26.2
Names
Fields
Constructors
Methods
26.1.2
Names
Fields
Constructors
Methods
26.1.1
Names
Fields
Constructors
Methods
26.1
Names
Fields
ComponentMap: components, field_49263, components
Item: craftingRemainingItem, field_8008, recipeRemainder
com.mojang.serialization.Codec<RegistryEntry<Item>>: CODEC_WITH_BOUND_COMPONENTS, field_1_953, CODEC_REQUIRING_BOUND_COMPONENTS
SimpleItemStackView: craftingRemainingItem, field_8008, recipeRemainder
Constructors
Methods
ItemStack (): getCraftingRemainder, method_7858, getRecipeRemainder
Text (): getName, method_63680, getName
com.mojang.serialization.DataResult (RegistryEntry): lambda$static$1, method_65043, method_65043
com.mojang.serialization.DataResult (RegistryEntry): lambda$static$0, method_65043, method_65043
String (): lambda$static$0, method_65044, method_65044
String (): lambda$static$1, method_65044, method_65044
SimpleItemStackView (): getCraftingRemainder, method_7858, getRecipeRemainder
com.mojang.serialization.DataResult (RegistryEntry): lambda$static$2, method_1_821, method_1_821
String (RegistryEntry): lambda$static$3, method_1_822, method_1_822
1.21.11_unobfuscated
Names
net.minecraft.world.item.Item
net.minecraft.class_1792
net.minecraft.item.Item
Fields
com.mojang.serialization.Codec<RegistryEntry<Item>>: CODEC, field_54952, ENTRY_CODEC
PacketCodec<RegistryByteBuf, RegistryEntry<Item>>: STREAM_CODEC, field_55708, ENTRY_PACKET_CODEC
org.slf4j.Logger: LOGGER, field_27017, LOGGER
Map<Block, Item>: BY_BLOCK, field_8003, BLOCK_ITEMS
Identifier: BASE_ATTACK_DAMAGE_ID, field_8006, BASE_ATTACK_DAMAGE_MODIFIER_ID
Identifier: BASE_ATTACK_SPEED_ID, field_8001, BASE_ATTACK_SPEED_MODIFIER_ID
int: DEFAULT_MAX_STACK_SIZE, field_30887, DEFAULT_MAX_COUNT
int: ABSOLUTE_MAX_STACK_SIZE, field_49998, MAX_MAX_COUNT
int: MAX_BAR_WIDTH, field_30889, ITEM_BAR_STEPS
int: APPROXIMATELY_INFINITE_USE_DURATION, field_56296, DEFAULT_BLOCKS_ATTACKS_MAX_USE_TIME
RegistryEntry$Reference<Item>: builtInRegistryHolder, field_36401, registryEntry
ComponentMap: components, field_49263, components
Item: craftingRemainingItem, field_8008, recipeRemainder
String: descriptionId, field_8014, translationKey
FeatureSet: requiredFeatures, field_40209, requiredFeatures
Constructors
Methods
int (Item): getId, method_7880, getRawId
Item (int): byId, method_7875, byRawId
Item (Block): byBlock, method_7867, fromBlock
RegistryEntry$Reference<Item> (): builtInRegistryHolder, method_40131, getRegistryEntry
ComponentMap (): components, method_57347, getComponents
int (): getDefaultMaxStackSize, method_7882, getMaxCount
void (World, LivingEntity, ItemStack, int): onUseTick, method_7852, usageTick
void (ItemEntity): onDestroyed, method_33261, onItemEntityDestroyed
boolean (ItemStack, BlockState, World, BlockPos, LivingEntity): canDestroyBlock, method_7885, canMine
Item (): asItem, method_8389, asItem
ActionResult (ItemUsageContext): useOn, method_7884, useOnBlock
float (ItemStack, BlockState): getDestroySpeed, method_58404, getMiningSpeed
ActionResult (World, PlayerEntity, Hand): use, method_7836, use
ItemStack (ItemStack, World, LivingEntity): finishUsingItem, method_7861, finishUsing
boolean (ItemStack): isBarVisible, method_31567, isItemBarVisible
int (ItemStack): getBarWidth, method_31569, getItemBarStep
int (ItemStack): getBarColor, method_31571, getItemBarColor
boolean (ItemStack, Slot, ClickType, PlayerEntity): overrideStackedOnOther, method_31565, onStackClicked
boolean (ItemStack, ItemStack, Slot, ClickType, PlayerEntity, StackReference): overrideOtherStackedOnMe, method_31566, onClicked
float (Entity, float, DamageSource): getAttackDamageBonus, method_58403, getBonusAttackDamage
DamageSource (LivingEntity): getItemDamageSource, method_64193, getDamageSource
void (ItemStack, LivingEntity, LivingEntity): hurtEnemy, method_7873, postHit
void (ItemStack, LivingEntity, LivingEntity): postHurtEnemy, method_59978, postDamageEntity
boolean (ItemStack, World, BlockState, BlockPos, LivingEntity): mineBlock, method_7879, postMine
boolean (ItemStack, BlockState): isCorrectToolForDrops, method_58405, isCorrectForDrops
ActionResult (ItemStack, PlayerEntity, LivingEntity, Hand): interactLivingEntity, method_7847, useOnEntity
ItemStack (): getCraftingRemainder, method_7858, getRecipeRemainder
void (ItemStack, ServerWorld, Entity, EquipmentSlot): inventoryTick, method_7888, inventoryTick
void (ItemStack, PlayerEntity): onCraftedBy, method_54465, onCraftByPlayer
void (ItemStack, World): onCraftedPostProcess, method_7843, onCraft
UseAction (ItemStack): getUseAnimation, method_7853, getUseAction
int (ItemStack, LivingEntity): getUseDuration, method_7881, getMaxUseTime
boolean (ItemStack, World, LivingEntity, int): releaseUsing, method_7840, onStoppedUsing
void (ItemStack, Item$TooltipContext, TooltipDisplayComponent, Consumer<Text>, TooltipType): appendHoverText, method_67187, appendTooltip
Optional<TooltipData> (ItemStack): getTooltipImage, method_32346, getTooltipData
String (): getDescriptionId, method_7876, getTranslationKey
Text (): getName, method_63680, getName
Text (ItemStack): getName, method_7864, getName
boolean (ItemStack): isFoil, method_7886, hasGlint
BlockHitResult (World, PlayerEntity, RaycastContext$FluidHandling): getPlayerPOVHitResult, method_7872, raycast
boolean (ItemStack): useOnRelease, method_7838, isUsedOnRelease
ItemStack (): getDefaultInstance, method_7854, getDefaultStack
boolean (): canFitInsideContainerItems, method_31568, canBeNested
FeatureSet (): requiredFeatures, method_45322, getRequiredFeatures
boolean (ItemStack, PlayerEntity): shouldPrintOpWarning, method_65353, shouldShowOperatorBlockWarnings
com.mojang.serialization.DataResult (RegistryEntry): lambda$static$1, method_65043, method_65043
String (): lambda$static$0, method_65044, method_65044