Closed FireBallMC3 closed 2 months ago
A way to bypass the compiler when i throws a wrongfull exception. Example: test(); raw {execute if data entity @s item run say item} say "hi"; Should compile to: function namespace:test execute if data entity @s item run say item say hi
test();
raw {execute if data entity @s item run say item}
say "hi";
function namespace:test
execute if data entity @s item run say item
say hi
This already exists.
test(); JMC.put("execute if data entity @s item run say item"); say "hi";
Description
A way to bypass the compiler when i throws a wrongfull exception. Example:
test();
raw {execute if data entity @s item run say item}
say "hi";
Should compile to:function namespace:test
execute if data entity @s item run say item
say hi