ExampleBall JSON inside Datapack:
{
"name": "kanto_ball",
"model": "pixelmon:models/pokeballs/base.pqc",
"texture": "pixelmon:textures/pokeballs/strange_ball.png",
"flashingTexture": "pixelmon:textures/pokeballs/strange_ball_flashing.png",
"ballSprite": "pixelmon:items/pokeballs/strange_ball",
"guiSprite": "pixelmon:textures/gui/overlay/strange_ball.png",
"logic": "dev.janna.waifu.mod.custom_ball_logic.KantoBall",
"bases": [],
"captureMethod": "gen8",
"catchBonus": 254,
"breakChance": 0.0,
"velocityModifier": 0.9,
"gravityModifier": 1,
"particles": true,
"hasLid": false
}
* Don't use 255! Then it counts as Masterball and ignores all kind of logics! Use 254 for a "MasterBall with Logic"
An more advanced Datapack Example is available in the Datapack section in the planetminecraft.com/...
---------------------------------------------------------------------------------------------------
All new Ball Logics: (Logic True- / Logic False- catchrate)
KantoBall File / 1.0
JohtoBall File / 1.0
HoennBall File / 1.0
SinnohBall File / 1.0
UnovaBall File / 1.0
KalosBall File / 1.0
AlolaBall File / 1.0
GalarBall File / 1.0
PaldeaBall File / 1.0
ShinyBall File / 0.5 Higher chance catching if Shiny, turns non Shiny captures into Shiny (0.5) ("Beast Ball Gambling kinda")
LegendBall File / 1.0 Higher chance catching if Legendary
NonLegendBall File / 1.0 Higher chance catching if Non Legendary
NewBall File / 1.0 Reverse Repeat Ball (Higher chance if New Pokedex Entries)
BalanceBall File / 1.0 Bestcatchrate between 49-30% HP
QuestBall File / 1.0 Higher chance below level 30 and >1% <20% HP (red bar) (Anti False Swipe)
TruceBall File / 0.5 Higher chance when not in battle (doesnt work on Legends)
IVBall File The caught pokemon has atleast 1 IV at 31
CloneBall File Clones the caught pokemon if team has free slot, the clone is unbreedable and untradeable
DittoBall File 10% chance to transform caught pokemon into Ditto (no legends!)
MarkBall File The caught pokemon has a guaranteed mark/ribbon.
PowerBall File / 1.0 Higher catchrate when the pokemon is above level 50
RaidBall File / 0.5 Higher catchrate in (Dynamax) Raid Dens
GigaBall File / X% Higher catchrate on Big Pixelmon (Ginormous 100% of File, Enormous 90%, ...<=ordinary 10% of file)
MicroBall File / X% Higher catchrate on Small Pixelmon (Microscopic 100% of File, Pygmy 90%, ...>=ordinary 10% of file)
SkyBall File / 1.0 Higher catchrate if position y>110.
Version 1.2.5
SpecBall File / 1.0 Higher catchrate on Spec [catchrate: XXX.YYYY where X = chance, Y = dexID (e.g. 250.0001 = Masterball on Bulbasaur) ]
SpecBallPlus File / 0.0 Higher catchrate on Spec, doesnt work on other pokemon, refunds ball on other [catchrate: XXX.YYYY]
StarterBall File / 1.0 Higher catchrate on Starters.
MarsBall File / 1.0 Higher catchrate if Male
VenusBall File / 1.0 Higher catchrate if Female
ChainBall File / 1.0 Returns Ball on Catch
EndBall File / 1.0 Higher catchrate in TheEnd
NetherBall File / 1.0 Higher catchrate in TheNether
NatureBall File / 1.0 Randomise Nature on Catch
WaifuBall File / 1.0 Higher catchrate on Skinned pokemon (not shiny)
EVBall File / 1.0 Maximize 1 EV to 252
BossBall File / 1.0 Summons the pokemon as a Boss on capture
SilphBall File / 1.0 Higher catchrate if pokemon has nickname "?" -> for creative maps/events/custom spawns
PartyBall File / 1.0 Catches the pokemon for everyone on the Server
AreaBall_emerald/ruby/sapphire/gold/silver File / 0 Experimental/Developer/Adventure-balls ONLY WORKS IN MARKED CHUNKS
To mark an Chunk place atleast 1 emerald/ruby/sapphire/gold/silver block at Bedrock level 0! For Example if you want make a Safarizone where Emerald and Ruby balls should work, you have to place an EmeraldBlock and an RubyBlock at bedrock level, either per hand, or with worldedit over a bigger radius.
Version 1.2.6
CMDBall File Runs a Function on capture -> make a datapack [\data\cmdball\functions\ballname.mcfunction] (Needs Vanilla/MOD commands, no Plugin commands e.g. give @s pixelmon:rare_candy or pokespawn pikachu)
Version 1.4.7
BlindBall
LuckyBall
TypeBall
Version 1.5.7
HalloweenBall
Version 1.6.7
WaifuFormBall