Interface FabricResource


public interface FabricResource
Extensions to Resource. Automatically implemented there via a mixin.
  • Method Summary

    Modifier and Type
    Method
    Description
    default net.minecraft.server.packs.repository.PackSource
    Gets the pack source of this resource.
  • Method Details

    • getFabricPackSource

      default net.minecraft.server.packs.repository.PackSource getFabricPackSource()
      Gets the pack source of this resource. The source is used to separate vanilla/mod resources from user resources in Fabric API.

      Custom Resource implementations should override this method.

      Returns:
      the pack source