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
When two constants have the same value, it would be useful to be able to specify classes where one of these constants should be used.
For example, Minecraft has two constants with value 10 for entity statuses: one in EntityStatuses, for sheeps eating grass, and one in TntMinecartEntity for primed tnt.
Specifying a class where one or the other should be used would allow something like "when sendEntityStatus() is called in TntMinecartEntity, use the constant of this class, otherwise use the constant in EntityStatuses".
The text was updated successfully, but these errors were encountered:
When two constants have the same value, it would be useful to be able to specify classes where one of these constants should be used.
For example, Minecraft has two constants with value 10 for entity statuses: one in EntityStatuses, for sheeps eating grass, and one in TntMinecartEntity for primed tnt.
Specifying a class where one or the other should be used would allow something like "when
sendEntityStatus()
is called in TntMinecartEntity, use the constant of this class, otherwise use the constant in EntityStatuses".The text was updated successfully, but these errors were encountered: