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 Details

    • CollectPointersEvent

      @Internal public CollectPointersEvent(@NotNull @NotNull Pointered pointered, @NotNull Pointers.Builder builder)
      Create a new CollectPointersEvent.
      Parameters:
      pointered - pointered instance
      builder - pointers builder
      Since:
      6.0.0
  • Method Details

    • pointered

      public Pointered pointered()
      Returns the Pointered object we are collecting pointers for.
      Returns:
      the pointered
      Since:
      6.0.0
    • pointers

      public Pointers.Builder pointers()
      Returns the builder for contributing pointers to pointered().
      Returns:
      the builder
      Since:
      6.0.0