From 5ca3d83b6a27e899a61144bde07d9e07f204593a Mon Sep 17 00:00:00 2001 From: makamys Date: Fri, 8 Dec 2023 18:40:10 +0100 Subject: Add some javadoc to VirtualJar --- src/main/java/makamys/neodymium/util/virtualjar/VirtualJar.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/main/java/makamys/neodymium/util/virtualjar/VirtualJar.java b/src/main/java/makamys/neodymium/util/virtualjar/VirtualJar.java index 21f5f33..5518447 100644 --- a/src/main/java/makamys/neodymium/util/virtualjar/VirtualJar.java +++ b/src/main/java/makamys/neodymium/util/virtualjar/VirtualJar.java @@ -3,7 +3,6 @@ package makamys.neodymium.util.virtualjar; import static makamys.neodymium.Constants.MODID; import static makamys.neodymium.Constants.PROTOCOL; -import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.net.MalformedURLException; @@ -17,7 +16,10 @@ import static makamys.neodymium.Constants.LOGGER; import makamys.neodymium.util.virtualjar.protocol.neodymiumvirtualjar.Handler; import net.minecraft.launchwrapper.Launch; - +/** + * This class is used to register fake "virtual" jars and add them to LaunchClassLoader's class path. The contents of + * these jars are determined dynamically by the implementation of {@link IVirtualJar}, rather than a real file in the file system. + */ public class VirtualJar { private static boolean registered; -- cgit