public class ArmItem
extends net.minecraft.item.BlockItem
| Constructor and Description |
|---|
ArmItem(net.minecraft.block.Block p_i48527_1_,
net.minecraft.item.Item.Properties p_i48527_2_) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canAttackBlock(net.minecraft.block.BlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.entity.player.PlayerEntity p_195938_4_) |
protected boolean |
updateCustomBlockEntityTag(net.minecraft.util.math.BlockPos pos,
net.minecraft.world.World world,
net.minecraft.entity.player.PlayerEntity p_195943_3_,
net.minecraft.item.ItemStack p_195943_4_,
net.minecraft.block.BlockState p_195943_5_) |
net.minecraft.util.ActionResultType |
useOn(net.minecraft.item.ItemUseContext ctx) |
appendHoverText, canPlace, fillItemCategory, getBlock, getDescriptionId, getPlacementState, getPlaceSound, getPlaceSound, mustSurvive, place, placeBlock, registerBlocks, removeFromBlockToItemMap, updateCustomBlockEntityTag, updatePlacementContextallowdedIn, asItem, byBlock, byId, canBeDepleted, canBeHurtBy, finishUsingItem, getCraftingRemainingItem, getDefaultAttributeModifiers, getDefaultInstance, getDescription, getDescriptionId, getDestroySpeed, getDrinkingSound, getEatingSound, getEnchantmentValue, getFoodProperties, getHarvestLevel, getId, getItemCategory, getItemStackTileEntityRenderer, getMaxDamage, getMaxStackSize, getName, getOrCreateDescriptionId, getPlayerPOVHitResult, getRarity, getTags, getToolTypes, getUseAnimation, getUseDuration, hasCraftingRemainingItem, hurtEnemy, interactLivingEntity, inventoryTick, is, isComplex, isCorrectToolForDrops, isEdible, isEnchantable, isFireResistant, isFoil, isRepairable, isValidRepairItem, mineBlock, onCraftedBy, onUseTick, releaseUsing, shouldOverrideMultiplayerNbt, toString, use, useOnRelease, verifyTagAfterLoadgetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcanApplyAtEnchantingTable, 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, showDurabilityBarpublic ArmItem(net.minecraft.block.Block p_i48527_1_,
net.minecraft.item.Item.Properties p_i48527_2_)
public net.minecraft.util.ActionResultType useOn(net.minecraft.item.ItemUseContext ctx)
useOn in class net.minecraft.item.BlockItemprotected boolean updateCustomBlockEntityTag(net.minecraft.util.math.BlockPos pos,
net.minecraft.world.World world,
net.minecraft.entity.player.PlayerEntity p_195943_3_,
net.minecraft.item.ItemStack p_195943_4_,
net.minecraft.block.BlockState p_195943_5_)
updateCustomBlockEntityTag in class net.minecraft.item.BlockItempublic boolean canAttackBlock(net.minecraft.block.BlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.entity.player.PlayerEntity p_195938_4_)
canAttackBlock in class net.minecraft.item.Item