Skip to content

Commit 1e51f08

Browse files
committed
Add some items to test equippable wands
1 parent 2a7025d commit 1e51f08

File tree

3 files changed

+17
-1
lines changed

3 files changed

+17
-1
lines changed

Magic/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
Only survival items were restored, items from other example configs still won't work
2222
You may need to use an older version of Magic for all of this to really work properly - sorry!
2323
- Fix uses of stained glass in star wars and automata configs, various other places
24+
- Fix loading boolean values from wand data
2425

2526
# 10.10.2
2627

Magic/src/examples/elworld/items.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,15 @@ rubysword:
1515

1616
sapphiresword:
1717
name: Sapphire Sword
18-
item: diamond_sword{18003}
18+
item: diamond_sword{18003}
19+
20+
cheese_overlay:
21+
item:
22+
==: org.bukkit.inventory.ItemStack
23+
DataVersion: 4325
24+
id: minecraft:leather_helmet
25+
count: 1
26+
components:
27+
minecraft:equippable: '{camera_overlay:"magic:other/cheese",slot:"head"}'
28+
minecraft:custom_name: '{extra:["Equipable Overlay"],text:""}'
29+
schema_version: 1

Magic/src/examples/elworld/wands.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,3 +321,7 @@ teleporter:
321321
spells:
322322
- teleportermenu
323323

324+
cheesewand:
325+
icon: cheese_overlay
326+
cast_spell: healing
327+
cast_interval: 2000

0 commit comments

Comments
 (0)