Wiki 9Minecraft Wiki 9Minecraft
Amphibian Almanac Wiki › Guides › How to Customize Frog Spawns, Diets, and Drops with a Datapack

How to Customize Frog Spawns, Diets, and Drops with a Datapack

You can alter where each frog variant spawns, which mobs they are allowed to eat, and what items they drop by creating a standard Minecraft datapack that overrides the mod's data files.

Changing Diets and Biome Spawns

1. Open your world's datapacks folder and create a new datapack folder with a valid pack.mcmeta file.

2. To change what frogs can eat, create the file data/minecraft/tags/entity_types/frog_food.json inside your datapack and list the entity IDs you want frogs to target.

3. To change where a specific variant spawns, create a biome tag file at data/minecraft/tags/worldgen/biome/spawns_<frogname>_variant_frogs.json (replacing <frogname> with the specific variant name) and add or remove biome IDs.

Customizing Frog Drop Tables

Because frog drops are tied to the mob being eaten, you modify the slime and magma cube loot tables to change what items the frogs produce.

1. For Overworld frog drops, create and edit data/minecraft/loot_tables/entities/slime.json inside your datapack.

2. For Nether and End frog drops, create and edit data/minecraft/loot_tables/entities/magma_cube.json.

3. Save your files and run /reload in game (or re-enter the world) to apply your custom spawn locations, diets, and drops.