Interface ChargedProjectiles


@NullMarked @Experimental @NonExtendable public interface ChargedProjectiles
Holds all projectiles that have been loaded into a Crossbow.
See Also:
  • Method Details

    • chargedProjectiles

      @Contract(value="_ -> new", pure=true) static ChargedProjectiles chargedProjectiles(List<ItemStack> projectiles)
    • chargedProjectiles

      @Contract(value="-> new", pure=true) static ChargedProjectiles.Builder chargedProjectiles()
    • projectiles

      @Contract(value="-> new", pure=true) @Unmodifiable List<ItemStack> projectiles()
      Lists the projectiles that are currently loaded into this component.
      Returns:
      the loaded projectiles