Class CollectPointersEvent
java.lang.Object
net.neoforged.bus.api.Event
net.kyori.adventure.platform.neoforge.CollectPointersEvent
public final class CollectPointersEvent
extends net.neoforged.bus.api.Event
An event called when pointers for some
Pointered
implementation are required.- Since:
- 6.0.0
-
Constructor Summary
ConstructorDescriptionCollectPointersEvent
(@NotNull Pointered pointered, @NotNull Pointers.Builder builder) Create a newCollectPointersEvent
. -
Method Summary
Modifier and TypeMethodDescriptionReturns thePointered
object we are collecting pointers for.pointers()
Returns the builder for contributing pointers topointered()
.
-
Constructor Details
-
CollectPointersEvent
@Internal public CollectPointersEvent(@NotNull @NotNull Pointered pointered, @NotNull Pointers.Builder builder) Create a newCollectPointersEvent
.- Parameters:
pointered
- pointered instancebuilder
- pointers builder- Since:
- 6.0.0
-
-
Method Details
-
pointered
Returns thePointered
object we are collecting pointers for.- Returns:
- the pointered
- Since:
- 6.0.0
-
pointers
Returns the builder for contributing pointers topointered()
.- Returns:
- the builder
- Since:
- 6.0.0
-