Package cpw.mods.modlauncher
Class ModuleLayerHandler
java.lang.Object
cpw.mods.modlauncher.ModuleLayerHandler
- All Implemented Interfaces:
IModuleLayerManager
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static final recordprivate static final recordNested classes/interfaces inherited from interface cpw.mods.modlauncher.api.IModuleLayerManager
IModuleLayerManager.Layer -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final EnumMap<IModuleLayerManager.Layer, ModuleLayerHandler.LayerInfo> private final EnumMap<IModuleLayerManager.Layer, List<ModuleLayerHandler.PathOrJar>> private static final org.apache.logging.log4j.Logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) voidaddToLayer(IModuleLayerManager.Layer layer, cpw.mods.jarhandling.SecureJar jar) (package private) voidaddToLayer(IModuleLayerManager.Layer layer, NamedPath namedPath) buildLayer(IModuleLayerManager.Layer layer, BiFunction<Configuration, List<ModuleLayer>, cpw.mods.cl.ModuleClassLoader> classLoaderSupplier) voidupdateLayer(IModuleLayerManager.Layer layer, Consumer<ModuleLayerHandler.LayerInfo> action)
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
layers
-
completedLayers
-
-
Constructor Details
-
ModuleLayerHandler
ModuleLayerHandler()
-
-
Method Details
-
addToLayer
-
addToLayer
-
buildLayer
public ModuleLayerHandler.LayerInfo buildLayer(IModuleLayerManager.Layer layer, BiFunction<Configuration, List<ModuleLayer>, cpw.mods.cl.ModuleClassLoader> classLoaderSupplier) -
buildLayer
-
getLayer
- Specified by:
getLayerin interfaceIModuleLayerManager
-
updateLayer
public void updateLayer(IModuleLayerManager.Layer layer, Consumer<ModuleLayerHandler.LayerInfo> action)
-