Class net.minecraft.entity.CrossbowUser

This description should be content pulled from the first comments of a lua file.

Instance Methods

instance:attack(target, pullProgress) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getProjectileLaunchVelocity(entity, positionDelta, multishotSpray) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getTarget() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:postShoot() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:setCharging(charging) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:shoot(entity, target, projectile, multishotSpray, speed) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:shoot(target, crossbow, projectile, multiShotSpray) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:shoot(entity, speed) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"


Instance Methods

instance:attack(target, pullProgress)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • target userdata, LivingEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • pullProgress number, float This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
instance:getProjectileLaunchVelocity(entity, positionDelta, multishotSpray)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • entity userdata, LivingEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • positionDelta userdata, Vec3d This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • multishotSpray number, float This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

userdata, Vec3f This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getTarget()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

userdata, LivingEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:postShoot()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:setCharging(charging)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • charging boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
instance:shoot(entity, target, projectile, multishotSpray, speed)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • entity userdata, LivingEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • target userdata, LivingEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • projectile userdata, ProjectileEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • multishotSpray number, float This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • speed number, float This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
instance:shoot(target, crossbow, projectile, multiShotSpray)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • target userdata, LivingEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • crossbow userdata, ItemStack This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • projectile userdata, ProjectileEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • multiShotSpray number, float This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
instance:shoot(entity, speed)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • entity userdata, LivingEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • speed number, float This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"