opfalpha.blogg.se

What is server resource packs minecraft
What is server resource packs minecraft






Manually Make Texture Pack for Java Edition.AddOns Maker for Minecraft PE on Android.Nova Skin Resource Pack Creator for PC Users.The result of this fix is the client only reloading once when receiving a server resource pack while one is already loaded. The main change here is moving the clearServerPack call to only when the pack fails to apply. This moves the clearOldDownloads call to after everything is finished to cover the edge case of an old resource pack still being in use, therefore being unable to be deleted and causing the method to fail.

what is server resource packs minecraft

Minecraft minecraftx = -172,6 +171,7 = this.currentDownload a/src/main/java/net/minecraft/client/resources/ClientPackSource.javaįile file = new File( rverPackDir, string3) In this situation, the client only needs to clear the server pack when the new resource pack fails to download, which is how it currently functions but without un-necessarily reloading when the pack succeeds in downloading.īelow is a patch of a code change I made to fix this issue using official mappings.ĭiff -git a/src/main/java/net/minecraft/client/resources/ClientPackSource.java b/src/main/java/net/minecraft/client/resources/ClientPackSource.java When the pack is successfully downloaded (or found), the client sets the server pack which does the aforementioned step above of setting the server resource pack and reloading resources.

what is server resource packs minecraft what is server resource packs minecraft

However, clearing the server resource pack is an un-necessary step as it causes the client to reload all resources to set the server resource pack to nothing and reload it a second time if the pack successfully downloads to apply the new server resource pack. When receiving a resource pack from the server via the resource pack packet the client downloads (or reapplies if it exists) the resource pack provided by the ClientboundResourcePackPacket.ĭuring this process, the client clears the current server resource pack (the issue) and then deletes old server resource pack files which may not be used anymore.








What is server resource packs minecraft