net.minecraft.item

public class AxeItem

extends Item

All mapped superinterfaces:

ItemConvertible, ToggleableFeature

net.minecraft.world.item.AxeItem
net.minecraft.class_1743
net.minecraft.item.AxeItem

Field summary

Modifier and TypeField
protected static final Map<Block, Block>
STRIPPABLES
field_7898
STRIPPED_BLOCKS

Constructor summary

ModifierConstructor
public (ToolMaterial material, float attackDamage, float attackSpeed, Item$Settings settings)

Method summary

Modifier and TypeMethod
public ActionResult
useOn(UseOnContext context)
method_7884(class_1838 arg0)
useOnBlock(ItemUsageContext arg0)
private static boolean
playerHasBlockingItemUseIntent(UseOnContext context)
method_59967(class_1838 arg0)
shouldCancelStripAttempt(ItemUsageContext context)
private Optional<BlockState>
evaluateNewBlockState(Level level, BlockPos pos, Player player, BlockState oldState)
method_54760(class_1937 arg0, class_2338 arg1, class_1657 arg2, class_2680 arg3)
tryStrip(World world, BlockPos pos, PlayerEntity player, BlockState state)
private static void
spawnSoundAndParticle(Level level, BlockPos pos, Player player, BlockState oldState, SoundEvent soundEvent, int particle)
method_74886(class_1937 arg0, class_2338 arg1, class_1657 arg2, class_2680 arg3, class_3414 arg4, int arg5)
strip(World world, BlockPos pos, PlayerEntity player, BlockState state, SoundEvent sound, int worldEvent)
private Optional<BlockState>
getStripped(BlockState state)
method_34716(class_2680 arg0)
getStrippedState(BlockState state)
private static BlockState
lambda$getStripped$0(BlockState arg0, Block arg1)
method_34717(class_2680 arg0, class_2248 arg1)
method_34717(BlockState arg0, Block block)
private static BlockState
lambda$evaluateNewBlockState$0(BlockState arg0, Block arg1)
method_54761(class_2680 arg0, class_2248 arg1)
method_54761(BlockState arg0, Block block)