@Callback(doc = "function():number -- Get the temperature of the boiler") public Object[] getTemperature(final Context context, final Arguments args) { return new Object[] {Reflection.tryInvoke(tileEntity, "getTemperature")}; }
@Callback(doc = "function():boolean -- Get whether the boiler is active or not") public Object[] isBurning(final Context context, final Arguments args) { return new Object[] {Reflection.tryInvoke(tileEntity, "isBurning")}; }