-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fzzy Update 1 - Start work on Enchantment Datagen, Enchantment Tags, … #280
Conversation
…Entity Effects, Component Types, Enchantment IDs, and more. Will detail in PR.
…art in on custom ComponentTypes, implementing event hooks, custom Effect Types including registries
Second commit:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@fzzyhmstrs Everything looks good. I just need clarification on my question related to the AOEHelper#getEntitiesByPredicate
method
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Has the context of getEntitiesByPredicate
changed to only be related to AOE statusEffect
? This method, iirc, is also use for effects such as Swirling, which is not a statusEffect
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To be honest I don't remember changing anything in AOEHelper (on purpose). The only AOE checking I implemented was in the AOE Enchantment Effect, and thus far I just used the world getEntitiesByClass
method. I don't know what direction you want to take the aoe permissions, so didn't touch any of that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah okay. Yeah, it was just in reference to the note that you made. No worries :) I'll have to figure out how we want to do the perms at a later date. Thanks, @fzzyhmstrs!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved 20240528
PR of some work I did on frameworks and other first steps, just to start getting a feel for the processes needed, and to have some templates in place.
ComponentTypes
inMcdwEffectComponentTypes
. Introduced a pretty diverse selection of examples to build fromMcdwEnchantmentGenerator
. Soul Devourer and Soul Siphon should be feature complete, pending any tweaks to the definition. Leeching will need the hook made for ON_DEATHMcdwEnchantmentTagGenerator
for adding enchantment tags. These will be used for (at least) creating exclusions. I made a list forEXPERIENCE_EXCLUSIVE
andHEALING_EXCLUSIVE
. TODO: Add the provider into the main MCDW data generator.McdwTagGenerator
toMcdwItemTagGenerator
. Moved the TagKeys themselves toMcdwItemTags
.ADD_STACKING_MOB_EFFECT
andLEECH_MOB
.McdwEntityEffectTypes
EnchantmentIds
, with the list ofRegistryKey<Enchantment>
for the enchantments. This just needs to be filled in with all the rest of the enchant ids. This is used by the data generator, or by anything that needs to refence a specific enchant in game for some reason.McdwAxeItemRegistry
. This makes things a bit cleaner IMO, and makes tag generation a lot cleaner. Would need to be repeated on all other registries.McdwEnchantmentTags
class, holding psf tagkeys for all the enchant tags that will be needed.McdwItemTags
class, holding psf item tagkeys.Misc:
Identifier.of(MCDW.MODID, path)
with the exstingMcdw.ID(path)