Update Screen By Command Block
https://youtu.be/mH1drg6q328
code:mycommand.yaml
change_screen:
command: /change_screen
type: RUN_COMMAND
runcmd:
- "data modify entity @enbt={TileX:-680, TileY:68, TileZ:-39}, limit=1 Item.tag.CustomModelData set value $randomnumber%240<to>244%"
/gamerule commandBlockOutput false
Minecraft