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 cidintermediary net/minecraft/class_8416named 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_STEPSFields 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.booleanChecks 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, useOnEntityMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeature
isEnabled
-
Constructor Details
-
DupeHackItem
- Mappings:
Namespace Name Mixin selector official <init>Lcjm;<init>(Lcjm$a;)Vintermediary <init>Lnet/minecraft/class_1792;<init>(Lnet/minecraft/class_1792$class_1793;)Vnamed <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:
hasRecipeRemainderin classItem- Mappings:
Namespace Name Mixin selector official ad_Lcjm;ad_()Zintermediary method_7857Lnet/minecraft/class_1792;method_7857()Znamed hasRecipeRemainderLnet/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:
getRecipeRemainderin classItem- Mappings:
Namespace Name Mixin selector official ac_Lcjm;ac_()Lcjm;intermediary method_7858Lnet/minecraft/class_1792;method_7858()Lnet/minecraft/class_1792;named getRecipeRemainderLnet/minecraft/item/Item;getRecipeRemainder()Lnet/minecraft/item/Item;
-