net.minecraft.world.item

public class BrushItem

extends Item

All mapped superinterfaces:

FeatureElement, ItemLike

cdx
net.minecraft.world.item.BrushItem
net.minecraft.class_8162
net.minecraft.item.BrushItem
net.minecraft.src.C_271073_
net.minecraft.world.item.BrushItem

Field summary

Modifier and TypeField
public static final int
a
TICKS_BETWEEN_SWEEPS
field_42682
field_42682
f_271230_
private static final int
b
USE_DURATION
field_42683
field_42683
f_271380_

Constructor summary

ModifierConstructor
public (Item$Properties arg0)

Method summary

Modifier and TypeMethod
public InteractionResult
a(cie arg0)
useOn(UseOnContext arg0)
method_7884(class_1838 arg0)
useOnBlock(ItemUsageContext arg0)
m_6225_(C_1450_ arg0)
public UseAnim
c(cfv arg0)
getUseAnimation(ItemStack arg0)
method_7853(class_1799 arg0)
getUseAction(ItemStack arg0)
m_6164_(C_1391_ arg0)
public int
b(cfv arg0)
getUseDuration(ItemStack arg0)
method_7881(class_1799 arg0)
getMaxUseTime(ItemStack arg0)
m_8105_(C_1391_ arg0)
public void
a(cmi arg0, bfx arg1, cfv 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)
m_5929_(C_1596_ p_273619_, C_524_ p_273316_, C_1391_ p_273101_, int arg3)
public void
a(cmi arg0, eda arg1, dbq arg2, ede arg3)
spawnDustParticles(Level arg0, BlockHitResult arg1, BlockState arg2, Vec3 arg3)
method_49184(class_1937 arg0, class_3965 arg1, class_2680 arg2, class_243 arg3)
addDustParticles(World world, BlockHitResult hitResult, BlockState state, Vec3d userRotation)
m_271895_(C_1596_ p_273758_, C_3041_ p_272753_, C_2064_ p_272912_, C_3046_ arg3)