public class GenericHammer extends HammerItem
Constructor and Description |
---|
GenericHammer(net.minecraft.item.IItemTier tier)
Initializes the hammer.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescriptionId() |
float |
getDestroySpeed(net.minecraft.item.ItemStack stack,
net.minecraft.block.BlockState state)
Returns the strength of the stack against a given block.
|
net.minecraft.util.ActionResultType |
useOn(net.minecraft.item.ItemUseContext context) |
isCorrectToolForDrops, mineBlock
getAttackDamage, getDefaultAttributeModifiers, hurtEnemy
getEnchantmentValue, getTier, isValidRepairItem
allowdedIn, appendHoverText, asItem, byBlock, byId, canAttackBlock, canBeDepleted, canBeHurtBy, fillItemCategory, finishUsingItem, getCraftingRemainingItem, getDefaultInstance, getDescription, getDescriptionId, getDrinkingSound, getEatingSound, getFoodProperties, getHarvestLevel, getId, getItemCategory, getItemStackTileEntityRenderer, getMaxDamage, getMaxStackSize, getName, getOrCreateDescriptionId, getPlayerPOVHitResult, getRarity, getTags, getToolTypes, getUseAnimation, getUseDuration, hasCraftingRemainingItem, interactLivingEntity, inventoryTick, is, isComplex, isEdible, isEnchantable, isFireResistant, isFoil, isRepairable, onCraftedBy, onUseTick, releaseUsing, shouldOverrideMultiplayerNbt, toString, use, useOnRelease, verifyTagAfterLoad
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
canApplyAtEnchantingTable, canContinueUsing, canDisableShield, canElytraFly, canEquip, canHarvestBlock, createEntity, damageItem, doesSneakBypassUse, elytraFlightTick, getArmorModel, getArmorTexture, getAttributeModifiers, getBurnTime, getBurnTime, getContainerItem, getCreativeTabs, getCreatorModId, getDamage, getDurabilityForDisplay, getEntityLifespan, getEquipmentSlot, getFontRenderer, getHighlightTip, getItem, getItemEnchantability, getItemStackLimit, getMaxDamage, getRGBDurabilityForDisplay, getShareTag, getSmeltingExperience, getXpRepairRatio, hasContainerItem, hasCustomEntity, initCapabilities, isBookEnchantable, isDamageable, isDamaged, isEnderMask, isPiglinCurrency, isShield, makesPiglinsNeutral, onArmorTick, onBlockStartBreak, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, onHorseArmorTick, onItemUseFirst, onLeftClickEntity, onUsingTick, readShareTag, renderHelmetOverlay, setDamage, shouldCauseBlockBreakReset, shouldCauseReequipAnimation, showDurabilityBar
public GenericHammer(net.minecraft.item.IItemTier tier)
public java.lang.String getDescriptionId()
getDescriptionId
in class net.minecraft.item.Item
public float getDestroySpeed(net.minecraft.item.ItemStack stack, net.minecraft.block.BlockState state)
HammerItem
getDestroySpeed
in class HammerItem
public net.minecraft.util.ActionResultType useOn(net.minecraft.item.ItemUseContext context)
useOn
in class net.minecraft.item.Item