diff options
author | SHsuperCM <shsupercm@gmail.com> | 2021-08-27 16:55:57 +0300 |
---|---|---|
committer | SHsuperCM <shsupercm@gmail.com> | 2021-08-27 16:55:57 +0300 |
commit | b3af35489238421ce65dba8026ed233ee0b92f14 (patch) | |
tree | 987b849d4ad20e3a5cbea87d4805fdf607da3b3b /src/main/java/shcm/shsupercm/fabric/citresewn/CITResewn.java | |
parent | 69a8dd26d808c49c865575486849ee9093c82e0e (diff) | |
download | CITResewn-b3af35489238421ce65dba8026ed233ee0b92f14.tar.gz CITResewn-b3af35489238421ce65dba8026ed233ee0b92f14.tar.bz2 CITResewn-b3af35489238421ce65dba8026ed233ee0b92f14.zip |
A whole lotta work in loading item-type cits and active structure
Diffstat (limited to 'src/main/java/shcm/shsupercm/fabric/citresewn/CITResewn.java')
-rw-r--r-- | src/main/java/shcm/shsupercm/fabric/citresewn/CITResewn.java | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/main/java/shcm/shsupercm/fabric/citresewn/CITResewn.java b/src/main/java/shcm/shsupercm/fabric/citresewn/CITResewn.java index 8880010..1c45468 100644 --- a/src/main/java/shcm/shsupercm/fabric/citresewn/CITResewn.java +++ b/src/main/java/shcm/shsupercm/fabric/citresewn/CITResewn.java @@ -3,23 +3,19 @@ package shcm.shsupercm.fabric.citresewn; import net.fabricmc.api.ClientModInitializer; import net.fabricmc.api.EnvType; import net.fabricmc.api.Environment; -import net.minecraft.client.render.model.BakedModel; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; -import java.util.WeakHashMap; - @Environment(EnvType.CLIENT) public class CITResewn implements ClientModInitializer { - public static final Logger LOG = LogManager.getLogger("citresewn"); + public static final Logger LOG = LogManager.getLogger("CITResewn"); public static CITResewn INSTANCE; - public final WeakHashMap<BakedModel, String> bakedOverridesCache = new WeakHashMap<>(); - public ActiveCITs activeCITs = null; @Override public void onInitializeClient() { + INSTANCE = this; /*net.minecraft.client.render.entity.feature.ArmorFeatureRenderer#renderArmor take entity.getEquippedStack(armorSlot) eval override |