Vanilla

object Vanilla : BowLogic

The default bow logic that implements vanilla behavior.

Functions

Link copied to clipboard
open override fun canDraw(entity: LivingEntity, bow: ItemStack): Boolean

Whether entity can currently draw the bow.

Link copied to clipboard
open override fun handleDrawTick(entity: LivingEntity, bow: ItemStack, tick: Int)

Called every tick while

Link copied to clipboard
open override fun shoot(entity: LivingEntity, hand: EquipmentSlot, bow: ItemStack, chargeTime: Int): ItemStack

Shoots a projectile after entity drew the bow for chargeTime ticks.