Gravestone mod - Extended

Gravestone mod - Extended

552k Downloads

Loot tables

NightKosh opened this issue ยท 1 comments

commented
  • Graves content #69
  • Mobs drop
  • Fishing
commented

@Divineaspect I reworked graves generation so it will use loot tables since next version.
Here you can look on them: https://github.com/NightKosh/Gravestone-mod-Extended/tree/master/src/main/resources/assets/gravestone-extended/loot_tables/graves

Also I've added few own "conditions" (which can be used only for graves content):

  1. "grave_material" - allows to generate content only for specific grave material.
    it take such values as "IRON", "GOLD", "DIAMOND", and some other( https://github.com/NightKosh/Gravestone-mod-Graves-API/blob/c951db91840291d2a7bac0c04755ab472953d537/nightkosh/gravestone/api/grave/EnumGraveMaterial.java#L13-L30 )
    example: https://github.com/NightKosh/Gravestone-mod-Extended/blob/master/src/main/resources/assets/gravestone-extended/loot_tables/graves/player/wizard.json#L202-L207

  2. "grave_type" - allows to generate content only for graves which belongs to specific type of "mobs":

  1. "content_type" - a type of content:
  1. "corpse_content_type" - to chose what should be placed in grave:

Furtheremore there is a special function : "set_corpse" which allows you to place mob corpse to the grave.
example: https://github.com/NightKosh/Gravestone-mod-Extended/blob/master/src/main/resources/assets/gravestone-extended/loot_tables/graves/player/corpse/corpse.json#L11-L15