Class MCItemStack
java.lang.Object
com.blamejared.crafttweaker.api.item.MCItemStack
- All Implemented Interfaces:
CommandStringDisplayable,IIngredient,IIngredientWithAmount,ForgeItemStack,IItemStack
-
Field Summary
Fields inherited from interface com.blamejared.crafttweaker.api.item.IItemStack
BASE_ATTACK_DAMAGE_UUID, BASE_ATTACK_SPEED_UUID, CRAFTTWEAKER_DATA_KEY -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.blamejared.crafttweaker.api.item.ForgeItemStack
canPerformAction, getBurnTime, getBurnTime, getRemainingItem, setBurnTimeMethods inherited from interface com.blamejared.crafttweaker.api.ingredient.IIngredient
addGlobalAttributeModifier, addGlobalAttributeModifier, addGlobalAttributeModifier, addShiftTooltip, addTooltip, anyDamage, asMapData, clearTooltip, contains, matches, modifyShiftTooltip, modifyTooltip, mul, only, onlyDamaged, onlyDamagedAtLeast, onlyDamagedAtMost, onlyIf, or, removeGlobalAttribute, removeGlobalAttributeModifier, removeGlobalAttributeModifier, removeTooltip, reuse, setBurnTime, transform, transformCustom, transformDamage, transformReplaceMethods inherited from interface com.blamejared.crafttweaker.api.item.IItemStack
asIData, asIIngredientWithAmount, asItemLike, asVanillaIngredient, asWeightedItemStack, getAmount, getAttributes, getBaseRepairCost, getCommandString, getDamage, getDefinition, getDescriptionId, getDisplayName, getEnchantmentLevel, getEnchantments, getFood, getHoverName, getImmutableInternal, getIngredient, getMaxDamage, getMaxStackSize, getOrCreateTag, getOwner, getRarity, getRegistryName, getTag, getUseDuration, grow, hasDisplayName, hasFoil, hasTag, isDamageableItem, isDamaged, isEdible, isEmpty, isEnchantable, isEnchanted, isFireResistant, isMutable, isStackable, matches, percent, removeEnchantment, resetHoverName, setAmount, setEnchantments, setFireResistant, setFood, setMaxDamage, setMaxStackSize, setRarity, shrink, useOnRelease, withAttributeModifier, withAttributeModifier, withAttributeModifier, withDamage, withDisplayName, withEnchantment, withLore, withoutTag, withTag
-
Constructor Details
-
MCItemStack
public MCItemStack(net.minecraft.world.item.ItemStack internal)
-
-
Method Details
-
getItems
- Specified by:
getItemsin interfaceIIngredient
-
copy
Description copied from interface:IItemStackCreates a copy- Specified by:
copyin interfaceIItemStack
-
asMutable
- Specified by:
asMutablein interfaceIItemStack
-
asImmutable
- Specified by:
asImmutablein interfaceIItemStack
-
isImmutable
public boolean isImmutable()- Specified by:
isImmutablein interfaceIItemStack
-
getInternal
public net.minecraft.world.item.ItemStack getInternal()Description copied from interface:IItemStackGets the internalItemStackfor this IItemStack.- Specified by:
getInternalin interfaceIItemStack- Returns:
- internal ItemStack
-
modify
- Specified by:
modifyin interfaceIItemStack
-
equals
-
hashCode
public int hashCode() -
toString
-