net.minecraft.world.item

public class BrushItem

extends Item

All mapped superinterfaces:

FeatureElement, ItemLike

cwa
net.minecraft.world.item.BrushItem
net.minecraft.class_8162
net.minecraft.item.BrushItem
net.minecraft.world.item.BrushItem

Field summary

Modifier and TypeField
public static final int
a
ANIMATION_DURATION
field_43390
ANIMATION_DURATION
private static final int
b
USE_DURATION
field_42683
MAX_BRUSH_TIME

Constructor summary

ModifierConstructor
public (Item$Properties arg0)

Method summary

Modifier and TypeMethod
public InteractionResult
a(dbi arg0)
useOn(UseOnContext arg0)
method_7884(class_1838 arg0)
useOnBlock(ItemUsageContext arg0)
public ItemUseAnimation
b(cxp arg0)
getUseAnimation(ItemStack arg0)
method_7853(class_1799 arg0)
getUseAction(ItemStack arg0)
public int
a(cxp arg0, bwg arg1)
getUseDuration(ItemStack arg0, LivingEntity arg1)
method_7881(class_1799 arg0, class_1309 arg1)
getMaxUseTime(ItemStack arg0, LivingEntity arg1)
public void
a(dhi arg0, bwg arg1, cxp arg2, int arg3)
onUseTick(Level arg0, LivingEntity arg1, ItemStack arg2, int arg3)
method_7852(class_1937 arg0, class_1309 arg1, class_1799 arg2, int arg3)
usageTick(World arg0, LivingEntity arg1, ItemStack arg2, int arg3)
private HitResult
a(cpx arg0)
calculateHitResult(Player arg0)
method_49999(class_1657 arg0)
getHitResult(PlayerEntity user)
private void
a(dhi arg0, fbu arg1, dxv arg2, fby arg3, bwa arg4)
spawnDustParticles(Level arg0, BlockHitResult arg1, BlockState arg2, Vec3 arg3, HumanoidArm arg4)
method_49184(class_1937 arg0, class_3965 arg1, class_2680 arg2, class_243 arg3, class_1306 arg4)
addDustParticles(World world, BlockHitResult hitResult, BlockState state, Vec3d userRotation, Arm arm)