Conversation
Target Selector struct with commands to add arguments. String function converts the TargetSelector struct to the string format expected in Minecraft commands
Commands and Events as interfaces allow other packages to be written and use this engine for mods and datapacks, and well as previous minecraft versions
| } | ||
|
|
||
| // Constants of minecraft entity IDs | ||
| const ( |
There was a problem hiding this comment.
I would personally leave out the minecraft specific data to https://github.com/PrismarineJS/minecraft-data instead. I currently looking into making go-wrapper version to code gen entities based on current version for this purpose.
There was a problem hiding this comment.
Oh, that is a nice repo. Yeah, no worries, I can remove the constants
| @@ -0,0 +1,431 @@ | |||
| package wrapper | |||
There was a problem hiding this comment.
Would target_selectors not belong in the command package/dir? what do you think?
There was a problem hiding this comment.
Not a bad spot for it. Its very much a WIP and I keep restructuring
wlwanpan
left a comment
There was a problem hiding this comment.
On a side note, I dont think we need to namespace with 'java' since there is no plan to ever support cross platform :) maybe consider changing "commands/java/1.15.2/" -> "commands/1.15.2/".
|
Ok, no worries. I will try to have this finished by the end of March as well. Thanks! |
np no rush at all on that :) |
Adding support to define Target Selectors for use in commands