api.txt 691 B

123456789101112131415161718192021222324252627282930313233
  1. Ethereal Fishing Rod API
  2. Usage:
  3. ethereal.add_item(fish, junk, bonus)
  4. Example:
  5. The fish, junk and bonus entries can all be entered or used seperately e.g.
  6. ..add fish:
  7. ethereal.add_item("mymod:myfish", "", "")
  8. ..add fish and junk:
  9. ethereal.add_item("mymod:myfish", "mymod:myjunk", "")
  10. You may also use a table that not only adds an item but the biome it can be found in:
  11. ..add fish only found in 'grassy_ocean' biome:
  12. ethereal.add_item({"mymod:myfish", "grassy_ocean"}, "", "")
  13. ..add special item only found in 'frost' biome waters:
  14. ethereal.add_item("", "", {"ethereal:crystal_spike", "frost"})
  15. Please note that only Ethereal biome names can be used for specific finds.