Skip to content

Commit

Permalink
fix: restricting to music disc
Browse files Browse the repository at this point in the history
  • Loading branch information
edayot committed Jul 24, 2024
1 parent 2c2efac commit 0c185f2
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@



data modify entity 93682a08-d099-4e8f-a4a6-1e33a3692301 HandItems[0] set value {}
data modify entity 93682a08-d099-4e8f-a4a6-1e33a3692301 HandItems[0] set from storage itemio:io input

execute unless items entity 93682a08-d099-4e8f-a4a6-1e33a3692301 weapon.mainhand *[minecraft:jukebox_playable] run return fail


data remove storage itemio:main.input ItemUnique
data modify storage itemio:main.input ItemUnique set from block ~ ~ ~ RecordItem

Expand Down

0 comments on commit 0c185f2

Please sign in to comment.