net.minecraft.world.item

public class BrushItem

extends Item

All mapped superinterfaces:

FeatureElement, ItemLike

chf
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
ANIMATION_DURATION
field_43390
field_43390
f_278125_
private static final int
b
USE_DURATION
field_42683
MAX_BRUSH_TIME
f_271380_
private static final double
c
MAX_BRUSH_DISTANCE
field_44603
MAX_BRUSH_DISTANCE
f_279643_

Constructor summary

ModifierConstructor
public (Item$Properties arg0)

Method summary

Modifier and TypeMethod
public InteractionResult
a(clp arg0)
useOn(UseOnContext arg0)
method_7884(class_1838 arg0)
useOnBlock(ItemUsageContext arg0)
m_6225_(C_1450_ arg0)
public UseAnim
c(cjf arg0)
getUseAnimation(ItemStack arg0)
method_7853(class_1799 arg0)
getUseAction(ItemStack arg0)
m_6164_(C_1391_ arg0)
public int
b(cjf arg0)
getUseDuration(ItemStack arg0)
method_7881(class_1799 arg0)
getMaxUseTime(ItemStack arg0)
m_8105_(C_1391_ arg0)
public void
a(cpv arg0, bjg arg1, cjf 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)
private HitResult
a(bjg arg0)
calculateHitResult(LivingEntity arg0)
method_49999(class_1309 arg0)
getHitResult(LivingEntity user)
m_280200_(C_524_ arg0)
private void
a(cpv arg0, ehj arg1, dfj arg2, ehn arg3, bja 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)
m_278154_(C_1596_ p_278272_, C_3041_ p_278235_, C_2064_ p_278337_, C_3046_ p_285071_, C_520_ arg4)