History - net.minecraft.world.item.BrushItem

1.21.7

Names

Fields

int: b, USE_DURATION, field_42683, MAX_BRUSH_TIME, f_271380_

int: b, USE_DURATION, field_42683, MAX_BRUSH_TIME

int: a, ANIMATION_DURATION, field_43390, ANIMATION_DURATION, f_278125_

int: a, ANIMATION_DURATION, field_43390, ANIMATION_DURATION

Constructors

Methods

InteractionResult (UseOnContext): a, useOn, method_7884, useOnBlock, m_6225_

InteractionResult (UseOnContext): a, useOn, method_7884, useOnBlock

ItemUseAnimation (ItemStack): b, getUseAnimation, method_7853, getUseAction, m_6164_

ItemUseAnimation (ItemStack): b, getUseAnimation, method_7853, getUseAction

void (Level, LivingEntity, ItemStack, int): a, onUseTick, method_7852, usageTick, m_5929_

void (Level, LivingEntity, ItemStack, int): a, onUseTick, method_7852, usageTick

void (Level, BlockHitResult, BlockState, Vec3, HumanoidArm): a, spawnDustParticles, method_49184, addDustParticles, m_278154_

void (Level, BlockHitResult, BlockState, Vec3, HumanoidArm): a, spawnDustParticles, method_49184, addDustParticles

HitResult (Player): a, calculateHitResult, method_49999, getHitResult, m_280200_

HitResult (Player): a, calculateHitResult, method_49999, getHitResult

int (ItemStack, LivingEntity): a, getUseDuration, method_7881, getMaxUseTime, m_8105_

int (ItemStack, LivingEntity): a, getUseDuration, method_7881, getMaxUseTime

1.21.6

Names

cyx

dbi

Fields

Constructors

Methods

1.21.5

Names

cvb

cyx

Fields

Constructors

Methods

1.21.4

Names

cwa

cvb

Fields

Constructors

Methods

1.21.3

Names

csu

cwa

Fields

Constructors

Methods

1.21.1

Names

Fields

Constructors

Methods

1.21

Names

csw

csu

Fields

Constructors

Methods

UseAnim (ItemStack): c, getUseAnimation, method_7853, getUseAction, m_6164_

UseAnim (ItemStack): b, getUseAnimation, method_7853, getUseAction, m_6164_

int (ItemStack): b, getUseDuration, method_7881, getMaxUseTime, m_8105_

int (ItemStack, LivingEntity): a, getUseDuration, method_7881, getMaxUseTime, m_8105_

1.20.6

Names

cky

csw

Fields

int: a, ANIMATION_DURATION, field_43390, field_43390, f_278125_

int: a, ANIMATION_DURATION, field_43390, ANIMATION_DURATION, f_278125_

Constructors

Methods

1.20.4

Names

chf

cky

Fields

double: c, MAX_BRUSH_DISTANCE, field_44603, MAX_BRUSH_DISTANCE, f_279643_

Constructors

Methods

HitResult (LivingEntity): a, calculateHitResult, method_49999, getHitResult, m_280200_

HitResult (Player): a, calculateHitResult, method_49999, getHitResult, m_280200_

1.20.2

Names

cdz

chf

Fields

Constructors

Methods

1.20.1

Names

cdx

cdz

Fields

int: a, TICKS_BETWEEN_SWEEPS, field_42682, field_42682, f_271230_

int: b, USE_DURATION, field_42683, field_42683, f_271380_

int: b, USE_DURATION, field_42683, MAX_BRUSH_TIME, f_271380_

int: a, ANIMATION_DURATION, field_43390, field_43390, f_278125_

double: c, MAX_BRUSH_DISTANCE, field_44603, MAX_BRUSH_DISTANCE, f_279643_

Constructors

Methods

void (Level, BlockHitResult, BlockState, Vec3): a, spawnDustParticles, method_49184, addDustParticles, m_271895_

HitResult (LivingEntity): a, calculateHitResult, method_49999, getHitResult, m_280200_

void (Level, BlockHitResult, BlockState, Vec3, HumanoidArm): a, spawnDustParticles, method_49184, addDustParticles, m_278154_

1.19.4

Names

cdx

net.minecraft.world.item.BrushItem

net.minecraft.class_8162

net.minecraft.item.BrushItem

net.minecraft.src.C_271073_

Fields

int: a, TICKS_BETWEEN_SWEEPS, field_42682, field_42682, f_271230_

int: b, USE_DURATION, field_42683, field_42683, f_271380_

Constructors

(Item$Properties)

Methods

InteractionResult (UseOnContext): a, useOn, method_7884, useOnBlock, m_6225_

UseAnim (ItemStack): c, getUseAnimation, method_7853, getUseAction, m_6164_

int (ItemStack): b, getUseDuration, method_7881, getMaxUseTime, m_8105_

void (Level, LivingEntity, ItemStack, int): a, onUseTick, method_7852, usageTick, m_5929_

void (Level, BlockHitResult, BlockState, Vec3): a, spawnDustParticles, method_49184, addDustParticles, m_271895_