Package com.github.juliarn.npclib.api
Interface Platform.Builder<W,P,I,E>
public static interface Platform.Builder<W,P,I,E>
-
Method Summary
Modifier and TypeMethodDescription@NotNull Platform.Builder<W, P, I, E> actionController(@NotNull Consumer<NpcActionController.Builder> decorator) build()@NotNull Platform.Builder<W, P, I, E> debug(boolean debug) @NotNull Platform.Builder<W, P, I, E> eventManager(@NotNull NpcEventManager eventManager) @NotNull Platform.Builder<W, P, I, E> @NotNull Platform.Builder<W, P, I, E> logger(@NotNull PlatformLogger logger) @NotNull Platform.Builder<W, P, I, E> npcTracker(@NotNull NpcTracker<W, P, I, E> npcTracker) @NotNull Platform.Builder<W, P, I, E> packetFactory(@NotNull PlatformPacketAdapter<W, P, I, E> packetFactory) @NotNull Platform.Builder<W, P, I, E> profileResolver(@NotNull ProfileResolver profileResolver) @NotNull Platform.Builder<W, P, I, E> taskManager(@NotNull PlatformTaskManager taskManager) @NotNull Platform.Builder<W, P, I, E> versionAccessor(@NotNull PlatformVersionAccessor versionAccessor) @NotNull Platform.Builder<W, P, I, E> worldAccessor(@NotNull PlatformWorldAccessor<W> worldAccessor)
-
Method Details
-
debug
-
extension
-
logger
-
eventManager
@NotNull @NotNull Platform.Builder<W,P, eventManagerI, E> (@NotNull @NotNull NpcEventManager eventManager) -
npcTracker
@NotNull @NotNull Platform.Builder<W,P, npcTrackerI, E> (@NotNull @NotNull NpcTracker<W, P, I, E> npcTracker) -
taskManager
@NotNull @NotNull Platform.Builder<W,P, taskManagerI, E> (@NotNull @NotNull PlatformTaskManager taskManager) -
profileResolver
@NotNull @NotNull Platform.Builder<W,P, profileResolverI, E> (@NotNull @NotNull ProfileResolver profileResolver) -
worldAccessor
@NotNull @NotNull Platform.Builder<W,P, worldAccessorI, E> (@NotNull @NotNull PlatformWorldAccessor<W> worldAccessor) -
versionAccessor
@NotNull @NotNull Platform.Builder<W,P, versionAccessorI, E> (@NotNull @NotNull PlatformVersionAccessor versionAccessor) -
packetFactory
@NotNull @NotNull Platform.Builder<W,P, packetFactoryI, E> (@NotNull @NotNull PlatformPacketAdapter<W, P, I, E> packetFactory) -
actionController
@NotNull @NotNull Platform.Builder<W,P, actionControllerI, E> (@NotNull @NotNull Consumer<NpcActionController.Builder> decorator) -
build
-