Hex Casting

Hex Casting

6M Downloads

Post media extraction handler

walksanatora opened this issue ยท 2 comments

commented

I was just talking with @munelitjolty on discord and I noticed something that may be simple to add and slightly usefull (unless I am missing a better way)
so in their 1.19 addon they add a new DiscoveryHandler for media items in the klein chest (bigger enderchest which can also extract media from)
and the only ways I can see to replicate this behaviour in 1.20.1 is

  1. mixin to the getItemsForExtraction on relevant casting environments (mixins are... not a good idea and can break compatibility and I feel like ther has to be a better way)
  2. add a ExtractMedia casting env component (always runs before env media extraction, which means it also always eats from the klein chest which is not preferable as it is meant to be secondary and less efficent)

my idea: make a PostExtractMedia env component that is nearly the same as ExtractMedia but runs after env media extraction occurs

commented

@walksanatora was this implemented by #626?

commented

correct this was implemented by #626