Class DupeHackItem

java.lang.Object
net.minecraft.item.Item
net.minecraft.item.DupeHackItem
All Implemented Interfaces:
ItemConvertible, ToggleableFeature

public class DupeHackItem extends Item
Mappings:
Namespace Name
official cid
intermediary net/minecraft/class_8416
named net/minecraft/item/DupeHackItem
  • Constructor Details

    • DupeHackItem

      public DupeHackItem(Item.Settings settings)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcjm;<init>(Lcjm$a;)V
      intermediary <init> Lnet/minecraft/class_1792;<init>(Lnet/minecraft/class_1792$class_1793;)V
      named <init> Lnet/minecraft/item/Item;<init>(Lnet/minecraft/item/Item$Settings;)V
  • Method Details

    • hasRecipeRemainder

      public boolean hasRecipeRemainder()
      Checks if this item has a remainder item that is left behind when used as a crafting ingredient.
      Overrides:
      hasRecipeRemainder in class Item
      Mappings:
      Namespace Name Mixin selector
      official ad_ Lcjm;ad_()Z
      intermediary method_7857 Lnet/minecraft/class_1792;method_7857()Z
      named hasRecipeRemainder Lnet/minecraft/item/Item;hasRecipeRemainder()Z
    • getRecipeRemainder

      @Nullable public @Nullable Item getRecipeRemainder()
      Gets the remainder item that should be left behind when this item is used as a crafting ingredient.
      Overrides:
      getRecipeRemainder in class Item
      Mappings:
      Namespace Name Mixin selector
      official ac_ Lcjm;ac_()Lcjm;
      intermediary method_7858 Lnet/minecraft/class_1792;method_7858()Lnet/minecraft/class_1792;
      named getRecipeRemainder Lnet/minecraft/item/Item;getRecipeRemainder()Lnet/minecraft/item/Item;