README.md 1.4 KB

Throwables Mod

The throwables mod for Minetest allows players to throw various items as projectiles with customizable collision behaviors.

Modified items behabiors

  • Throwable torches (default:torch) will be placed where it lands.
  • Throwable snowballs (default:snow)

New items

  • Fireball (from mobs) will explode where it lands.
  • Enderpearl teleport players to the location they hit but hurts them in the process.

Note that I would recommend using the original enderpearl mod, I used it mod as a reference for the throwing api and that's why enderpearls are here.

API

  • Create new throwable items.
  • Addd projectile behavior to existing items.
  • Customize collision behavior for nodes, entities, and players.

  • TODO: Some utils function for implementing common behaviors

Todo:

  • USE ONLY ONE ENTITY FOR ALL PROJECTILES

  • Light ball

  • Portals, a blue one and a red one, linked together

  • Silex

  • Clay, dirt, ?

  • Grappling hook and Rope ?

Licensing and credits

Enderpearl code and textures are from enderpearl mod Torch placement code adapted from x_bows_extras mod

Please, tell me if I forgot anyone.

Anything original in this mod would have these licenses :

  • Code is under AGPL V3 OR LATER, an
  • Documentation and medias are under CC-BY-SA