Class BedrockAcceptedResources
java.lang.Object
com.viaversion.viafabricplus.bedrock.render.BedrockAcceptedResources
Actor and effect loaders share one decoded accepted archive during each resource generation.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Optional<net.raphimc.viabedrock.api.resourcepack.NativeActorLibrary.Archive> archive(net.minecraft.server.packs.resources.ResourceManager resources) static voidclear()static List<net.raphimc.viabedrock.api.resourcepack.NativeActorLibrary.Layer> layers(net.minecraft.server.packs.resources.ResourceManager resources) Decoding accepted assets never requests authentication or a direct Bedrock connection.
-
Method Details
-
layers
public static List<net.raphimc.viabedrock.api.resourcepack.NativeActorLibrary.Layer> layers(net.minecraft.server.packs.resources.ResourceManager resources) throws IOException Decoding accepted assets never requests authentication or a direct Bedrock connection.- Throws:
IOException
-
archive
public static Optional<net.raphimc.viabedrock.api.resourcepack.NativeActorLibrary.Archive> archive(net.minecraft.server.packs.resources.ResourceManager resources) throws IOException - Throws:
IOException
-
clear
public static void clear()
-