Open SovHed opened 10 years ago
Maybe I'm wrong, but the : are a RegEx operator that should be escaped when you use it in a regex
Minecraft uses 12 bits for each block ID, which means there can be up to 4096 different blocks, whose ID range from 0 to 4095. It's phisically impossible that any block has an id 12275, for example.
Also block metas are 4 bits, with 16 different values, from 0 to 15. Anything outside that range isn't valid either.
I'm trying to block a few items with the line: -modifyworld.blocks.(place|interact|destroy).(12275|20256:4096|20256:4097|20256:4098|20256:4099|1285) However... The :4096 and other metadata values appear not to work. Whereas all the other items i block in the same method with metadata values such as 3120:14||1405:7 work just fine. Is there a limit to the metadata value, or what am I doing wrong? It is just items with a high metadata that are not blocked successfully.