This page relates to Aquaculture 2, which has built-in support!
Fish Data
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 所属包
mods.aquaculture.FishData
Adding Fish Data
Link to adding-fish-data
ZenScript Copy// 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);
fishStack
MCItemDefinitionminWeight
Double number (Only used if weight config is enabled)maxWeight
Double number (Only used if weight config is enabled)filletAmount
Integer number (Used when weight config is disabled)
Removing Fish Data
Link to removing-fish-data
ZenScript Copy// mods.aquaculture.FishData.remove(fishStack as Item);
mods.aquaculture.FishData.remove(<item:aquuaculture:atlantic_cod>);
fishStack
MCItemDefinition