Implemented custom player overlays.

This commit is contained in:
Luis C.M committed 2022-05-16 05:45:00 -05:00
1 parent d6b1dba9bc
commit 9a0aae50e0
6 files changed
+137 -2

No files matched your search

@@ -6,6 +6,7 @@ import io.netty.buffer.Unpooled;
import java.io.IOException;
import java.util.HashMap;
import net.minecraft.util.ResourceLocation;
import noppes.npcs.CustomNpcs;
import noppes.npcs.Server;
import noppes.npcs.client.gui.customoverlay.OverlayCustom;
@@ -14,6 +15,7 @@ import cpw.mods.fml.common.network.internal.FMLProxyPacket;
public class Client {
public static HashMap<Integer, OverlayCustom> customOverlays = new HashMap<>();
public static ResourceLocation playerOverlay = null;
public static void sendData(EnumPacketServer enu, Object... obs) {
ByteBuf buffer = Unpooled.buffer();