From d8751e939e6eb2427c548846f4f9af979dcfeaca Mon Sep 17 00:00:00 2001 From: ThisIsALegitUsername Date: Sat, 11 Feb 2023 19:52:33 +0000 Subject: [PATCH] Optimize cosmetics --- .../java/dev/resent/cosmetic/CosmeticBase.java | 13 +++++++++++-- .../dev/resent/cosmetic/CosmeticModelBase.java | 15 --------------- .../dev/resent/cosmetic/impl/CrystalWings.java | 1 - .../java/dev/resent/cosmetic/impl/Glasses.java | 1 - src/main/java/dev/resent/cosmetic/impl/Halo.java | 1 - .../java/dev/resent/cosmetic/impl/TopHat.java | 1 - 6 files changed, 11 insertions(+), 21 deletions(-) delete mode 100644 src/main/java/dev/resent/cosmetic/CosmeticModelBase.java diff --git a/src/main/java/dev/resent/cosmetic/CosmeticBase.java b/src/main/java/dev/resent/cosmetic/CosmeticBase.java index f0541bae..33e8dad7 100644 --- a/src/main/java/dev/resent/cosmetic/CosmeticBase.java +++ b/src/main/java/dev/resent/cosmetic/CosmeticBase.java @@ -1,6 +1,8 @@ package dev.resent.cosmetic; import net.minecraft.client.entity.AbstractClientPlayer; +import net.minecraft.client.model.ModelBase; +import net.minecraft.client.model.ModelBiped; import net.minecraft.client.renderer.entity.RenderPlayer; import net.minecraft.client.renderer.entity.layers.LayerRenderer; @@ -21,8 +23,15 @@ public abstract class CosmeticBase implements LayerRenderer