Added Custom Particles for scripted entities that work on server and client sides.

This commit is contained in:
luisc committed 2021-09-06 01:24:38 -05:00
1 parent 9f4ab7f01e
commit fbc22fdef2
6 files changed
+295 -11

No files matched your search

@@ -151,6 +151,9 @@ public class PacketHandlerClient extends PacketHandlerServer{
EnumGuiType gui = EnumGuiType.values()[buffer.readInt()];
CustomNpcs.proxy.openGui(NoppesUtil.getLastNpc(), gui, buffer.readInt(), buffer.readInt(), buffer.readInt());
}
else if(type == EnumPacketClient.SCRIPTED_PARTICLE){
NoppesUtil.spawnScriptedParticle(buffer);
}
else if(type == EnumPacketClient.PARTICLE){
NoppesUtil.spawnParticle(buffer);
}