Elementa
Elementa copied to clipboard
StencilEffect doesn't work on 1.18
Describe the bug
Elementa's StencilEffect doesn't work in 1.18 as the enableStencil function doesn't have any implementation for versions less than 1.15.
To Reproduce Steps to reproduce the behavior:
- Call
StencilEffect.enableStencil()in your mod's initializer - Add the
StencilEffectto your component
Expected behavior The component should be scissored around the parent component
Additional context To enable stencils in 1.18, I found this gist, but I wasn't able to get it working properly.
hi connor