Class RelearnerBuilder
java.lang.Object
com.pixelmonmod.pixelmon.api.relearner.RelearnerBuilder
-
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 RelearnerBuilder
builder()
@Nullable Consumer<net.minecraft.server.level.ServerPlayer>
closeHandler
(@Nullable Consumer<net.minecraft.server.level.ServerPlayer> closeHandler) @Nullable net.minecraft.world.item.ItemStack
cost()
cost
(@Nullable net.minecraft.world.item.ItemStack cost) @NotNull NPC
npc()
void
show
(net.minecraft.server.level.ServerPlayer... players)
-
Method Details
-
builder
-
npc
-
cost
@Nullable public @Nullable net.minecraft.world.item.ItemStack cost() -
acceptHandler
@Nullable public @Nullable TriConsumer<net.minecraft.server.level.ServerPlayer,Pokemon, acceptHandler()ImmutableAttack> -
closeHandler
-
npc
-
cost
-
acceptHandler
public RelearnerBuilder acceptHandler(@Nullable @Nullable TriConsumer<net.minecraft.server.level.ServerPlayer, Pokemon, ImmutableAttack> acceptHandler) -
closeHandler
public RelearnerBuilder closeHandler(@Nullable @Nullable Consumer<net.minecraft.server.level.ServerPlayer> closeHandler) -
show
public void show(net.minecraft.server.level.ServerPlayer... players)
-