Class CopperBacktankItem

java.lang.Object
net.minecraftforge.registries.ForgeRegistryEntry<net.minecraft.world.item.Item>
net.minecraft.world.item.Item
net.minecraft.world.item.ArmorItem
com.simibubi.create.content.curiosities.armor.CopperArmorItem
com.simibubi.create.content.curiosities.armor.CopperBacktankItem
All Implemented Interfaces:
CapacityEnchantment.ICapacityEnchantable, net.minecraft.world.item.Vanishable, net.minecraft.world.item.Wearable, net.minecraft.world.level.ItemLike, net.minecraftforge.common.extensions.IForgeItem, net.minecraftforge.registries.IForgeRegistryEntry<net.minecraft.world.item.Item>

public class CopperBacktankItem extends CopperArmorItem implements CapacityEnchantment.ICapacityEnchantable
  • Nested Class Summary

    Nested classes/interfaces inherited from class net.minecraft.world.item.Item

    net.minecraft.world.item.Item.Properties

    Nested classes/interfaces inherited from class net.minecraftforge.registries.ForgeRegistryEntry

    net.minecraftforge.registries.ForgeRegistryEntry.UncheckedRegistryEntry<V extends net.minecraftforge.registries.IForgeRegistryEntry<V>>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     

    Fields inherited from class com.simibubi.create.content.curiosities.armor.CopperArmorItem

    TEXTURE

    Fields inherited from class net.minecraft.world.item.ArmorItem

    DISPENSE_ITEM_BEHAVIOR, knockbackResistance, material, slot

    Fields inherited from class net.minecraft.world.item.Item

    BASE_ATTACK_DAMAGE_UUID, BASE_ATTACK_SPEED_UUID, BY_BLOCK, canRepair, category, EAT_DURATION, MAX_BAR_WIDTH, MAX_STACK_SIZE

    Fields inherited from class net.minecraftforge.registries.ForgeRegistryEntry

    delegate
  • Constructor Summary

    Constructors
    Constructor
    Description
    CopperBacktankItem(net.minecraft.world.item.Item.Properties p_i48534_3_, net.minecraft.world.item.BlockItem blockItem)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    void
    fillItemCategory(net.minecraft.world.item.CreativeModeTab p_150895_1_, net.minecraft.core.NonNullList<net.minecraft.world.item.ItemStack> p_150895_2_)
     
    int
    getBarColor(net.minecraft.world.item.ItemStack stack)
     
    int
    getBarWidth(net.minecraft.world.item.ItemStack stack)
     
    static int
    getRemainingAir(net.minecraft.world.item.ItemStack stack)
     
    boolean
    isBarVisible(net.minecraft.world.item.ItemStack stack)
     
    boolean
    isEnchantable(net.minecraft.world.item.ItemStack p_77616_1_)
     
    net.minecraft.world.InteractionResult
    useOn(net.minecraft.world.item.context.UseOnContext p_195939_1_)
     

    Methods inherited from class com.simibubi.create.content.curiosities.armor.CopperArmorItem

    getArmorTexture, isWornBy

    Methods inherited from class net.minecraft.world.item.ArmorItem

    dispenseArmor, getDefaultAttributeModifiers, getDefense, getEnchantmentValue, getEquipSound, getMaterial, getSlot, getToughness, isValidRepairItem, use

    Methods inherited from class net.minecraft.world.item.Item

    allowdedIn, appendHoverText, asItem, byBlock, byId, canAttackBlock, canBeHurtBy, canFitInsideContainerItems, finishUsingItem, getCraftingRemainingItem, getDefaultInstance, getDescription, getDescriptionId, getDescriptionId, getDestroySpeed, getDrinkingSound, getEatingSound, getFoodProperties, getId, getItemCategory, getMaxDamage, getMaxStackSize, getName, getOrCreateDescriptionId, getPlayerPOVHitResult, getRarity, getRenderPropertiesInternal, getTags, getTooltipImage, getUseAnimation, getUseDuration, hasCraftingRemainingItem, hurtEnemy, initializeClient, interactLivingEntity, inventoryTick, isComplex, isCorrectToolForDrops, isEdible, isFireResistant, isFoil, isRepairable, mineBlock, onCraftedBy, onDestroyed, onUseTick, overrideOtherStackedOnMe, overrideStackedOnOther, releaseUsing, shouldOverrideMultiplayerNbt, toString, useOnRelease, verifyTagAfterLoad

    Methods inherited from class net.minecraftforge.registries.ForgeRegistryEntry

    getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface net.minecraftforge.common.extensions.IForgeItem

    canApplyAtEnchantingTable, canContinueUsing, canDisableShield, canElytraFly, canEquip, canPerformAction, createEntity, damageItem, doesSneakBypassUse, elytraFlightTick, getAttributeModifiers, getBurnTime, getContainerItem, getCreativeTabs, getCreatorModId, getDamage, getEntityLifespan, getEquipmentSlot, getHighlightTip, getItemEnchantability, getItemStackLimit, getMaxDamage, getShareTag, getSweepHitBox, getXpRepairRatio, hasContainerItem, hasCustomEntity, initCapabilities, isBookEnchantable, isCorrectToolForDrops, isDamageable, isDamaged, isEnderMask, isPiglinCurrency, makesPiglinsNeutral, onArmorTick, onBlockStartBreak, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, onHorseArmorTick, onItemUseFirst, onLeftClickEntity, onUsingTick, readShareTag, setDamage, shouldCauseBlockBreakReset, shouldCauseReequipAnimation
  • Field Details

  • Constructor Details

    • CopperBacktankItem

      public CopperBacktankItem(net.minecraft.world.item.Item.Properties p_i48534_3_, net.minecraft.world.item.BlockItem blockItem)
  • Method Details

    • useOn

      public net.minecraft.world.InteractionResult useOn(net.minecraft.world.item.context.UseOnContext p_195939_1_)
      Overrides:
      useOn in class net.minecraft.world.item.Item
    • canBeDepleted

      public boolean canBeDepleted()
      Overrides:
      canBeDepleted in class net.minecraft.world.item.Item
    • isEnchantable

      public boolean isEnchantable(net.minecraft.world.item.ItemStack p_77616_1_)
      Overrides:
      isEnchantable in class net.minecraft.world.item.Item
    • fillItemCategory

      public void fillItemCategory(net.minecraft.world.item.CreativeModeTab p_150895_1_, net.minecraft.core.NonNullList<net.minecraft.world.item.ItemStack> p_150895_2_)
      Overrides:
      fillItemCategory in class net.minecraft.world.item.Item
    • isBarVisible

      public boolean isBarVisible(net.minecraft.world.item.ItemStack stack)
      Overrides:
      isBarVisible in class net.minecraft.world.item.Item
    • getBarWidth

      public int getBarWidth(net.minecraft.world.item.ItemStack stack)
      Overrides:
      getBarWidth in class net.minecraft.world.item.Item
    • getBarColor

      public int getBarColor(net.minecraft.world.item.ItemStack stack)
      Overrides:
      getBarColor in class net.minecraft.world.item.Item
    • getRemainingAir

      public static int getRemainingAir(net.minecraft.world.item.ItemStack stack)