Skip to main content
added 114 characters in body
Source Link

I am looking for the command to change the data in a written book that is in a chest, changing what is written on the page/s. I am trying to build a randomizer that will change a single-digit entry on each page, giving you a book with a random set of characters each time it is summoned. Any help would be greatly appreciated.

Current target/command that is working

/data modify block -183 64 201 Items[0].tag merge value {pages:['{"text":"1"}','{"text":"7"}','{"text":"1"}']}

What I still need is a way to only edit the data on a single page without changing the data on any of the other pages.

Edit.

I have gone through the linked question and it does not illustrate how to do what I am trying to do.

I am looking for the command to change the data in a written book that is in a chest, changing what is written on the page/s. I am trying to build a randomizer that will change a single-digit entry on each page, giving you a book with a random set of characters each time it is summoned. Any help would be greatly appreciated.

Current target/command that is working

/data modify block -183 64 201 Items[0].tag merge value {pages:['{"text":"1"}','{"text":"7"}','{"text":"1"}']}

What I still need is a way to only edit the data on a single page without changing the data on any of the other pages.

I am looking for the command to change the data in a written book that is in a chest, changing what is written on the page/s. I am trying to build a randomizer that will change a single-digit entry on each page, giving you a book with a random set of characters each time it is summoned. Any help would be greatly appreciated.

Current target/command that is working

/data modify block -183 64 201 Items[0].tag merge value {pages:['{"text":"1"}','{"text":"7"}','{"text":"1"}']}

What I still need is a way to only edit the data on a single page without changing the data on any of the other pages.

Edit.

I have gone through the linked question and it does not illustrate how to do what I am trying to do.

We keep edit history here
Source Link
pppery
  • 4k
  • 8
  • 29
  • 50

I am looking for the command to change the data in a written book that is ̶d̶r̶o̶p̶p̶e̶d̶ ̶o̶n̶ ̶t̶h̶e̶ ̶g̶r̶o̶u̶n̶d̶ in a chest, changing what is written on the page/s. I am trying to build a randomizer that will change a single-digit entry on each page, giving you a book with a random set of characters each time it is summoned. Any help would be greatly appreciated.

Edit.

-Current Current target/command that is working /data modify block -183 64 201 Items[0].tag merge value {pages:['{"text":"1"}','{"text":"7"}','{"text":"1"}']}

/data modify block -183 64 201 Items[0].tag merge value {pages:['{"text":"1"}','{"text":"7"}','{"text":"1"}']}

What I still need is a way to only edit the data on a single page without changing the data on any of the other pages.

I am looking for the command to change the data in a written book that is ̶d̶r̶o̶p̶p̶e̶d̶ ̶o̶n̶ ̶t̶h̶e̶ ̶g̶r̶o̶u̶n̶d̶ in a chest, changing what is written on the page/s. I am trying to build a randomizer that will change a single-digit entry on each page, giving you a book with a random set of characters each time it is summoned. Any help would be greatly appreciated.

Edit.

-Current target/command that is working /data modify block -183 64 201 Items[0].tag merge value {pages:['{"text":"1"}','{"text":"7"}','{"text":"1"}']}

What I still need is a way to only edit the data on a single page without changing the data on any of the other pages.

I am looking for the command to change the data in a written book that is in a chest, changing what is written on the page/s. I am trying to build a randomizer that will change a single-digit entry on each page, giving you a book with a random set of characters each time it is summoned. Any help would be greatly appreciated.

Current target/command that is working

/data modify block -183 64 201 Items[0].tag merge value {pages:['{"text":"1"}','{"text":"7"}','{"text":"1"}']}

What I still need is a way to only edit the data on a single page without changing the data on any of the other pages.

added 286 characters in body
Source Link

I am looking for the command to change the data in a written book that is dropped on the ground ̶d̶r̶o̶p̶p̶e̶d̶ ̶o̶n̶ ̶t̶h̶e̶ ̶g̶r̶o̶u̶n̶d̶ in a chest, changing what is written on the page/s. I am trying to build a randomizer that will change a single-digit entry on each page, giving you a book with a random set of characters each time it is summoned. Any help would be greatly appreciated.

Edit.

-Current target/command that is working /data modify block -183 64 201 Items[0].tag merge value {pages:['{"text":"1"}','{"text":"7"}','{"text":"1"}']}

What I still need is a way to only edit the data on a single page without changing the data on any of the other pages.

I am looking for the command to change the data in a written book that is dropped on the ground changing what is written on the page/s. I am trying to build a randomizer that will change a single-digit entry on each page, giving you a book with a random set of characters each time it is summoned. Any help would be greatly appreciated.

I am looking for the command to change the data in a written book that is ̶d̶r̶o̶p̶p̶e̶d̶ ̶o̶n̶ ̶t̶h̶e̶ ̶g̶r̶o̶u̶n̶d̶ in a chest, changing what is written on the page/s. I am trying to build a randomizer that will change a single-digit entry on each page, giving you a book with a random set of characters each time it is summoned. Any help would be greatly appreciated.

Edit.

-Current target/command that is working /data modify block -183 64 201 Items[0].tag merge value {pages:['{"text":"1"}','{"text":"7"}','{"text":"1"}']}

What I still need is a way to only edit the data on a single page without changing the data on any of the other pages.

deleted 35 characters in body; edited tags; edited title
Source Link
pinckerman
  • 43.9k
  • 23
  • 132
  • 197
Loading
Source Link
Loading