Offhand Update
Updated location for offhand in 1.21.5
This commit is contained in:
parent
1f861cba2b
commit
7a91712f47
@ -1,5 +1,5 @@
|
|||||||
execute as @s run data remove storage custom_item_model_data:item_model Model
|
execute as @s run data remove storage custom_item_model_data:item_model Model
|
||||||
execute as @s run data modify storage custom_item_model_data:item_model Model set from entity @s Inventory[{Slot:-106b}].components.minecraft:writable_book_content.pages[0].raw
|
execute as @s run data modify storage custom_item_model_data:item_model Model set from entity @s equipment.offhand.components.minecraft:writable_book_content.pages[0].raw
|
||||||
execute as @s run function custom_item_model_data:set_model with storage custom_item_model_data:item_model {}
|
execute as @s run function custom_item_model_data:set_model with storage custom_item_model_data:item_model {}
|
||||||
|
|
||||||
execute as @s run scoreboard players reset @s CustomModel
|
execute as @s run scoreboard players reset @s CustomModel
|
||||||
|
Loading…
x
Reference in New Issue
Block a user