private static com.mojang.serialization.DataResult<ItemStack> | |
public static StreamCodec<RegistryFriendlyByteBuf, ItemStack> | |
public Optional<TooltipComponent> | | b() | | getTooltipImage() | | method_32347() | | getTooltipData() | | m_150921_() |
|
public DataComponentMap | | a() | | getComponents() | | method_57353() | | getComponents() | | m_318732_() |
|
public DataComponentMap | | c() | | getPrototype() | | method_58658() | | getDefaultComponents() | | m_322741_() |
|
public DataComponentPatch | | d() | | getComponentsPatch() | | method_57380() | | getComponentChanges() | | m_324277_() |
|
public static com.mojang.serialization.DataResult<Unit> | |
public static Optional<ItemStack> | |
public static ItemStack | |
public boolean | | e() | | isEmpty() | | method_7960() | | isEmpty() | | m_41619_() |
|
public boolean | |
public ItemStack | | a(int arg0) | | split(int arg0) | | method_7971(int arg0) | | split(int amount) | | m_41620_(int arg0) |
|
public ItemStack | | f() | | copyAndClear() | | method_51164() | | copyAndEmpty() | | m_278832_() |
|
public Item | | g() | | getItem() | | method_7909() | | getItem() | | m_41720_() |
|
public Holder<Item> | | h() | | getItemHolder() | | method_41409() | | getRegistryEntry() | | m_220173_() |
|
public boolean | |
public boolean | |
public boolean | |
public boolean | |
public boolean | |
public Stream<TagKey<Item>> | | i() | | getTags() | | method_40133() | | streamTags() | | m_204131_() |
|
public InteractionResult | |
public float | |
public InteractionResultHolder<ItemStack> | | a(dcw arg0, cmx arg1, bqq arg2) | | use(Level arg0, Player arg1, InteractionHand arg2) | | method_7913(class_1937 arg0, class_1657 arg1, class_1268 arg2) | | use(World world, PlayerEntity user, Hand hand) | | m_41682_(C_1596_ p_41684_, C_1141_ p_41685_, C_470_ arg2) |
|
public ItemStack | |
public Tag | |
public Tag | |
public Tag | |
public int | | j() | | getMaxStackSize() | | method_7914() | | getMaxCount() | | m_41741_() |
|
public boolean | | k() | | isStackable() | | method_7946() | | isStackable() | | m_41753_() |
|
public boolean | | l() | | isDamageableItem() | | method_7963() | | isDamageable() | | m_41763_() |
|
public boolean | | m() | | isDamaged() | | method_7986() | | isDamaged() | | m_41768_() |
|
public int | | n() | | getDamageValue() | | method_7919() | | getDamage() | | m_41773_() |
|
public void | | b(int arg0) | | setDamageValue(int arg0) | | method_7974(int arg0) | | setDamage(int damage) | | m_41721_(int arg0) |
|
public int | | o() | | getMaxDamage() | | method_7936() | | getMaxDamage() | | m_41776_() |
|
public void | | a(int arg0, aqu arg1, aqv arg2, Consumer<cul> arg3) | | hurtAndBreak(int arg0, ServerLevel arg1, ServerPlayer arg2, Consumer<Item> arg3) | | method_7956(int arg0, class_3218 arg1, class_3222 arg2, Consumer<class_1792> arg3) | | damage(int amount, ServerWorld world, ServerPlayerEntity player, Consumer<Item> breakCallback) | | m_220157_(int p_342197_, C_12_ p_220160_, C_13_ p_343361_, Consumer<C_1381_> arg3) |
|
public void | | a(int arg0, btn arg1, bsy arg2) | | hurtAndBreak(int arg0, LivingEntity arg1, EquipmentSlot arg2) | | method_7970(int arg0, class_1309 arg1, class_1304 arg2) | | damage(int amount, LivingEntity entity, EquipmentSlot slot) | | m_41622_(int p_41624_, C_524_ p_335324_, C_516_ arg2) |
|
public ItemStack | | a(int arg0, dcv arg1, btn arg2, bsy arg3) | | hurtAndConvertOnBreak(int arg0, ItemLike arg1, LivingEntity arg2, EquipmentSlot arg3) | | method_60986(int arg0, class_1935 arg1, class_1309 arg2, class_1304 arg3) | | damage(int amount, ItemConvertible itemAfterBreaking, LivingEntity entity, EquipmentSlot slot) | | m_340236_(int p_344647_, C_1595_ p_342270_, C_524_ p_345347_, C_516_ arg3) |
|
public boolean | | p() | | isBarVisible() | | method_31578() | | isItemBarVisible() | | m_150947_() |
|
public int | | q() | | getBarWidth() | | method_31579() | | getItemBarStep() | | m_150948_() |
|
public int | | r() | | getBarColor() | | method_31580() | | getItemBarColor() | | m_150949_() |
|
public boolean | | a(crq arg0, cqd arg1, cmx arg2) | | overrideStackedOnOther(Slot arg0, ClickAction arg1, Player arg2) | | method_31575(class_1735 arg0, class_5536 arg1, class_1657 arg2) | | onStackClicked(Slot slot, ClickType clickType, PlayerEntity player) | | m_150926_(C_1305_ p_150928_, C_141163_ p_150929_, C_1141_ arg2) |
|
public boolean | | a(cuq arg0, crq arg1, cqd arg2, cmx arg3, bug arg4) | | overrideOtherStackedOnMe(ItemStack arg0, Slot arg1, ClickAction arg2, Player arg3, SlotAccess arg4) | | 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) | | m_150932_(C_1391_ p_150934_, C_1305_ p_150935_, C_141163_ p_150936_, C_1141_ p_150937_, C_141073_ arg4) |
|
public boolean | |
public void | |
public void | | a(dcw arg0, dtc arg1, jd arg2, cmx arg3) | | mineBlock(Level arg0, BlockState arg1, BlockPos arg2, Player arg3) | | method_7952(class_1937 arg0, class_2680 arg1, class_2338 arg2, class_1657 arg3) | | postMine(World world, BlockState state, BlockPos pos, PlayerEntity miner) | | m_41686_(C_1596_ p_41688_, C_2064_ p_41689_, C_4675_ p_41690_, C_1141_ arg3) |
|
public boolean | |
public InteractionResult | | a(cmx arg0, btn arg1, bqq arg2) | | interactLivingEntity(Player arg0, LivingEntity arg1, InteractionHand arg2) | | method_7920(class_1657 arg0, class_1309 arg1, class_1268 arg2) | | useOnEntity(PlayerEntity user, LivingEntity entity, Hand hand) | | m_41647_(C_1141_ p_41649_, C_524_ p_41650_, C_470_ arg2) |
|
public ItemStack | | s() | | copy() | | method_7972() | | copy() | | m_41777_() |
|
public ItemStack | | c(int arg0) | | copyWithCount(int arg0) | | method_46651(int arg0) | | copyWithCount(int count) | | m_255036_(int arg0) |
|
public ItemStack | |
public ItemStack | |
private ItemStack | | b(dcv arg0, int arg1) | | transmuteCopyIgnoreEmpty(ItemLike arg0, int arg1) | | method_56704(class_1935 arg0, int arg1) | | copyComponentsToNewStackIgnoreEmpty(ItemConvertible item, int count) | | m_320013_(C_1595_ p_333334_, int arg1) |
|
public static boolean | |
public static boolean | |
public static boolean | |
public static boolean | |
public static com.mojang.serialization.MapCodec<ItemStack> | |
public static int | |
public static int | |
public String | | t() | | getDescriptionId() | | method_7922() | | getTranslationKey() | | m_41778_() |
|
public void | | a(dcw arg0, bsr arg1, int arg2, boolean arg3) | | inventoryTick(Level arg0, Entity arg1, int arg2, boolean arg3) | | method_7917(class_1937 arg0, class_1297 arg1, int arg2, boolean arg3) | | inventoryTick(World world, Entity entity, int slot, boolean selected) | | m_41666_(C_1596_ p_41668_, C_507_ p_41669_, int p_41670_, boolean arg3) |
|
public void | | a(dcw arg0, cmx arg1, int arg2) | | onCraftedBy(Level arg0, Player arg1, int arg2) | | method_7982(class_1937 arg0, class_1657 arg1, int arg2) | | onCraftByPlayer(World world, PlayerEntity player, int amount) | | m_41678_(C_1596_ p_41680_, C_1141_ p_41681_, int arg2) |
|
public void | |
public int | |
public UseAnim | | u() | | getUseAnimation() | | method_7976() | | getUseAction() | | m_41780_() |
|
public void | | a(dcw arg0, btn arg1, int arg2) | | releaseUsing(Level arg0, LivingEntity arg1, int arg2) | | method_7930(class_1937 arg0, class_1309 arg1, int arg2) | | onStoppedUsing(World world, LivingEntity user, int remainingUseTicks) | | m_41674_(C_1596_ p_41676_, C_524_ p_41677_, int arg2) |
|
public boolean | | v() | | useOnRelease() | | method_7967() | | isUsedOnRelease() | | m_41781_() |
|
public <T> T | |
public <T, U> T | | a(kp<T> arg0, T arg1, U arg2, BiFunction<T, U, T> arg3) | | update(DataComponentType<T> arg0, T arg1, U arg2, BiFunction<T, U, T> arg3) | | 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) | | m_324919_(C_313543_<T> p_327708_, T p_332086_, U p_329834_, BiFunction<T, U, T> arg3) |
|
public <T> T | | a(kp<T> arg0, T arg1, UnaryOperator<T> arg2) | | update(DataComponentType<T> arg0, T arg1, UnaryOperator<T> arg2) | | method_57368(class_9331<T> arg0, T arg1, UnaryOperator<T> arg2) | | apply(ComponentType<T> type, T defaultValue, UnaryOperator<T> applier) | | m_322591_(C_313543_<T> p_329705_, T p_335114_, UnaryOperator<T> arg2) |
|
public <T> T | |
public void | |
public void | |
public void | |
public Component | | w() | | getHoverName() | | method_7964() | | getName() | | m_41786_() |
|
private <T extends TooltipProvider> void | | a(kp<T> arg0, cul$b arg1, Consumer<wz> arg2, cwm arg3) | | addToTooltip(DataComponentType<T> arg0, Item$TooltipContext arg1, Consumer<Component> arg2, TooltipFlag arg3) | | method_57369(class_9331<T> arg0, class_1792$class_9635 arg1, Consumer<class_2561> arg2, class_1836 arg3) | | appendTooltip(ComponentType<T> componentType, Item$TooltipContext context, Consumer<Text> textConsumer, TooltipType type) | | m_319928_(C_313543_<T> p_333562_, C_1381_$C_313602_ p_334534_, Consumer<C_4996_> p_333715_, C_1431_ arg3) |
|
public List<Component> | | a(cul$b arg0, cmx arg1, cwm arg2) | | getTooltipLines(Item$TooltipContext arg0, Player arg1, TooltipFlag arg2) | | method_7950(class_1792$class_9635 arg0, class_1657 arg1, class_1836 arg2) | | getTooltip(Item$TooltipContext context, PlayerEntity player, TooltipType type) | | m_41651_(C_1381_$C_313602_ p_41652_, C_1141_ p_41653_, C_1431_ arg2) |
|
private void | |
private void | | a(Consumer<wz> arg0, cmx arg1, jm<bur> arg2, buu arg3) | | addModifierTooltip(Consumer<Component> arg0, Player arg1, Holder<Attribute> arg2, AttributeModifier arg3) | | method_57364(Consumer<class_2561> arg0, class_1657 arg1, class_6880<class_1320> arg2, class_1322 arg3) | | appendAttributeModifierTooltip(Consumer<Text> textConsumer, PlayerEntity player, RegistryEntry<EntityAttribute> attribute, EntityAttributeModifier modifier) | | m_322829_(Consumer<C_4996_> p_328442_, C_1141_ p_336373_, C_203228_<C_552_> p_332746_, C_555_ arg3) |
|
public boolean | | x() | | hasFoil() | | method_7958() | | hasGlint() | | m_41790_() |
|
public Rarity | | y() | | getRarity() | | method_7932() | | getRarity() | | m_41791_() |
|
public boolean | | z() | | isEnchantable() | | method_7923() | | isEnchantable() | | m_41792_() |
|
public void | |
public boolean | | A() | | isEnchanted() | | method_7942() | | hasEnchantments() | | m_41793_() |
|
public ItemEnchantments | | B() | | getEnchantments() | | method_58657() | | getEnchantments() | | m_319737_() |
|
public boolean | | C() | | isFramed() | | method_7961() | | isInFrame() | | m_41794_() |
|
public void | |
public ItemFrame | | D() | | getFrame() | | method_7945() | | getFrame() | | m_41795_() |
|
public Entity | | E() | | getEntityRepresentation() | | method_27319() | | getHolder() | | m_41609_() |
|
public void | | a(bsz arg0, BiConsumer<jm<bur>, buu> arg1) | | forEachModifier(EquipmentSlotGroup arg0, BiConsumer<Holder<Attribute>, AttributeModifier> arg1) | | method_60617(class_9274 arg0, BiConsumer<class_6880<class_1320>, class_1322> arg1) | | applyAttributeModifier(AttributeModifierSlot slot, BiConsumer<RegistryEntry<EntityAttribute>, EntityAttributeModifier> attributeModifierConsumer) | | m_339103_(C_313414_ p_342345_, BiConsumer<C_203228_<C_552_>, C_555_> arg1) |
|
public void | | a(bsy arg0, BiConsumer<jm<bur>, buu> arg1) | | forEachModifier(EquipmentSlot arg0, BiConsumer<Holder<Attribute>, AttributeModifier> arg1) | | method_57354(class_1304 arg0, BiConsumer<class_6880<class_1320>, class_1322> arg1) | | applyAttributeModifiers(EquipmentSlot slot, BiConsumer<RegistryEntry<EntityAttribute>, EntityAttributeModifier> attributeModifierConsumer) | | m_321237_(C_516_ p_334430_, BiConsumer<C_203228_<C_552_>, C_555_> arg1) |
|
public Component | | F() | | getDisplayName() | | method_7954() | | toHoverableText() | | m_41611_() |
|
public boolean | |
public boolean | |
public int | | G() | | getPopTime() | | method_7965() | | getBobbingAnimationTime() | | m_41612_() |
|
public void | | d(int arg0) | | setPopTime(int arg0) | | method_7912(int arg0) | | setBobbingAnimationTime(int bobbingAnimationTime) | | m_41754_(int arg0) |
|
public int | | H() | | getCount() | | method_7947() | | getCount() | | m_41613_() |
|
public void | | e(int arg0) | | setCount(int arg0) | | method_7939(int arg0) | | setCount(int count) | | m_41764_(int arg0) |
|
public void | | f(int arg0) | | limitSize(int arg0) | | method_58408(int arg0) | | capCount(int maxCount) | | m_324521_(int arg0) |
|
public void | | g(int arg0) | | grow(int arg0) | | method_7933(int arg0) | | increment(int amount) | | m_41769_(int arg0) |
|
public void | | h(int arg0) | | shrink(int arg0) | | method_7934(int arg0) | | decrement(int amount) | | m_41774_(int arg0) |
|
public void | |
public ItemStack | |
public void | | b(dcw arg0, btn arg1, int arg2) | | onUseTick(Level arg0, LivingEntity arg1, int arg2) | | method_7949(class_1937 arg0, class_1309 arg1, int arg2) | | usageTick(World world, LivingEntity user, int remainingUseTicks) | | m_41731_(C_1596_ p_41733_, C_524_ p_41734_, int arg2) |
|
public void | |
public SoundEvent | | I() | | getDrinkingSound() | | method_21832() | | getDrinkSound() | | m_41615_() |
|
public SoundEvent | | J() | | getEatingSound() | | method_21833() | | getEatSound() | | m_41616_() |
|
public SoundEvent | | K() | | getBreakingSound() | | method_57351() | | getBreakSound() | | m_321057_() |
|
public boolean | |