Class CustomBadgeCaseScreen.Builder
java.lang.Object
com.pixelmonmod.pixelmon.api.screens.CustomBadgeCaseScreen.Builder
- Enclosing class:
- CustomBadgeCaseScreen
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddBadge
(net.minecraft.world.item.ItemStack stack) void
sendTo
(net.minecraft.server.level.ServerPlayer player) 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.setColor
(EnumBadgeCase color) setPokemon
(List<Pokemon> pokemon) 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
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setTitle
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 -
setAllowEditing
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. -
setColor
-
setBadges
-
addBadge
-
setPokemon
-
sendTo
public void sendTo(net.minecraft.server.level.ServerPlayer player)
-