Class MolangVars
java.lang.Object
net.ixdarklord.coolcatcanvas.internal.client.armature.molang.MolangVars
Every variable name ever compiled, as a slot number, so a running expression reads an array instead of a map.
v.speed and variable.speed share a slot; temp variables have their own (t.x is not v.x).-
Method Summary
Modifier and TypeMethodDescriptionstatic intThe slot of a variable if it was ever compiled or set, else -1.static Stringv.xasvariable.x,t.xastemp.x,c.xascontext.x, lower case.static intThe slot of a variable, by its whole name in any spelling (v.x,variable.x,t.x).
-
Method Details
-
slot
The slot of a variable, by its whole name in any spelling (v.x,variable.x,t.x). -
existing
The slot of a variable if it was ever compiled or set, else -1. -
normalize
-