Official Polymer compatibility

- Based on my PolymerRocks compatibility patch, featuring many improvements over it
- Less hardcoded object instances, allowing for easier addition of new variations
This commit is contained in:
Martin Prokoph
2024-09-16 18:49:17 +02:00
parent 5bbfc74a48
commit 8e2fc41b99
54 changed files with 1434 additions and 225 deletions

View File

@@ -13,7 +13,7 @@ public class MixinModelElementDeserializer {
* @author Motschen
* @reason Not cancellable
* Unlimited rotation angles for starfish
* Inspired by https://github.com/CottonMC/ModelsUnlocked/blob/master/src/main/java/io/github/cottonmc/modelsunlocked/mixin/ModelElementDeserializerMixin.java
* Inspired by <a href="https://github.com/CottonMC/ModelsUnlocked/blob/master/src/main/java/io/github/cottonmc/modelsunlocked/mixin/ModelElementDeserializerMixin.java">ModelsUnlocked</a>
*/
@Overwrite
private float deserializeRotationAngle(JsonObject json) {