To give a better idea of what I mean, within a block/item's json file, there are events defined under the "events" tag, such as: "addon:custom_tool_use", or "addon:custom_block_interact", etc.
What I would like is if these events could somehow be exposed through the scripting API, so that actions that currently cannot be performed using json events, can instead be done through the situationally more versatile scripting API.
An example of a useful use case could be opening a menu through the @minecraft/server-ui module, which isnt possible through json events as of now. This is only a simple use case, but the possibilities would be much more complex than currently possible.
Please sign in to leave a comment.
0 Comments