-
Notifications
You must be signed in to change notification settings - Fork 70
Customizing Entity Fishing
Electro_593 edited this page Jul 22, 2023
·
5 revisions
Spectrum's Fishing Rods (additionally to being able fish in more than just water) use a mechanism called Entity Fishing. It does exactly what is written on the tin: when fishing in a liquid, there is a chance to lure in an entity!
You can specify which entities are fished where by placing json files in the directory <data_pack_or_mod_name>/entity_fishing/
.
-
(FluidPredicate) fluid
: The fluid that can contain fishable entities (like via fluid id, or fluid tag) -
(BiomePredicate) biome
: The biomes these entities can be fished in -
(LightPredicate) light
: The block and sky light of where these entities can be fished -
(DimensionPredicate) dimension
: The dimensions these entities can be fished in -
(MoonPhasePredicate) moon_phase
: The moon phase these entities can be fished in -
(TimeOfDayPredicate) time_of_day
: The time of day that these entities can be fished -
(WeatherPredicate) weather
: The weather these entities can be fished in -
(CommandPredicate) command
: An arbitrary command to test against -
(float) chance
: The base chance to fish an entity instead of the usual loot. This value is multiplied with the "Big Catch" enchantment's level, should the fishing rod be enchanted -
{} entries
: A weighted list of entity entries that can be fished-
(Identifier) entity
: The entity that will be fished up -
(int) weight
: The relative likelihood that this entry is selected -
(String) nbt
: A standard NBT string that will applied to the entity -
(JsonNBT) nbt
: An NBT compound using Spectrum's custom JsonNBT format, which will be applied to the entity
-
{
"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