Interface FabricResource
public interface FabricResource
Extensions to
Resource.
Automatically implemented there via a mixin.-
Method Summary
Modifier and TypeMethodDescriptiondefault net.minecraft.server.packs.repository.PackSourceGets the resource pack source of this resource.
-
Method Details
-
getFabricPackSource
default net.minecraft.server.packs.repository.PackSource getFabricPackSource()Gets the resource pack source of this resource. The source is used to separate vanilla/mod resources from user resources in Fabric API.Custom
Resourceimplementations should override this method.- Returns:
- the resource pack source
-