Class RelearnerBuilder

java.lang.Object
com.pixelmonmod.pixelmon.api.relearner.RelearnerBuilder

public class RelearnerBuilder extends Object
  • Method Details

    • builder

      public static RelearnerBuilder builder()
    • npc

      @NotNull public @NotNull NPC npc()
    • cost

      @Nullable public @Nullable net.minecraft.world.item.ItemStack cost()
    • acceptHandler

      @Nullable public @Nullable TriConsumer<net.minecraft.server.level.ServerPlayer,Pokemon,ImmutableAttack> acceptHandler()
    • closeHandler

      @Nullable public @Nullable Consumer<net.minecraft.server.level.ServerPlayer> closeHandler()
    • npc

      public RelearnerBuilder npc(@NotNull @NotNull NPC npc)
    • cost

      public RelearnerBuilder cost(@Nullable @Nullable net.minecraft.world.item.ItemStack 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)