Open GrantGryczan opened 2 years ago
All places where a Resource or /variables
utility can be turned into a simple value it should be supported, because Sandstone is supposed to be a rolling abstraction precompiler where you can choose the amount of features you want to use. This will be done alongside other missing support in a future release.
Like how
execute.run
accepts the parameters ofMCFunction
. It would make checks with predicates that are only ever used once much less verbose.I am iffy on this suggestion though, because there are a lot of commands that could receive the same treatment but don't (for example, the
item
command could allow the creation ofItemModifiers
via its parameters too), and I'm not confident this is a good design pattern for anything beyond functions. More opinions (or deeper consideration) would be needed.