public static class PartySelectionScreen.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
public PartySelectionScreen.Builder title(net.minecraft.util.text.ITextComponent title)
public PartySelectionScreen.Builder title(java.lang.String title)
public PartySelectionScreen.Builder text(net.minecraft.util.text.ITextComponent text)
public PartySelectionScreen.Builder text(java.lang.String text)
public PartySelectionScreen.Builder selections(int selections)
public PartySelectionScreen.Builder option(Pokemon pokemon)
public PartySelectionScreen.Builder options(Pokemon... pokemons)
public PartySelectionScreen.Builder options(java.util.List<Pokemon> options)
public PartySelectionScreen.Builder clearOptions()
public PartySelectionScreen.Builder party(net.minecraft.entity.player.PlayerEntity player)
public PartySelectionScreen.Builder consumer(java.util.function.BiConsumer<net.minecraft.entity.player.ServerPlayerEntity,java.util.List<Pokemon>> consumer)
public PartySelectionScreen.Builder enforceSelection()
public PartySelectionScreen.Builder allowExit()
public void sendTo(net.minecraft.entity.player.ServerPlayerEntity player)