| public static com.mojang.serialization.DataResult<ItemStack> | |
| private static PacketCodec<RegistryByteBuf, ItemStack> | |
| public static PacketCodec<RegistryByteBuf, ItemStack> | |
| public Optional<TooltipData> | | getTooltipImage() | | getTooltipImage() | | method_32347() | | getTooltipData() |
|
| public ComponentMap | | getComponents() | | getComponents() | | method_57353() | | getComponents() |
|
| public ComponentMap | | getPrototype() | | getPrototype() | | method_58658() | | getDefaultComponents() |
|
| public ComponentChanges | | getComponentsPatch() | | getComponentsPatch() | | method_57380() | | getComponentChanges() |
|
| public ComponentMap | | immutableComponents() | | immutableComponents() | | method_65359() | | getImmutableComponents() |
|
| public boolean | |
| private static com.mojang.serialization.DataResult<?> | |
| private static com.mojang.serialization.DataResult<?> | |
| public boolean | | isEmpty() | | isEmpty() | | method_7960() | | isEmpty() |
|
| public boolean | |
| public ItemStack | | split(int amount) | | split(int amount) | | method_7971(int arg0) | | split(int amount) |
|
| public ItemStack | | copyAndClear() | | copyAndClear() | | method_51164() | | copyAndEmpty() |
|
| public Item | | getItem() | | getItem() | | method_7909() | | getItem() |
|
| public RegistryEntry<Item> | | typeHolder() | | typeHolder() | | method_40180() | | getRegistryEntry() |
|
| public boolean | |
| public ActionResult | |
| public float | |
| public ActionResult | |
| public ItemStack | |
| private ItemStack | |
| public boolean | | isStackable() | | isStackable() | | method_7946() | | isStackable() |
|
| public boolean | | isDamageableItem() | | isDamageableItem() | | method_7963() | | isDamageable() |
|
| public boolean | | isDamaged() | | isDamaged() | | method_7986() | | isDamaged() |
|
| public int | | getDamageValue() | | getDamageValue() | | method_7919() | | getDamage() |
|
| public void | | setDamageValue(int value) | | setDamageValue(int value) | | method_7974(int arg0) | | setDamage(int damage) |
|
| public int | | getMaxDamage() | | getMaxDamage() | | method_7936() | | getMaxDamage() |
|
| public boolean | | isBroken() | | isBroken() | | method_61657() | | shouldBreak() |
|
| public boolean | | nextDamageWillBreak() | | nextDamageWillBreak() | | method_63692() | | willBreakNextUse() |
|
| public void | | hurtAndBreak(int amount, ServerLevel level, ServerPlayer player, Consumer<Item> onBreak) | | hurtAndBreak(int amount, ServerLevel level, ServerPlayer player, Consumer<Item> onBreak) | | method_7956(int arg0, class_3218 arg1, class_3222 arg2, Consumer<class_1792> arg3) | | damage(int amount, ServerWorld world, ServerPlayerEntity player, Consumer<Item> breakCallback) |
|
| private int | |
| private void | |
| public void | | hurtWithoutBreaking(int amount, Player player) | | hurtWithoutBreaking(int amount, Player player) | | method_61653(int arg0, class_1657 arg1) | | damage(int amount, PlayerEntity player) |
|
| public void | |
| public void | |
| public ItemStack | | hurtAndConvertOnBreak(int amount, ItemLike newItem, LivingEntity owner, EquipmentSlot slot) | | hurtAndConvertOnBreak(int amount, ItemLike newItem, LivingEntity owner, EquipmentSlot slot) | | method_60986(int arg0, class_1935 arg1, class_1309 arg2, class_1304 arg3) | | damage(int amount, ItemConvertible itemAfterBreaking, LivingEntity entity, EquipmentSlot slot) |
|
| public boolean | | isBarVisible() | | isBarVisible() | | method_31578() | | isItemBarVisible() |
|
| public int | | getBarWidth() | | getBarWidth() | | method_31579() | | getItemBarStep() |
|
| public int | | getBarColor() | | getBarColor() | | method_31580() | | getItemBarColor() |
|
| public boolean | |
| public boolean | | overrideOtherStackedOnMe(ItemStack other, Slot slot, ClickAction clickAction, Player player, SlotAccess carriedItem) | | overrideOtherStackedOnMe(ItemStack other, Slot slot, ClickAction clickAction, Player player, SlotAccess carriedItem) | | method_31576(class_1799 arg0, class_1735 arg1, class_5536 arg2, class_1657 arg3, class_5630 arg4) | | onClicked(ItemStack stack, Slot slot, ClickType clickType, PlayerEntity player, StackReference cursorStackReference) |
|
| public boolean | |
| public void | |
| public void | | mineBlock(Level level, BlockState state, BlockPos pos, Player owner) | | mineBlock(Level level, BlockState state, BlockPos pos, Player owner) | | method_7952(class_1937 arg0, class_2680 arg1, class_2338 arg2, class_1657 arg3) | | postMine(World world, BlockState state, BlockPos pos, PlayerEntity miner) |
|
| public boolean | |
| public ActionResult | |
| public ItemStack | | copy() | | copy() | | method_7972() | | copy() |
|
| public ItemStack | | copyWithCount(int count) | | copyWithCount(int count) | | method_46651(int arg0) | | copyWithCount(int count) |
|
| public ItemStack | |
| public ItemStack | |
| private ItemStack | | transmuteCopyIgnoreEmpty(ItemLike newItem, int newCount) | | transmuteCopyIgnoreEmpty(ItemLike newItem, int newCount) | | method_56704(class_1935 arg0, int arg1) | | copyComponentsToNewStackIgnoreEmpty(ItemConvertible item, int count) |
|
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static com.mojang.serialization.MapCodec<ItemStack> | | lenientOptionalFieldOf(String name) | | lenientOptionalFieldOf(String name) | | method_56702(String arg0) | | createOptionalCodec(String fieldName) |
|
| public static int | |
| public static int | |
| public void | |
| public void | | onCraftedBy(Player player, int craftCount) | | onCraftedBy(Player player, int craftCount) | | method_7982(class_1657 arg0, int arg1) | | onCraftByPlayer(PlayerEntity player, int amount) |
|
| public void | |
| public int | |
| public UseAction | | getUseAnimation() | | getUseAnimation() | | method_7976() | | getUseAction() |
|
| public void | |
| public void | |
| public boolean | | useOnRelease() | | useOnRelease() | | method_7967() | | isUsedOnRelease() |
|
| public <T> T | |
| public <T> T | |
| public <T> void | |
| public <T, U> T | | update(DataComponentType<T> type, T defaultValue, U value, BiFunction<T, U, T> combiner) | | update(DataComponentType<T> type, T defaultValue, U value, BiFunction<T, U, T> combiner) | | method_57367(class_9331<T> arg0, T arg1, U arg2, BiFunction<T, U, T> arg3) | | apply(ComponentType<T> type, T defaultValue, U change, BiFunction<T, U, T> applier) |
|
| public <T> T | |
| public <T> T | |
| public void | |
| public void | |
| public void | |
| public Text | | getHoverName() | | getHoverName() | | method_7964() | | getName() |
|
| public Text | | getCustomName() | | getCustomName() | | method_65130() | | getCustomName() |
|
| public Text | | getItemName() | | getItemName() | | method_63693() | | getItemName() |
|
| public Text | | getStyledHoverName() | | getStyledHoverName() | | method_63015() | | getFormattedName() |
|
| public <T extends TooltipAppender> void | | addToTooltip(DataComponentType<T> type, Item$TooltipContext context, TooltipDisplay display, Consumer<Component> consumer, TooltipFlag flag) | | addToTooltip(DataComponentType<T> type, Item$TooltipContext context, TooltipDisplay display, Consumer<Component> consumer, TooltipFlag flag) | | method_57369(class_9331<T> arg0, class_1792$class_9635 arg1, class_10712 arg2, Consumer<class_2561> arg3, class_1836 arg4) | | appendComponentTooltip(ComponentType<T> componentType, Item$TooltipContext context, TooltipDisplayComponent displayComponent, Consumer<Text> textConsumer, TooltipType type) |
|
| public List<Text> | |
| public void | | addDetailsToTooltip(Item$TooltipContext context, TooltipDisplay display, Player player, TooltipFlag tooltipFlag, Consumer<Component> builder) | | addDetailsToTooltip(Item$TooltipContext context, TooltipDisplay display, Player player, TooltipFlag tooltipFlag, Consumer<Component> builder) | | method_67194(class_1792$class_9635 arg0, class_10712 arg1, class_1657 arg2, class_1836 arg3, Consumer<class_2561> arg4) | | appendTooltip(Item$TooltipContext context, TooltipDisplayComponent displayComponent, PlayerEntity player, TooltipType type, Consumer<Text> textConsumer) |
|
| private void | | addUnitComponentToTooltip(DataComponentType<?> dataComponentType, Component component, TooltipDisplay display, Consumer<Component> builder) | | addUnitComponentToTooltip(DataComponentType<?> dataComponentType, Component component, TooltipDisplay display, Consumer<Component> builder) | | method_75223(class_9331<?> arg0, class_2561 arg1, class_10712 arg2, Consumer<class_2561> arg3) | | appendTooltipIfComponentExists(ComponentType<?> type, Text tooltip, TooltipDisplayComponent displayComponent, Consumer<Text> textConsumer) |
|
| private void | |
| public boolean | | hasFoil() | | hasFoil() | | method_7958() | | hasGlint() |
|
| public Rarity | | getRarity() | | getRarity() | | method_7932() | | getRarity() |
|
| public boolean | | isEnchantable() | | isEnchantable() | | method_7923() | | isEnchantable() |
|
| public void | |
| public boolean | | isEnchanted() | | isEnchanted() | | method_7942() | | hasEnchantments() |
|
| public ItemEnchantmentsComponent | | getEnchantments() | | getEnchantments() | | method_58657() | | getEnchantments() |
|
| public void | | forEachModifier(EquipmentSlotGroup slot, org.apache.commons.lang3.function.TriConsumer<Holder<Attribute>, AttributeModifier, ItemAttributeModifiers$Display> consumer) | | forEachModifier(EquipmentSlotGroup slot, org.apache.commons.lang3.function.TriConsumer<Holder<Attribute>, AttributeModifier, ItemAttributeModifiers$Display> consumer) | | method_60617(class_9274 arg0, org.apache.commons.lang3.function.TriConsumer<class_6880<class_1320>, class_1322, class_9285$class_11193> arg1) | | applyAttributeModifier(AttributeModifierSlot slot, org.apache.commons.lang3.function.TriConsumer<RegistryEntry<EntityAttribute>, EntityAttributeModifier, AttributeModifiersComponent$Display> attributeModifierConsumer) |
|
| public void | |
| public Text | | getDisplayName() | | getDisplayName() | | method_7954() | | toHoverableText() |
|
| public SwingAnimationComponent | | getSwingAnimation() | | getSwingAnimation() | | method_75218() | | getSwingAnimation() |
|
| public boolean | |
| public boolean | |
| public int | | getPopTime() | | getPopTime() | | method_7965() | | getBobbingAnimationTime() |
|
| public void | | setPopTime(int popTime) | | setPopTime(int popTime) | | method_7912(int arg0) | | setBobbingAnimationTime(int bobbingAnimationTime) |
|
| public int | | getCount() | | getCount() | | method_7947() | | getCount() |
|
| public int | | count() | | count() | | comp_1_67() | | count() |
|
| public void | | setCount(int count) | | setCount(int count) | | method_7939(int arg0) | | setCount(int count) |
|
| public void | | limitSize(int maxStackSize) | | limitSize(int maxStackSize) | | method_58408(int arg0) | | capCount(int maxCount) |
|
| public void | | grow(int amount) | | grow(int amount) | | method_7933(int arg0) | | increment(int amount) |
|
| public void | | shrink(int amount) | | shrink(int amount) | | method_7934(int arg0) | | decrement(int amount) |
|
| public void | |
| public ItemStack | |
| public void | |
| public void | |
| public boolean | |
| public boolean | |
| public boolean | | canDestroyBlock(BlockState state, Level level, BlockPos pos, Player player) | | canDestroyBlock(BlockState state, Level level, BlockPos pos, Player player) | | method_66334(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3) | | canMine(BlockState state, World world, BlockPos pos, PlayerEntity player) |
|
| public DamageSource | |