Replies: 1 comment
-
Yeah, we can handle those easily. I'll create an issue to keep track of this. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, while testing one of my mods, I noticed that fields patched by Forge into protected methods don't seem to get transformed by Connector.
Example: MobBucketItem. The
entityType
field becomesgetFishType()
. I wanted to submit a PR with the fields added toFieldToMethodTransformer#REPLACEMENTS
, but I realized that they are protected and can't be widened.Are there any plans to handle collisions like this?
The easiest way would probably be to create a public version like this
public <return type> connector$<method name>(<params>)
and redirect fields to it, but you probably have a better idea. 😅Beta Was this translation helpful? Give feedback.
All reactions