net.minecraft.world.item

public class BrushItem

extends Item

All mapped superinterfaces:

FeatureElement, ItemLike

cky
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_

Constructor summary

ModifierConstructor
public (Item$Properties arg0)

Method summary

Modifier and TypeMethod
public InteractionResult
a(cpj arg0)
useOn(UseOnContext arg0)
method_7884(class_1838 arg0)
useOnBlock(ItemUsageContext arg0)
m_6225_(C_1450_ arg0)
public UseAnim
c(cmy arg0)
getUseAnimation(ItemStack arg0)
method_7853(class_1799 arg0)
getUseAction(ItemStack arg0)
m_6164_(C_1391_ arg0)
public int
b(cmy arg0)
getUseDuration(ItemStack arg0)
method_7881(class_1799 arg0)
getMaxUseTime(ItemStack arg0)
m_8105_(C_1391_ arg0)
public void
a(ctp arg0, bml arg1, cmy 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(cfi arg0)
calculateHitResult(Player arg0)
method_49999(class_1657 arg0)
getHitResult(PlayerEntity user)
m_280200_(C_1141_ arg0)
private void
a(ctp arg0, elp arg1, djh arg2, elt arg3, bmf 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)