#Mixins - How can I @Shadow protected superclass members?

4 messages · Page 1 of 1 (latest)

gusty roost
#

Make your mixin abstract and extends LivingEntity

#

The constructor can just be throw new AssertionException("Implemented in mixin"); or whatever you want as long as it satisfies Java. Mixin will replace it.

#

That works too. Less flexible, you can't grab things that only livingentity has

#

But perfectly valid I believe