public static class CustomBadgeCaseScreen.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CustomBadgeCaseScreen.Builder |
addBadge(net.minecraft.item.ItemStack stack) |
void |
sendTo(net.minecraft.entity.player.ServerPlayerEntity player) |
CustomBadgeCaseScreen.Builder |
setAllowEditing(boolean allowEdit)
Sets whether the player is allowed to register to the case if the name is not set,
and/or whether they are allowed to select, move, and remove badges from the case.
|
CustomBadgeCaseScreen.Builder |
setBadges(java.util.List<net.minecraft.item.ItemStack> badges) |
CustomBadgeCaseScreen.Builder |
setColor(EnumBadgeCase color) |
CustomBadgeCaseScreen.Builder |
setPokemon(java.util.List<Pokemon> pokemon) |
CustomBadgeCaseScreen.Builder |
setTitle(java.lang.String title)
Sets the tile or player name of the badge case, Leave blank and allow editing
if you want the user to be able to register to the case
|
public CustomBadgeCaseScreen.Builder setTitle(java.lang.String title)
public CustomBadgeCaseScreen.Builder setAllowEditing(boolean allowEdit)
public CustomBadgeCaseScreen.Builder setColor(EnumBadgeCase color)
public CustomBadgeCaseScreen.Builder setBadges(java.util.List<net.minecraft.item.ItemStack> badges)
public CustomBadgeCaseScreen.Builder addBadge(net.minecraft.item.ItemStack stack)
public CustomBadgeCaseScreen.Builder setPokemon(java.util.List<Pokemon> pokemon)
public void sendTo(net.minecraft.entity.player.ServerPlayerEntity player)