gilesknap / mciwb

Minecraft Interactive world builder
Apache License 2.0
298 stars 6 forks source link

"if blocks" sub type of execute #26

Closed gilesknap closed 2 years ago

gilesknap commented 2 years ago

can this command be used to make sign monitoring more efficient?

If so monitor a wider range for signs ...

gilesknap commented 2 years ago

No this does not work - it can only compare a complete range of blocks (or single block)

A much more encouraging route was to use an entity such as an item frame which can be detected with the data get @e command. But I was unable to find a way to customise inventory item frames as they do not have BlockEntityTag like a sign can have while in the inventory.

Abandoning as the signs work quite well and the only concern is the polling overhead which does not seem to have been an issue yet.