Repository navigation
Making Bugs Snatchable
Chakyl edited this page Nov 6, 2026
·
1 revision
Bugsnatch is purely data-driven, and making a bug snatchable is as simple as creating a Json file! This is best used for Modpack developers who want to add bug support, or contributors.
Before you ready the rest of this tutorial, you should have a basic understand of these things:
- Data packs and how to load them: https://minecraft.wiki/w/Data_pack
- Guided tutorial: https://minecraft.wiki/w/Tutorial:Creating_a_data_pack
- Resource packs and how to load them: https://minecraft.wiki/w/Resource_pack
- Guided tutorial: https://minecraft.wiki/w/Tutorial:Creating_a_resource_pack
- If you're making a ton of bugs to snatch as you should, a datagen system will make writing the json less tedious.
Before anything else, you must define the bug in the directory bugsnatch\bugs. In this example we will be adding support for the Alex's Mobs Enderiophage, so the file should be named enderiophage.json. This bug is already supported in the mod so this is just an example.
Inside of enderiophage.json, add the following:
{
"entity": "alexsmobs:enderiophage",
"render_scale": 0.4,
"bites": true,
"bite_damage": 2,
"bite_effects": [
{
"id": "alexsmobs:ender_flu",
"duration": 2400,
"amplifier": 0
}
]
}
-
entity- ID of the snatchable bug - *
render_scale- The size of the bug. Defaults to 1.0, raise or lower this if the item is too big or small. - *
bites- Does this bug bite when a player holds it? - *
bite_damage- If it bites, how much damage does it do? - *
bite_effects- A list of effects applied every time it bites. Good for poisonous bugs! *This property is optional