Pou Polski

Stwórz data pack one block+cobblemon w skrzyniach po wykopaniu bloku może się pojawić pokeball 70% grate ball I inne pokeball10% ultra ball 5 % master ball 1% a zamiast mobów co 10 bloków pojawia się pokemon z cobblemon

Kodari AI
KodariOct 27 at 9:55 am 1
CobblemonBlockLoot
Datapack enhancing Minecraft with Cobblemon integration. When mining specific blocks, there is a chance to receive Pokéballs in chests: 70% chance for a standard Pokéball, 10% for a Great Ball, 5% for an Ultra Ball, and 1% for a Master Ball. Additionally, Cobblemon Pokémon spawn naturally as replacements for vanilla mobs, appearing every 10 blocks traveled. This adds progression and discovery to mining and exploration, rewarding players with rare items and encounters.

Zainstaluj Cobblemon i ten datapack w świecie Minecraft 1.21.4. Centralny blok znajduje się na 0 100 0; skrzynia z nagrodami na 1 100 0. Po każdym wykopaniu blok się odradza i losuje nagrodę do skrzyni: 70% Great Ball, 10% Poké Ball, 5% Ultra Ball, 1% Master Ball, 14% bez nagrody. Co 10 bloków datapack próbuje przywołać losowego Pokémona. Naturalne pojawianie się mobów jest wyłączone.

  1. Pobierz ZIP przyciskiem eksportu i rozpakuj folder oneblock_cobblemon do world/datapacks/.

  2. Wpisz /reload, a potem /datapack list, żeby sprawdzić, czy datapack jest załadowany.

  3. Testuj funkcje poleceniami /function oneblock_cobblemon:load lub /function oneblock_cobblemon:spawn_pokemon.

Datapack wymaga Cobblemon; polecenie spawnpokemon oraz identyfikatory Poké Balli pochodzą z tej modyfikacji.

Kodari can make mistakes. Review important code before using.
Files
oneblock_cobblemon
Code
8 76
oneblock_cobblemon/data/oneblock_cobblemon/function/spawn_pokemon.mcfunction
scoreboard players random #species ob_random 1 8
execute positioned 0 100 0 if score #species ob_random matches 1 run spawnpokemon pikachu
execute positioned 0 100 0 if score #species ob_random matches 2 run spawnpokemon eevee
execute positioned 0 100 0 if score #species ob_random matches 3 run spawnpokemon bulbasaur
execute positioned 0 100 0 if score #species ob_random matches 4 run spawnpokemon charmander
execute positioned 0 100 0 if score #species ob_random matches 5 run spawnpokemon squirtle
execute positioned 0 100 0 if score #species ob_random matches 6 run spawnpokemon pidgey
execute positioned 0 100 0 if score #species ob_random matches 7 run spawnpokemon rattata
execute positioned 0 100 0 if score #species ob_random matches 8 run spawnpokemon magikarp
scoreboard players set #mined ob_blocks 0