//priority: 0
ItemEvents.modification(event => {
	function stackTo64(x) {
		event.modify(x, item => {item.maxStackSize = 64})
	}
	function stackTo16(x) {
		event.modify(x, item => {item.maxStackSize = 16})
	}
	function stackTo8(x) {
		event.modify(x, item => {item.maxStackSize = 8})
	}
	function stackTo1(x) {
		event.modify(x, item => {item.maxStackSize = 1})
	}

//Bottles:
	stackTo1('alexsmobs:fish_oil')
	stackTo1('alexsmobs:stink_bottle')
	stackTo1('farmersdelight:milk_bottle')
	stackTo1('minecraft:dragon_breath')
	stackTo1('minecraft:honey_bottle')
	stackTo1('quark:bottled_cloud')
	stackTo1('snowyspirit:eggnog')
	stackTo1('supplementaries:antique_ink')
	stackTo1('upgrade_aquatic:mulberry_jam_bottle')

//Other Ones:
	stackTo1('minecraft:cake')
	stackTo1('minecraft:mushroom_stew')
	stackTo1('minecraft:pumpkin_pie')
	stackTo1('minecraft:suspicious_stew')
	stackTo1('quark:tiny_potato')
	stackTo1('upgrade_aquatic:mulberry_pie')

//Golden Food:
	stackTo1('etcetera:golden_eggple')
	stackTo1('galosphere:golden_lichen_cordyceps')
	stackTo1('kubejs:golden_potato')
	stackTo1('minecraft:enchanted_golden_apple')
	stackTo1('minecraft:glistering_melon_slice')
	stackTo1('minecraft:golden_apple')
	stackTo1('minecraft:golden_carrot')

//Boss Stuff:
	stackTo1('minecraft:dragon_egg')
	stackTo1('minecraft:heart_of_the_sea')
	stackTo1('minecraft:nether_star')
	stackTo1('rediscovered:red_dragon_egg')
	stackTo1('upgrade_aquatic:elder_eye')

//Other:
	stackTo8('alexsmobs:banana')
	stackTo8('alexsmobs:cooked_catfish')
	stackTo8('alexsmobs:cosmic_cod')
	stackTo8('alexsmobs:flying_fish')
	stackTo8('alexsmobs:raw_catfish')
	stackTo8('culturaldelights:rice_ball')
	stackTo8('culturaldelights:tortilla')
	stackTo8('ecologics:coconut_slice')
	stackTo8('ecologics:cooked_prickly_pear')
	stackTo8('ecologics:prickly_pear')
	stackTo8('ecologics:walnut')
	stackTo8('etcetera:eggple')

	stackTo8('farmersdelight:fried_egg')
	stackTo8('farmersdelight:honey_cookie')
	stackTo8('farmersdelight:pumpkin_slice')
	stackTo8('farmersdelight:rice')
	stackTo8('farmersdelight:sweet_berry_cookie')
	stackTo8('galosphere:lichen_cordyceps')
	stackTo8('habitat:kabloom_pulp')
	stackTo8('hauntedharvest:corn')
	stackTo8('hauntedharvest:grim_apple')
	stackTo8('hauntedharvest:rotten_apple')

	stackTo8('kubejs:omelette')
	stackTo8('kubejs:waffle')
	stackTo8('minecraft:apple')
	stackTo8('minecraft:baked_potato')
	stackTo8('minecraft:beef')
	stackTo8('minecraft:beetroot')
	stackTo8('minecraft:bread')
	stackTo8('minecraft:carrot')
	stackTo8('minecraft:chicken')
	stackTo8('minecraft:chorus_fruit')
	stackTo8('minecraft:cod')
	stackTo8('minecraft:cooked_beef')
	stackTo8('minecraft:cooked_chicken')
	stackTo8('minecraft:cooked_cod')
	stackTo8('minecraft:cooked_mutton')
	stackTo8('minecraft:cooked_porkchop')
	stackTo8('minecraft:cooked_rabbit')
	stackTo8('minecraft:cooked_salmon')
	stackTo8('minecraft:glow_berries')
	stackTo8('minecraft:melon')
	stackTo8('minecraft:melon_slice')
	stackTo8('minecraft:mutton')
	stackTo8('minecraft:poisonous_potato')
	stackTo8('minecraft:popped_chorus_fruit')
	stackTo8('minecraft:porkchop')
	stackTo8('minecraft:potato')
	stackTo8('minecraft:pufferfish')
	stackTo8('minecraft:rabbit')
	stackTo8('minecraft:rabbit_foot')
	stackTo8('minecraft:rotten_flesh')
	stackTo8('minecraft:salmon')
	stackTo8('minecraft:sweet_berries')
	stackTo8('minecraft:tropical_fish')
	stackTo8('phantasm:oblifruit')
	stackTo8('phantasm:pome_slice')
	stackTo8('quark:ancient_fruit')
	stackTo8('rediscovered:cooked_fish')
	stackTo8('rediscovered:raw_fish')
	stackTo8('upgrade_aquatic:cooked_pike')
	stackTo8('upgrade_aquatic:mulberry')
	stackTo8('upgrade_aquatic:pike')

	stackTo16('farmersdelight:honey_cookie')
	stackTo16('farmersdelight:rice_panicle')
	stackTo16('farmersdelight:sweet_berry_cookie')
	stackTo16('kubejs:butter')
	stackTo16('kubejs:marshmallow')
	stackTo16('minecraft:cocoa_beans')
	stackTo16('minecraft:cookie')
	stackTo16('minecraft:dried_kelp')
	stackTo16('minecraft:honeycomb')
	stackTo16('minecraft:kelp')
	stackTo16('minecraft:nether_wart')
	stackTo16('minecraft:sugar')
	stackTo16('minecraft:sugar_cane')
	stackTo16('minecraft:wheat')
	//stackTo16('outer_end:halite_crystal')
	stackTo16('spelunkery:salt')
	stackTo16('supplementaries:candy')
	stackTo16('supplementaries:pancake')
	stackTo16('supplementaries:soap')

//Eggs:
	stackTo16('alexsmobs:caiman_egg')
	stackTo16('alexsmobs:crocodile_egg')
	stackTo16('alexsmobs:platypus_egg')
	stackTo16('alexsmobs:terrapin_egg')
	stackTo16('friendsandfoes:crab_egg')
	stackTo16('minecraft:sniffer_egg')
	stackTo16('minecraft:turtle_egg')
	stackTo16('species:cruncher_egg')
	stackTo16('species:petrified_egg')
	stackTo16('species:springling_egg')
	stackTo16('savage_and_ravage:creeper_spores')
	stackTo16('species:ancient_pinecone')

//Seeds:
	stackTo16('minecraft:beetroot_seeds')
	stackTo16('minecraft:melon_seeds')
	stackTo16('minecraft:pumpkin_seeds')
	stackTo16('minecraft:torchflower_seeds')
	stackTo16('minecraft:wheat_seeds')
	stackTo16('minecraft:pitcher_pod')

//Mushrooms:
	stackTo16('galosphere:bowl_lichen')
	stackTo16('minecraft:brown_mushroom')
	stackTo16('minecraft:crimson_fungus')
	stackTo16('minecraft:red_mushroom')
	stackTo16('minecraft:warped_fungus')
	stackTo16('quark:glow_shroom')
	stackTo16('spelunkery:button_mushroom')
	stackTo16('spelunkery:crimini')
	stackTo16('spelunkery:grilled_portabella')
	stackTo16('spelunkery:inkcap_mushroom')
	stackTo16('spelunkery:milly_bubcap')
	stackTo16('spelunkery:mushgloom')
	stackTo16('spelunkery:phosphor_fungus')
	stackTo16('spelunkery:portabella')
	stackTo16('spelunkery:white_inkcap_mushroom')
	stackTo16('species:alphacene_mushroom')

//Other:
	stackTo64('minecraft:ender_pearl')
	stackTo64('minecraft:snowball')
	stackTo64('spelunkery:dust_bun')
	stackTo64('galosphere:silver_bomb')
	//stackTo64('species:wicked_swapper')
	
	stackTo1('minecraft:experience_bottle')
	stackTo1('spelunkery:portal_fluid_bottle')
	stackTo1('alexsmobs:ambergris')
})
