Class TutorBuilder
java.lang.Object
com.pixelmonmod.pixelmon.api.tutor.TutorBuilder
-
Method Summary
Modifier and TypeMethodDescription@Nullable TriConsumer<net.minecraft.server.level.ServerPlayer,
Pokemon, ImmutableAttack> acceptHandler
(@Nullable TriConsumer<net.minecraft.server.level.ServerPlayer, Pokemon, ImmutableAttack> acceptHandler) static TutorBuilder
builder()
@Nullable Consumer<net.minecraft.server.level.ServerPlayer>
closeHandler
(@Nullable Consumer<net.minecraft.server.level.ServerPlayer> closeHandler) learnableMoves
(@NotNull List<LearnableMove> learnableMoves) learnTypes
(@NotNull BaseStatsLearnType... learnTypes) learnTypes
(@NotNull List<BaseStatsLearnType> learnTypes) @NotNull NPC
npc()
pokemon()
void
show
(net.minecraft.server.level.ServerPlayer... players) net.minecraft.network.chat.Component
title()
title
(@NotNull net.minecraft.network.chat.Component title)
-
Method Details
-
builder
-
npc
-
pokemon
-
learnTypes
-
learnableMoves
-
title
public net.minecraft.network.chat.Component title() -
acceptHandler
@Nullable public @Nullable TriConsumer<net.minecraft.server.level.ServerPlayer,Pokemon, acceptHandler()ImmutableAttack> -
closeHandler
-
npc
-
learnableMoves
-
acceptHandler
public TutorBuilder acceptHandler(@Nullable @Nullable TriConsumer<net.minecraft.server.level.ServerPlayer, Pokemon, ImmutableAttack> acceptHandler) -
closeHandler
public TutorBuilder closeHandler(@Nullable @Nullable Consumer<net.minecraft.server.level.ServerPlayer> closeHandler) -
learnTypes
-
pokemon
-
learnTypes
-
standardTutor
-
transferTutor
-
title
-
show
public void show(net.minecraft.server.level.ServerPlayer... players)
-