Class BedrockAcceptedResources

java.lang.Object
com.viaversion.viafabricplus.bedrock.render.BedrockAcceptedResources

public final class BedrockAcceptedResources extends Object
Actor and effect loaders share one decoded accepted archive during each resource generation.
  • Method Summary

    Modifier and Type
    Method
    Description
    static Optional<net.raphimc.viabedrock.api.resourcepack.NativeActorLibrary.Archive>
    archive(net.minecraft.server.packs.resources.ResourceManager resources)
     
    static void
     
    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.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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()