registerCottonCandy

fun registerCottonCandy(modID: String, name: String, effect: Holder<MobEffect>, seconds: Int): CandyTooltipItem(source)

Registers the Cotton Candy item with a tied MobEffect for Int seconds

Return

Cotton Candy registerCandy with a defined Mod ID, Item ID, Mob Effect when eaten for a certain amount of seconds


Registers the Cotton Candy item without any effects

Return

Cotton Candy registerCandy with a defined Mod ID and Item ID, no MobEffect