Skip to content

[ REQUEST ] Add a getter for 2 fields for 1.21.1 #1265

@Xelbayria

Description

@Xelbayria

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions