This page relates to Aquaculture 2, which has built-in support!
Link to fish-data
Requires Aquaculture 2 version 2.1.14 or newer.
Fish Data is what handles the amount of fish fillet's you get, when filleting a fish. Additional, it handles the min and max weight of fish. (If the config option is enabled)
Link to package
Adding Fish Data
Link to adding-fish-data
// mods.aquaculture.FishData.add(fish as Item, min as double, max as double, filletAmount as int); mods.aquaculture.FishData.add(<item:aquuaculture:atlantic_cod>, 10.0, 211.0, 6);
minWeightDouble number (Only used if weight config is enabled)
maxWeightDouble number (Only used if weight config is enabled)
filletAmountInteger number (Used when weight config is disabled)
Removing Fish Data
Link to removing-fish-data
// mods.aquaculture.FishData.remove(fishStack as Item); mods.aquaculture.FishData.remove(<item:aquuaculture:atlantic_cod>);