Slingshot

From the Fear Nightfall wiki · Supplementaries
Slingshot
ModSupplementaries
StackableNo
Durability192
IDsupplementaries:slingshot

The Slingshot is a ranged weapon added by Supplementaries. It is charged like a bow, but it fires block items and other ammunition rather than arrows, and the projectile places a block where it lands instead of only dealing damage. It is one of the early utility tools of the pack, and it is also a crafting ingredient for the cannon.

The slingshot is useful for placing blocks out of reach, such as onto a ledge or across a gap, and for enchanting with Stasis, which makes its projectiles fly without gravity. A slingshot with a parrot on the player's shoulder can also launch the parrot.

Obtaining

The slingshot is not found in natural generation, chest loot, mob drops or villager and wandering trader trades. No loot table or trade in the mod's data contains it. Crafting is the only source.

Crafting

StringRabbit HideStringStickSlimeballStickStickSlingshot
Slingshot · Crafting

The recipe is a shaped 3×3 grid with the layout shown above. It needs string, wooden rods, a rabbit hide and a slimeball, all of which come from the vanilla item tags.

Enchanting

The slingshot can be enchanted at an enchanting table. It accepts the durability enchantments and the curse of vanishing, and it accepts the Stasis enchantment. Stasis is mutually exclusive with Multishot. Stasis is also available from loot: an enchanted book with Stasis is injected into End City loot, with a 25% chance per roll.

Usage

The slingshot is used by holding the use button. The shot charges over 20 ticks (one second), set by the charge_time option. The launch power for a charge of t ticks is f = t / 20, and power = (f² + 2f) / 3, capped at 1. Half a second of charge gives a power of about 0.42, and a full charge gives 1. A release with power below 0.085 (about 3 ticks of charge) fires nothing. The launch speed is multiplied by the range_multiplier option (default 1.0) and by a fixed factor of 1.1. With Stasis, 0.5 is added to the range multiplier before the factor is applied.

The slingshot takes the first matching item it finds in the player's inventory, and each shot uses one item.

Ammunition

Every block item can be fired, except for the three Create items in the supplementaries:slingshot_blacklist tag (belt, belt connector and track) and containers that the game dispenses. Items with a placement behaviour from other mods are also accepted.

Thrown buckets are allowed by default, and they place their contents where they land. The following ammunition is disabled by default, and this pack leaves it disabled:

  • Splash potions
  • Bombs
  • Fire charges
  • Snowballs
  • Ender pearls

The supplementaries:slingshot_damageable tag is empty by default, so no item deals damage on impact. When the tag is filled, an item deals damage equal to its flight speed multiplied by damageable_damage (default 0.5), rounded up.

Block placement

A block item that hits a surface is placed at the point of impact, provided the placement is valid. The item is consumed when it is placed. If the item cannot be placed, the projectile sticks in the surface and the player can pick it up by walking into it. A projectile is dropped as an item when it reaches the end of its life, which is 700 ticks (35 seconds) after launch.

A block item that hits an enderman is taken by the enderman, if the enderman is carrying nothing. Any block item can be intercepted, because unrestricted_enderman_intercept is enabled by default.

Stasis

The Stasis enchantment makes the projectile ignore gravity. Its speed decreases each tick by a factor of 0.9625 (stasis_deceleration). When the speed falls below a small threshold, the projectile drops its item.

Parrots

If the player has a parrot on either shoulder, the slingshot launches the parrot instead of taking ammunition. Each parrot launched uses one point of durability and is launched at four times the normal speed. The launched parrot is tamed and set to sit. The first parrot launched awards the hidden Angry Birds advancement.

Durability

The slingshot has 192 durability.

Crafting ingredient

ResultUsesMethod
CannonSlingshotCrafting