-
Notifications
You must be signed in to change notification settings - Fork 67
Customizing Entity Fishing
DaFuqs edited this page Aug 3, 2023
·
5 revisions
Spectrum's Fishing Rods (in addition to being able to fish in more than just water) use a mechanism called Entity Fishing. It does exactly what it says on the tin: when fishing, you have a chance of catching a living entity! This chance can be increased with the "Big Catch" enchantment.
You can specify which entities are fished by placing json files in the directory <data_pack_or_mod_name>/entity_fishing/
.
-
{} location
: Predicates that have to pass for this fishing entry to evaluate-
(FluidPredicate) fluid
: The fluid that can contain fishable entities (as via fluid id or fluid tag). -
(BiomePredicate) biome
: The biomes in which these entities can be fished. -
(LightPredicate) light
: The block and sky light in which these entities can be fished. -
(DimensionPredicate) dimension
: The dimensions in which these entities can be fished -
(MoonPhasePredicate) moon_phase
: The moon phase these entities can be fished in -
(TimeOfDayPredicate) time_of_day
: The time of day when these entities can be fished. -
(WeatherPredicate) weather
: The weather in which these entities can be fished -
(CommandPredicate) command
: An arbitrary command to test against
-
-
(float) chance
: The base chance to fish an entity instead of the usual loot. This is multiplied by the level of the Big Catch enchantment if the rod is enchanted. -
{} entities
: A weighted list of entity entries that can be fished.-
(Identifier) id
: The entity to be fished -
(int) weight
: The relative likelihood of this entry being selected -
(String) nbt
: A standard NBT string to apply to the entity -
(JsonNBT) nbt
: An NBT string using Spectrum's custom JsonNBT format that will be applied to the entity.
-
{
"location": {
"fluid": {
"tag": "spectrum:dragonrot"
},
},
"chance": 0.5,
"entities": [
{
"id": "minecraft:pufferfish",
"weight": 10
},
{
"id": "minecraft:creeper",
"weight": 5,
"nbt": {
"powered": true
}
},
{
"id": "minecraft:cod",
"weight": 2
},
{
"id": "minecraft:salmon",
"weight": 2
}
]
}
General
For Players
- Getting Started
- Mixing Colors
- Stuck on how to progress?
- Main Progression Steps (MAJOR SPOILERS)
For Server Admins / Modpack Creators
- Integrating into Modpacks
- Adjusting Progression
- Advancement Criteria
- 1.7.x: Patchouli Pages
- 1.7.x: Patchouli Recipe Pages
- 1.8.x: Modonomicon Pages
- 1.8.x: Modonomicon Recipe Pages
- Commands
- Type Specific Predicates
- JsonNBT
For Map Makers
Recipe Types
- Custom Pigment Pedestal Recipes
- Custom Anvil Crushing Recipes
- Custom Fusion Shrine Recipes
- Custom Enchanter Recipes
- Custom Enchantment Upgrade Recipes
- Custom Potion Workshop Brewing Recipes
- Custom Potion Workshop Crafting Recipes
- Custom Potion Workshop Reagents
- Custom Spirit Instiller Recipes
- Custom Liquid Dipping Recipes
- Custom Ink Converting Recipes
- Custom Crystallarieum Recipes
- Custom Cinderhearth Recipes
- Custom Titration Barrel Recipes
- Fluid Ingredients
Loot Tables
More Customisation
- Adding Nature's Staff Conversions
- Adding Entity Fishing Entries
- Adding Resonance Drops
- Adding Crystal Apothecary Harvestables
- Adding Particle Spawner Particles
For Contributors