Register Food
Registers Food Items to be eaten with
Functions
Link copied to clipboard
fun registerCandy(modID: String, name: String, candyTranslationString: CandyTranslationString, nutrition: Int, saturation: Int): CandyTooltipItem
fun registerCandy(modID: String, name: String, candyTranslationString: CandyTranslationString, nutrition: Int, saturation: Int, effect: Holder<MobEffect>, amplifier: Int, seconds: Int): CandyTooltipItem
Registers a candy food item
Link copied to clipboard
Registers the Cotton Candy item without any effects
fun registerCottonCandy(modID: String, name: String, effect: Holder<MobEffect>, seconds: Int): CandyTooltipItem
Registers the Cotton Candy item with a tied MobEffect for Int seconds
Link copied to clipboard
Registers the Hard Candy item without any effects
fun registerHardCandy(modID: String, name: String, effect: Holder<MobEffect>, seconds: Int): CandyTooltipItem
Registers the Hard Candy item with a tied MobEffect for Int seconds
Link copied to clipboard
Nothing to see here, whistles TODO: Rethink how Ice Cream is done as it's essentially an unused, but registered item, in every version of Softer Pastels.
Link copied to clipboard
Registers the Taffy candy item without any effects
fun registerTaffy(modID: String, name: String, effect: Holder<MobEffect>, seconds: Int): CandyTooltipItem
Registers the Taffy candy item with a tied MobEffect for Int seconds