Package net.minecraft.item
Class DupeHackItem
java.lang.Object
net.minecraft.item.Item
net.minecraft.item.DupeHackItem
- All Implemented Interfaces:
ItemConvertible
,ToggleableFeature
- Mappings:
Namespace Name official cid
intermediary net/minecraft/class_8416
named net/minecraft/item/DupeHackItem
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.item.Item
Item.Settings
-
Field Summary
Fields inherited from class net.minecraft.item.Item
ATTACK_DAMAGE_MODIFIER_ID, ATTACK_SPEED_MODIFIER_ID, BLOCK_ITEMS, DEFAULT_MAX_COUNT, DEFAULT_MAX_USE_TIME, field_44155, foodComponent, ITEM_BAR_STEPS
Fields inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeature
FEATURE_ENABLED_REGISTRY_KEYS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the remainder item that should be left behind when this item is used as a crafting ingredient.boolean
Checks if this item has a remainder item that is left behind when used as a crafting ingredient.Methods inherited from class net.minecraft.item.Item
appendTooltip, asItem, byRawId, canBeNested, canMine, canRepair, damage, finishUsing, fromBlock, getAttributeModifiers, getDefaultStack, getDrinkSound, getEatSound, getEnchantability, getFoodComponent, getItemBarColor, getItemBarStep, getMaxCount, getMaxDamage, getMaxUseTime, getMiningSpeedMultiplier, getName, getName, getOrCreateTranslationKey, getRarity, getRawId, getRegistryEntry, getRequiredFeatures, getTooltipData, getTranslationKey, getTranslationKey, getUseAction, hasGlint, inventoryTick, isDamageable, isEnchantable, isFireproof, isFood, isItemBarVisible, isNbtSynced, isNetworkSynced, isSuitableFor, isUsedOnRelease, onClicked, onCraft, onItemEntityDestroyed, onStackClicked, onStoppedUsing, postHit, postMine, postProcessNbt, raycast, toString, usageTick, use, useOnBlock, useOnEntity
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeature
isEnabled
-
Constructor Details
-
DupeHackItem
- 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 classItem
- 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
Gets the remainder item that should be left behind when this item is used as a crafting ingredient.- Overrides:
getRecipeRemainder
in classItem
- 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;
-