Class net.minecraft.entity.projectile.ProjectileUtil

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

Static Methods

ProjectileUtil.createArrowProjectile(entity, stack, damageModifier) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
ProjectileUtil.getCollision(entity, predicate) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
ProjectileUtil.getEntityCollision(world, entity, min, max, box, predicate, f) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
ProjectileUtil.getEntityCollision(world, entity, min, max, box, predicate) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
ProjectileUtil.getHandPossiblyHolding(entity, item) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
ProjectileUtil.raycast(entity, min, max, box, predicate, d) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
ProjectileUtil.setRotationFromVelocity(entity, delta) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Constructors

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

Instance Methods

instance:equals(arg0) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getClass() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:hashCode() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:notify() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:notifyAll() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:toString() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:wait(arg0, arg1) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:wait() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:wait(arg0) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"


Static Methods

ProjectileUtil.createArrowProjectile(entity, stack, damageModifier)
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"
  • stack userdata, ItemStack This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • damageModifier number, float This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

userdata, PersistentProjectileEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
ProjectileUtil.getCollision(entity, predicate)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

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

Returns:

userdata, HitResult This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
ProjectileUtil.getEntityCollision(world, entity, min, max, box, predicate, f)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • world userdata, World This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • entity userdata, Entity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • min userdata, Vec3d This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • max userdata, Vec3d This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • box userdata, Box This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • predicate userdata, Predicate This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • f number, float This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

userdata, EntityHitResult This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
ProjectileUtil.getEntityCollision(world, entity, min, max, box, predicate)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • world userdata, World This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • entity userdata, Entity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • min userdata, Vec3d This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • max userdata, Vec3d This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • box userdata, Box This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • predicate userdata, Predicate This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

userdata, EntityHitResult This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
ProjectileUtil.getHandPossiblyHolding(entity, item)
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"
  • item userdata, Item This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

userdata, Hand This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
ProjectileUtil.raycast(entity, min, max, box, predicate, d)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • entity userdata, Entity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • min userdata, Vec3d This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • max userdata, Vec3d This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • box userdata, Box This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • predicate userdata, Predicate This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • d number, double This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

userdata, EntityHitResult This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
ProjectileUtil.setRotationFromVelocity(entity, delta)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

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

Constructors

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

Instance Methods

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

Parameters:

  • arg0 userdata, Object This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

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

Returns:

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

Returns:

int This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:notify()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:notifyAll()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:toString()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

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

Parameters:

  • arg0 int, long This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • arg1 int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
instance:wait()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:wait(arg0)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • arg0 int, long This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"