pub fn call(expr: &str, args: &[Value]) -> Option<Value>Expand description
Calls a Java mod’s API: expr is a chain from a class —
virtuoel.pehkui.api.ScaleTypes.BASE.getScaleData($0).getScale() —
fields and methods, $n the n-th of args. Numbers, strings,
booleans and null cross as they are; an entity is
Value::Ref(Ref::new("entity", uuid)) both ways. None when the call
failed (the log says why). For other mods’ APIs only: Minecraft’s own
classes are renamed at run time on some loaders.