-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededquestionFurther information is requestedFurther information is requested
Description
Is your feature request related to a problem? Please describe.
As the engine supports event handlers other than commands (java included, javascript WIP) we should use something more generic than the ˋCommandSourceˋ.
Describe the solution you'd like
A new ˋEventˋ class that can better accomodate new script engines.
Requested fields:
- position(vector3)
- block (optional)
- sourceEntity(optional)
- Target for sending feedback
- members: an array containin additional entities that are involved, for example the other animal during breeding, or the true source of damage.
Additionally:
It should also have an ˋexecuteˋ style command to switch into these members. The command context should not change, unless an ˋasˋ subcommand was called.
Describe alternatives you've considered
The current solution is to use the built-in ˋServerCommandSourceˋ class, as this is what commands use.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededquestionFurther information is requestedFurther information is requested