JavaScript is disabled on your browser.
Skip navigation links
Overview
Class
Use
Tree
Deprecated
Index
Search
Help
net.kyori.adventure.api
net.kyori.adventure.pointer
Pointer
Contents
Description
Method Summary
Method Details
pointer(Class, Key)
type()
key()
Hide sidebar
Show sidebar
Interface Pointer<V>
Type Parameters:
V
- the value type
All Superinterfaces:
Keyed
public sealed interface
Pointer<V>
extends
Keyed
A pointer to a resource.
Since:
4.8.0
Method Summary
All Methods
Static Methods
Instance Methods
Abstract Methods
Modifier and Type
Method
Description
Key
key
()
Gets the key.
static <V>
Pointer
<V>
pointer
(
Class
<V> type,
Key
key)
Creates a pointer.
Class
<
V
>
type
()
Gets the value type.
Method Details
pointer
static
<V>
Pointer
<V>
pointer
(
Class
<V> type,
Key
key)
Creates a pointer.
Type Parameters:
V
- the value type
Parameters:
type
- the value type
key
- the key
Returns:
the pointer
Since:
4.8.0
type
Class
<
V
>
type
()
Gets the value type.
Returns:
the value type
Since:
4.8.0
key
Key
key
()
Gets the key.
Specified by:
key
in interface
Keyed
Returns:
the key
Since:
4.8.0