Pokecube AIO

Pokecube AIO

498k Downloads

[ REQUEST ] Add a getter for 2 fields for 1.21.1

Xelbayria opened this issue ยท 0 comments

commented

Is your feature request related to a problem? Please describe.
I cannot access the 2 fields from LegendsDistorticRecipeImp

The 2 field are: block and input.

I'm a DEV of EveryCompat that support Pokecube-AOI.

Describe the solution you'd like
The simple solution is to add a getter (getBlock or getInput) from the class because these 2 field are set to private.

Let me know if you would like me to do a PR for this.

Describe alternatives you've considered
For now, i am trying to use a Java's reflection to access the 2 field but it's not the best solution.

Additional context
N/A