Mixin icon indicating copy to clipboard operation
Mixin copied to clipboard

[Question] non-private static fields

Open SwissCorePy opened this issue 4 years ago • 0 comments

I am trying to add custom blockstates to a vanilla block.

public static final IntProperty TEST= IntProperty.of("test", 0, 9);

But I am getting an InvalidMixinException telling me I can not add non-private static fields.

Is there any way to add custom blockstates to vanilla blocks using mixins?

SwissCorePy avatar Oct 29 '22 16:10 SwissCorePy