gnembon / scarpet

Public Repository of scarpet programs for Minecraft
Creative Commons Zero v1.0 Universal
351 stars 158 forks source link

Fix deprecations in sneak_grow_overpowered #355

Closed altrisi closed 1 year ago

altrisi commented 1 year ago

Fixes #354.

This PR is intended to be Rebase and merged, given it includes a (very) backwards compatible way in the first commit, and a more general but modern one in the second one.

I think the second one is a good idea given it allows usage in custom and modded dimensions.

It'd probably be better to make it use sneak events that are dimension local, but that's for later.