History - net.minecraft.item.CrossbowItem

26.3-snapshot-3

Names

Fields

Constructors

Methods

26.3-snapshot-2

Names

Fields

Constructors

Methods

26.3-snapshot-1

Names

Fields

Constructors

Methods

26.2

Names

Fields

Constructors

Methods

26.1.2

Names

Fields

Constructors

Methods

26.1.1

Names

Fields

Constructors

Methods

26.1

Names

Fields

Constructors

Methods

1.21.11_unobfuscated

Names

net.minecraft.world.item.CrossbowItem

net.minecraft.class_1764

net.minecraft.item.CrossbowItem

Fields

float: MAX_CHARGE_DURATION, field_30866, DEFAULT_PULL_TIME

int: DEFAULT_RANGE, field_30863, RANGE

boolean: startSoundPlayed, field_7937, charged

boolean: midLoadSoundPlayed, field_7936, loaded

float: START_SOUND_PERCENT, field_30867, CHARGE_PROGRESS

float: MID_SOUND_PERCENT, field_30868, LOAD_PROGRESS

float: ARROW_POWER, field_30869, DEFAULT_SPEED

float: FIREWORK_POWER, field_30870, FIREWORK_ROCKET_SPEED

float: MOB_ARROW_POWER, field_49258, field_49258

CrossbowItem$LoadingSounds: DEFAULT_SOUNDS, field_51626, DEFAULT_LOADING_SOUNDS

Constructors

(Item$Settings)

Methods

Predicate<ItemStack> (): getSupportedHeldProjectiles, method_20310, getHeldProjectiles

Predicate<ItemStack> (): getAllSupportedProjectiles, method_19268, getProjectiles

ActionResult (World, PlayerEntity, Hand): use, method_7836, use

float (ChargedProjectilesComponent): getShootingPower, method_20309, getSpeed

boolean (ItemStack, World, LivingEntity, int): releaseUsing, method_7840, onStoppedUsing

boolean (LivingEntity, ItemStack): tryLoadProjectiles, method_7767, loadProjectiles

boolean (ItemStack): isCharged, method_7781, isCharged

void (LivingEntity, ProjectileEntity, int, float, float, float, LivingEntity): shootProjectile, method_7763, shoot

org.joml.Vector3f (LivingEntity, Vec3d, float): getProjectileShotVector, method_57343, calcVelocity

ProjectileEntity (World, LivingEntity, ItemStack, ItemStack, boolean): createProjectile, method_57344, createArrowEntity

int (ItemStack): getDurabilityUse, method_57345, getWeaponStackDamage

void (World, LivingEntity, Hand, ItemStack, float, float, LivingEntity): performShooting, method_7777, shootAll

float (Random, int): getShotPitch, method_57342, getSoundPitch

float (boolean, Random): getRandomShotPitch, method_7784, getSoundPitch

void (World, LivingEntity, ItemStack, int): onUseTick, method_7852, usageTick

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

int (ItemStack, LivingEntity): getChargeDuration, method_7775, getPullTime

UseAction (ItemStack): getUseAnimation, method_7853, getUseAction

CrossbowItem$LoadingSounds (ItemStack): getChargingSounds, method_59976, getLoadingSounds

float (int, ItemStack, LivingEntity): getPowerForTime, method_7770, getPullProgress

boolean (ItemStack): useOnRelease, method_7838, isUsedOnRelease

int (): getDefaultProjectileRange, method_24792, getRange

void (World, LivingEntity, RegistryEntry): lambda$onUseTick$2, method_67186, method_67186

void (World, LivingEntity, RegistryEntry): lambda$onUseTick$1, method_59974, method_59974

void (World, LivingEntity, RegistryEntry): lambda$onUseTick$0, method_59973, method_59973