Skip to content

Commit

Permalink
feat: allow JEI to find summon ritual by drop
Browse files Browse the repository at this point in the history
Uses minecraft's display nbt to allow using the intended drop as output item instead of the ritual dummy, but still present useful text to the player.

Co-authored-by: MuteTiefling <[email protected]>
  • Loading branch information
klikli-dev and MuteTiefling committed Jun 3, 2023
1 parent 47cf880 commit 7ce71bd
Show file tree
Hide file tree
Showing 6 changed files with 54 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,14 @@
}
],
"result": {
"item": "occultism:jei_dummy/none"
"item": "minecraft:ender_pearl",
"nbt": {
"display": {
"Lore": [
"[{\"text\":\"The possessed Enderman will always drop at least one ender pearl when killed.\"}]"
],
"Name": "[{\"text\":\"Ritual: Summon Possessed Enderman\"}]"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@
}
],
"result": {
"item": "occultism:jei_dummy/none"
"item": "minecraft:end_stone",
"nbt": {
"display": {
"Lore": [
"[{\"text\":\"The possessed Endermite will always drop at least one end stone when killed.\"}]"
],
"Name": "[{\"text\":\"Ritual: Summon Possessed Endermite\"}]"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,14 @@
}
],
"result": {
"item": "occultism:jei_dummy/none"
"item": "minecraft:ghast_tear",
"nbt": {
"display": {
"Lore": [
"[{\"text\":\"The possessed Ghast will always drop at least one ghast tear when killed.\"}]"
],
"Name": "[{\"text\":\"Ritual: Summon Possessed Ghast\"}]"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,14 @@
}
],
"result": {
"item": "occultism:jei_dummy/none"
"item": "minecraft:skeleton_skull",
"nbt": {
"display": {
"Lore": [
"[{\"text\":\"The possessed Skeleton will always drop at least one skeleton skull when killed.\"}]"
],
"Name": "[{\"text\":\"Ritual: Summon Possessed Skeleton\"}]"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,14 @@
}
],
"result": {
"item": "occultism:jei_dummy/none"
"item": "occultism:afrit_essence",
"nbt": {
"display": {
"Lore": [
"[{\"text\":\"The Unbound Afrit will always drop at least one Afrit Essence when killed.\"}]"
],
"Name": "[{\"text\":\"Ritual: Summon Unbound Afrit\"}]"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,14 @@
}
],
"result": {
"item": "occultism:jei_dummy/none"
"item": "minecraft:wither_skeleton_skull",
"nbt": {
"display": {
"Lore": [
"[{\"text\":\"The Wild Hunt consists of wither skeletons that will always drop at least one wither skeleton skull when killed.\"}]"
],
"Name": "[{\"text\":\"Ritual: Summon Wild Hunt\"}]"
}
}
}
}

0 comments on commit 7ce71bd

Please sign in to comment.