Class ItemEntangledChalice

java.lang.Object
net.minecraft.world.item.Item
net.minecraft.world.item.BlockItem
org.cyclops.cyclopscore.item.ItemBlockNBT
org.cyclops.evilcraft.core.item.ItemBlockFluidContainer
org.cyclops.evilcraft.item.ItemEntangledChalice
All Implemented Interfaces:
net.minecraft.world.level.ItemLike, net.minecraftforge.common.extensions.IForgeItem

public class ItemEntangledChalice extends ItemBlockFluidContainer
Specialized item for the BlockEntangledChalice blockState.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     

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

    net.minecraft.world.item.Item.Properties
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static String[]
     

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

    BLOCK_STATE_TAG

    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
  • Constructor Summary

    Constructors
    Constructor
    Description
    ItemEntangledChalice(net.minecraft.world.level.block.Block block, net.minecraft.world.item.Item.Properties properties)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    appendHoverText(net.minecraft.world.item.ItemStack itemStack, net.minecraft.world.level.Level worldIn, List<net.minecraft.network.chat.Component> list, net.minecraft.world.item.TooltipFlag flagIn)
     
    protected void
    autofill(int itemSlot, net.minecraftforge.fluids.capability.IFluidHandlerItem source, net.minecraft.world.level.Level world, net.minecraft.world.entity.Entity entity)
     
    net.minecraftforge.common.capabilities.ICapabilityProvider
    initCapabilities(net.minecraft.world.item.ItemStack stack, net.minecraft.nbt.CompoundTag nbt)
     
    boolean
    isFoil(net.minecraft.world.item.ItemStack itemStack)
     
    protected boolean
    itemStackDataToTile(net.minecraft.world.item.ItemStack itemStack, net.minecraft.world.level.block.entity.BlockEntity tile)
     
    static String
     

    Methods inherited from class org.cyclops.evilcraft.core.item.ItemBlockFluidContainer

    inventoryTick, shouldCauseReequipAnimation, use

    Methods inherited from class org.cyclops.cyclopscore.item.ItemBlockNBT

    updateCustomBlockEntityTag

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

    canFitInsideContainerItems, canPlace, fillItemCategory, getBlock, getBlockEntityData, getDescriptionId, getPlacementState, getPlaceSound, getPlaceSound, mustSurvive, onDestroyed, place, placeBlock, registerBlocks, removeFromBlockToItemMap, setBlockEntityData, updateCustomBlockEntityTag, updatePlacementContext, useOn

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

    allowedIn, asItem, builtInRegistryHolder, byBlock, byId, canAttackBlock, canBeDepleted, canBeHurtBy, finishUsingItem, getBarColor, getBarWidth, getCraftingRemainingItem, getDefaultAttributeModifiers, getDefaultInstance, getDescription, getDescriptionId, getDestroySpeed, getDrinkingSound, getEatingSound, getEnchantmentValue, getEquipSound, getFoodProperties, getId, getItemCategory, getMaxDamage, getMaxStackSize, getName, getOrCreateDescriptionId, getPlayerPOVHitResult, getRarity, getRenderPropertiesInternal, getTooltipImage, getUseAnimation, getUseDuration, hasCraftingRemainingItem, hurtEnemy, initializeClient, interactLivingEntity, isBarVisible, isComplex, isCorrectToolForDrops, isEdible, isEnchantable, isFireResistant, isRepairable, isValidRepairItem, mineBlock, onCraftedBy, onUseTick, overrideOtherStackedOnMe, overrideStackedOnOther, releaseUsing, shouldOverrideMultiplayerNbt, toString, useOnRelease, verifyTagAfterLoad

    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, canWalkOnPowderedSnow, createEntity, damageItem, doesSneakBypassUse, elytraFlightTick, getAllEnchantments, getArmorTexture, getAttributeModifiers, getBurnTime, getContainerItem, getCreativeTabs, getCreatorModId, getDamage, getDefaultTooltipHideFlags, getEnchantmentLevel, getEntityLifespan, getEquipmentSlot, getFoodProperties, getHighlightTip, getItemEnchantability, getItemStackLimit, getMaxDamage, getShareTag, getSweepHitBox, getXpRepairRatio, hasContainerItem, hasCustomEntity, isBookEnchantable, isCorrectToolForDrops, isDamageable, isDamaged, isEnderMask, isPiglinCurrency, makesPiglinsNeutral, onArmorTick, onBlockStartBreak, onDestroyed, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, onHorseArmorTick, onItemUseFirst, onLeftClickEntity, onUsingTick, readShareTag, setDamage, shouldCauseBlockBreakReset
  • Field Details

    • namePartsArray

      public static String[] namePartsArray
  • Constructor Details

    • ItemEntangledChalice

      public ItemEntangledChalice(net.minecraft.world.level.block.Block block, net.minecraft.world.item.Item.Properties properties)
  • Method Details

    • isFoil

      public boolean isFoil(net.minecraft.world.item.ItemStack itemStack)
      Overrides:
      isFoil in class ItemBlockFluidContainer
    • autofill

      protected void autofill(int itemSlot, net.minecraftforge.fluids.capability.IFluidHandlerItem source, net.minecraft.world.level.Level world, net.minecraft.world.entity.Entity entity)
      Overrides:
      autofill in class ItemBlockFluidContainer
    • initCapabilities

      public net.minecraftforge.common.capabilities.ICapabilityProvider initCapabilities(net.minecraft.world.item.ItemStack stack, net.minecraft.nbt.CompoundTag nbt)
      Specified by:
      initCapabilities in interface net.minecraftforge.common.extensions.IForgeItem
      Overrides:
      initCapabilities in class ItemBlockFluidContainer
    • itemStackDataToTile

      protected boolean itemStackDataToTile(net.minecraft.world.item.ItemStack itemStack, net.minecraft.world.level.block.entity.BlockEntity tile)
      Overrides:
      itemStackDataToTile in class ItemBlockFluidContainer
    • appendHoverText

      public void appendHoverText(net.minecraft.world.item.ItemStack itemStack, @Nullable net.minecraft.world.level.Level worldIn, List<net.minecraft.network.chat.Component> list, net.minecraft.world.item.TooltipFlag flagIn)
      Overrides:
      appendHoverText in class ItemBlockFluidContainer
    • tankIdToNameParts

      public static String tankIdToNameParts(String tankId)