Class HTUniversalChestBlockItem

  • All Implemented Interfaces:
    hiiragi283.core.api.item.HTSubCreativeTabContents , net.minecraft.world.flag.FeatureElement , net.minecraft.world.level.ItemLike , net.neoforged.neoforge.common.extensions.IItemExtension

    
    public final class HTUniversalChestBlockItem
    extends HTDescriptionBlockItem<HTUniversalChestBlock> implements HTSubCreativeTabContents
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      InteractionResultHolder<ItemStack> use(Level level, Player player, InteractionHand usedHand)
      Unit addItems(HTItemHolderLike<?> baseItem, HTSubCreativeTabContents.Context context)
      Boolean shouldAddDefault()
      • Methods inherited from class net.minecraft.world.item.BlockItem

        getDescriptionId, place, registerBlocks, removeFromBlockToItemMap, updatePlacementContext
      • Methods inherited from class net.minecraft.world.item.Item

        builtInRegistryHolder, canAttackBlock, canFitInsideContainerItems, components, finishUsingItem, getAttackDamageBonus, getBarColor, getBarWidth, getBreakingSound, getCraftingRemainingItem, getDefaultAttributeModifiers, getDefaultInstance, getDefaultMaxStackSize, getDescription, getDescriptionId, getDestroySpeed, getDrinkingSound, getEatingSound, getEnchantmentValue, getTooltipImage, getUseAnimation, getUseDuration, hasCraftingRemainingItem, hurtEnemy, initializeClient, interactLivingEntity, inventoryTick, isBarVisible, isComplex, isCorrectToolForDrops, isEnchantable, isFoil, isValidRepairItem, mineBlock, modifyDefaultComponentsFrom, onCraftedBy, onCraftedPostProcess, onDestroyed, onUseTick, overrideOtherStackedOnMe, overrideStackedOnOther, postHurtEnemy, releaseUsing, useOn, useOnRelease, verifyComponentsAfterLoad
      • Methods inherited from class hiiragi283.ragium.common.item.block.HTUniversalChestBlockItem

        getBlock
      • Methods inherited from class hiiragi283.core.api.item.HTDescriptionBlockItem

        appendHoverText
      • Methods inherited from class hiiragi283.core.api.item.HTBlockItem

        getBlock, getName
      • Methods inherited from class net.neoforged.neoforge.common.extensions.IItemExtension

        applyEnchantments, canBeHurtBy, canContinueUsing, canDisableShield, canElytraFly, canEquip, canFitInsideContainerItems, canGrindstoneRepair, canPerformAction, canWalkOnPowderedSnow, createEntity, damageItem, doesSneakBypassUse, elytraFlightTick, getAllEnchantments, getArmorTexture, getBurnTime, getCraftingRemainingItem, getCreatorModId, getDamage, getDefaultAttributeModifiers, getEnchantmentLevel, getEnchantmentValue, getEntityLifespan, getEquipmentSlot, getFoodProperties, getHighlightTip, getMaxDamage, getMaxStackSize, getSweepHitBox, getXpRepairRatio, hasCraftingRemainingItem, hasCustomEntity, isBookEnchantable, isDamageable, isDamaged, isEnderMask, isNotReplaceableByPickAction, isPiglinCurrency, isPrimaryItemFor, isRepairable, makesPiglinsNeutral, onAnimalArmorTick, onDestroyed, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, onEntitySwing, onItemUseFirst, onLeftClickEntity, onStopUsing, setDamage, shouldCauseBlockBreakReset, shouldCauseReequipAnimation, supportsEnchantment
      • Methods inherited from class net.minecraft.world.flag.FeatureElement

        isEnabled, requiredFeatures
      • Methods inherited from class net.minecraft.world.level.ItemLike

        asItem
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HTUniversalChestBlockItem

        HTUniversalChestBlockItem(HTUniversalChestBlock block, Item.Properties properties)
    • Method Detail

      • use

         InteractionResultHolder<ItemStack> use(Level level, Player player, InteractionHand usedHand)
      • addItems

         Unit addItems(HTItemHolderLike<?> baseItem, HTSubCreativeTabContents.Context context)