Players can now have multiple skin overlays, just like GUI overlays.

This commit is contained in:
Luis C.M committed 2022-05-16 18:47:16 -05:00
1 parent 9a0aae50e0
commit dbfbab7be2
10 files changed
+162 -76

No files matched your search

+3 -1
View File
@@ -5,6 +5,7 @@ import io.netty.buffer.Unpooled;
import java.io.IOException;
import java.util.HashMap;
import java.util.UUID;
import net.minecraft.util.ResourceLocation;
import noppes.npcs.CustomNpcs;
@@ -12,10 +13,11 @@ import noppes.npcs.Server;
import noppes.npcs.client.gui.customoverlay.OverlayCustom;
import noppes.npcs.constants.EnumPacketServer;
import cpw.mods.fml.common.network.internal.FMLProxyPacket;
import noppes.npcs.controllers.data.SkinOverlayData;
public class Client {
public static HashMap<Integer, OverlayCustom> customOverlays = new HashMap<>();
public static ResourceLocation playerOverlay = null;
public static HashMap<UUID, HashMap<Integer, SkinOverlayData>> skinOverlays = new HashMap<>();
public static void sendData(EnumPacketServer enu, Object... obs) {
ByteBuf buffer = Unpooled.buffer();