LiLaC API
1.0.0-beta.1-api
jvm
LiLaC API
/
opekope2.lilac.api.resource
/
IResource
IResource
interface
IResource
(
source
)
A wrapper interface for Minecraft's Resource class.
Inheritors
IResourceReader
Members
Functions
exists
Link copied to clipboard
abstract
fun
exists
(
)
:
Boolean
Returns whether the given resource exists.
get
Id
Link copied to clipboard
@
NotNull
abstract
fun
getId
(
)
:
@
NotNull
Identifier
Returns the ID of the given resource.
get
Resource
Pack
Link copied to clipboard
@
NotNull
abstract
fun
getResourcePack
(
)
:
@
NotNull
IResourcePack
Returns the resource pack the given resource is loaded from.