You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 4, 2020. It is now read-only.
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.
The text was updated successfully, but these errors were encountered:
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.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
The text was updated successfully, but these errors were encountered: