nbs.js - v7.0.0-alpha1
Preparing search index...
ResourceLocation
Class ResourceLocation
Index
Methods
from
of
sanitize
Namespace
sanitize
Path
validate
validate
Namespace
validate
Path
to
String
Accessors
namespace
path
Constructors
constructor
Methods
Static
from
from
(
identifier
:
string
)
:
ResourceLocation
Parameters
identifier
:
string
Returns
ResourceLocation
Static
of
of
(
namespace
:
string
,
path
:
string
)
:
ResourceLocation
Parameters
namespace
:
string
path
:
string
Returns
ResourceLocation
Static
sanitize
Namespace
sanitizeNamespace
(
namespace
:
string
)
:
string
Parameters
namespace
:
string
Returns
string
Static
sanitize
Path
sanitizePath
(
path
:
string
)
:
string
Parameters
path
:
string
Returns
string
Static
validate
validate
(
namespace
:
string
,
path
:
string
)
:
Result
Parameters
namespace
:
string
path
:
string
Returns
Result
Static
validate
Namespace
validateNamespace
(
namespace
:
string
)
:
Result
Parameters
namespace
:
string
Returns
Result
Static
validate
Path
validatePath
(
path
:
string
)
:
Result
Parameters
path
:
string
Returns
Result
to
String
toString
()
:
string
Returns
string
Accessors
namespace
get
namespace
()
:
string
Returns
string
set
namespace
(
namespace
:
string
)
:
void
Parameters
namespace
:
string
Returns
void
path
get
path
()
:
string
Returns
string
set
path
(
path
:
string
)
:
void
Parameters
path
:
string
Returns
void
Constructors
constructor
new
ResourceLocation
(
namespace
:
string
,
path
:
string
)
:
ResourceLocation
Parameters
namespace
:
string
path
:
string
Returns
ResourceLocation
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
from
of
sanitize
Namespace
sanitize
Path
validate
validate
Namespace
validate
Path
to
String
Accessors
namespace
path
Constructors
constructor
nbs.js - v7.0.0-alpha1
Loading...