
Pokebuilder for Cobblemon
This project is a custom plugin for cobblemon that let the players use a special pokebuilder using the Impactor plugin currency.
Оцените первым
396
4
Список изменений
[1.2.0] — 2026-04-15
Added
Per-feature on/off switches
- New Features section in
config/pokebuilder/config.confwith one boolean per purchasable action:iv-editor,iv-max-all,ev-editor,ev-reset-all,nature,ability,ability-hidden,shiny,gender,ball,dynamax-level,gmax-factor,tera-type. Defaults: every feature enabled so existing installs keep working unchanged. - New admin GUI
/pokebuilder admin→ Features with one click-to-toggle button per feature, themed with the matching mod item (rare candy for IVs, vitamin for EVs, nature mint, ability capsule / patch, shiny stone, poke ball, dynamax candy / band, normal tera shard, etc). - Disabled features are hidden from
/pbbehind a clearly-labelled greyed glass placeholder (Disabled by the server admin.) and refused server-side:- GUI
onSlotClickreturns early before opening any submenu. - Submenu
onSlotClickre-checks the gate so a player who somehow opens a stale window still can't transact. TransactionService.execute(...)takes a newFeatureGate.Featureargument and refuses the modification before any cost is withdrawn — refund-safe by construction because it short-circuits beforeEconomyHandler.withdraw.
- GUI
- New
service/FeatureGate.javaenum + helper centralizes every check so there is exactly one source of truth.
Internal: ModItems registry
util/ModItems.java— cachedRegistries.ITEM.get(...)lookups for Cobblemon and Mega Showdown items with vanilla fallbacks. Provides typed helpers (rareCandy(),dynamaxCandy(),dynamaxBand(),shinyStone(),abilityCapsule(),abilityPatch(),vitaminFor(stat),hyperCandyFor(stat),natureMint(name),teraShard(type),caughtBallItem(pokemon, fallback),pokemonIcon(pokemon), etc). Falls back to vanilla items if Cobblemon / Mega Showdown are absent or have renamed an id, so the mod still renders sensibly in degraded environments.
Changed
Themed mod-item icons across every menu
The whole UI has been re-skinned with items from Cobblemon and Mega Showdown instead of vanilla placeholders:
- PartySelectGui — each party slot now renders the actual Pokémon model
via Cobblemon's
PokemonItem.from(pokemon). You see the species, not a generic icon. Eggs, blocked species, and empty slots still get their themed marker (turtle_egg,barrier, glass pane). - EditorGui —
- IV button →
cobblemon:experience_candy_l - EV button →
cobblemon:hp_up - Nature button → matching
cobblemon:<nature>_mintfor the current nature - Ability button →
cobblemon:ability_capsule - Shiny button →
cobblemon:shiny_stone - Caught Ball button → the Pokémon's actual current
PokeBall.item() - Max All IVs →
cobblemon:rare_candy - Dynamax Level button →
mega_showdown:dynamax_candy, stack count = level - G-Max Factor button →
mega_showdown:dynamax_band - Tera Type button → matching
mega_showdown:<type>_tera_shardfor the Pokémon's current Tera type - Pokémon info card → real Pokémon model
- IV button →
- IVEditorGui — stat headers now use Cobblemon's hyper-training candies
(
health_candy,mighty_candy,tough_candy,smart_candy,courage_candy,quick_candy). - EVEditorGui — stat headers now use Cobblemon's vitamins
(
hp_up,protein,iron,calcium,zinc,carbos). - NatureSelectGui — every entry shows the matching nature mint instead of a colored dye.
- AbilitySelectGui — normal abilities use
cobblemon:ability_capsule, hidden abilities usecobblemon:ability_patch. - BallSelectGui — every ball entry now resolves its actual
PokeBallItemviaPokeBall.item(). Ball names also got a pretty-print pass (Master Ballinstead ofmaster_ball). - TeraTypeSelectGui — every entry shows the matching
mega_showdown:<type>_tera_shard. - DynamaxLevelGui — header is the Dynamax Band, each level button is a stack of Dynamax Candies sized to the target level.
- GmaxToggleGui — header is the Dynamax Band, the unlock toggle is a Max Mushroom.
- AdminGui — added a new Features entry next to Prices, themed
with
cobblemon:link_cable.
Fixed
BallSelectGuihad been silently rendering snowballs since 1.0.0. The ball lookup appended_pokeballto the registry path (e.g.cobblemon:master_pokeball), which doesn't match the actual id (cobblemon:master_ball), so every entry fell through to the snowball fallback. Replaced with a directPokeBall.item()call which is a guaranteed 1:1 mapping.
Notes for server operators
- The Features panel only changes whether a purchase is offered; it doesn't refund or undo modifications players already paid for. Disabling a feature mid-session is safe.
- Disabled features still show in the editor as a greyed glass placeholder rather than being hidden completely, so players can see what's available on the server and what an admin has temporarily turned off.
- The vanilla fallbacks in
ModItemsmean the mod still works visually if you're testing without Cobblemon or Mega Showdown — you'll just see vanilla items in the slots that would normally show mod items. - Existing
config/pokebuilder/config.conffiles from 1.1.0 will keep working but won't show the newfeaturessection until you click SAVE TO DISK in the admin GUI or delete the file to regenerate it. The in-memory defaults are already applied at load time.
Файлы
pokebuilder-1.2.0.jar(724.67 KiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
1.2.0
Загрузчики
Fabric
Версии игры
1.21.1
Загрузок
7
Дата публикации
15.04.2026
