Package com.github.juliarn.npclib.api
Interface Npc.Builder<W,P,I,E>
- All Superinterfaces:
NpcFlaggedBuilder<Npc.Builder<W,P, I, E>>
-
Method Summary
Modifier and TypeMethodDescriptionbuild()@NotNull Npc.Builder<W, P, I, E> entityId(int id) @NotNull Npc.Builder<W, P, I, E> npcSettings(@NotNull Consumer<NpcSettings.Builder<P>> decorator) @NotNull Npc.Builder<W, P, I, E> default @NotNull CompletableFuture<Npc.Builder<W, P, I, E>> @NotNull CompletableFuture<Npc.Builder<W, P, I, E>> profile(@Nullable ProfileResolver resolver, @NotNull Profile profile) @NotNull Npc.Builder<W, P, I, E> profile(Profile.Resolved profile) Methods inherited from interface com.github.juliarn.npclib.api.flag.NpcFlaggedBuilder
flag
-
Method Details
-
entityId
-
position
-
profile
-
profile
@NotNull default @NotNull CompletableFuture<Npc.Builder<W,P, profileI, E>> (@NotNull @NotNull Profile profile) -
profile
@NotNull @NotNull CompletableFuture<Npc.Builder<W,P, profileI, E>> (@Nullable @Nullable ProfileResolver resolver, @NotNull @NotNull Profile profile) -
npcSettings
@NotNull @NotNull Npc.Builder<W,P, npcSettingsI, E> (@NotNull @NotNull Consumer<NpcSettings.Builder<P>> decorator) -
build
-
buildAndTrack
-