net.minecraft.world.item

public class BrushItem

extends Item

All mapped superinterfaces:

FeatureElement, ItemLike

csu
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
ANIMATION_DURATION
f_278125_
private static final int
b
USE_DURATION
field_42683
MAX_BRUSH_TIME
f_271380_

Constructor summary

ModifierConstructor
public (Item$Properties arg0)

Method summary

Modifier and TypeMethod
public InteractionResult
a(cyf arg0)
useOn(UseOnContext arg0)
method_7884(class_1838 arg0)
useOnBlock(ItemUsageContext arg0)
m_6225_(C_1450_ arg0)
public UseAnim
b(cuq arg0)
getUseAnimation(ItemStack arg0)
method_7853(class_1799 arg0)
getUseAction(ItemStack arg0)
m_6164_(C_1391_ arg0)
public int
a(cuq arg0, btn arg1)
getUseDuration(ItemStack arg0, LivingEntity arg1)
method_7881(class_1799 arg0, class_1309 arg1)
getMaxUseTime(ItemStack arg0, LivingEntity arg1)
m_8105_(C_1391_ p_343510_, C_524_ arg1)
public void
a(dcw arg0, btn arg1, cuq 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(cmx arg0)
calculateHitResult(Player arg0)
method_49999(class_1657 arg0)
getHitResult(PlayerEntity user)
m_280200_(C_1141_ arg0)
private void
a(dcw arg0, ewy arg1, dtc arg2, exc arg3, btg 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)