// priority: 0


Platform.getInfo('kubejs').name = 'Stacia 2: Expert'


StartupEvents.registry('item', event => {
	event.create('stone_mechanism').displayName('Stone Mechanism')
	event.create('glowing_mechanism').displayName('Glowing Mechanism')
	event.create('allay_fertilizer').displayName('Allay Fertilizer')
	event.create('madeline_strawberry').displayName('Madeline Strawberry')
	event.create('aquamarine').displayName('Aquamarine')
	event.create('resonating_gem').displayName('Resonating Gem')
	event.create('uwuterium_pearl').displayName('§dUwuterium Pearl')
	event.create('bloody_mechanism').displayName('Bloody Mechanism')
	event.create('endsteel_bars').displayName('Endsteel Bars')
	event.create('darksteel_bars').displayName('Darksteel Bars')
	event.create('charged_enriched_iron').displayName('Charged Quartz Enriched Iron')
	event.create('blue_slime').displayName('Blue Slime Ball')
	event.create('seared_brick').displayName('Seared Bricks')
	event.create('devilish_horn').displayName('Devilish Horn')
	event.create('blue_plastic').displayName('Blue Plastic Sheet')
	event.create('netherrack_piece').displayName('Nether Brick Pieces')
	event.create('flint_handle').displayName('Flint Handle')
	event.create('raw_arcane').displayName('Raw Arcane')


	//Infused Crystals
	event.create('goldium').displayName('Goldium Crystal')
	event.create('infused_goldium').displayName('Infused Goldium Crystal').glow(true)

	//EnderIO
	event.create('basic_capacitor').displayName('Basic Capacitor')
	event.create('advanced_capacitor').displayName('Advanced Capacitor')
	event.create('ultimate_capacitor').displayName('Ultimate Capacitor')

	//Electron Tubes
	event.create('golden_electron_tube').displayName('Golden Electron Tube').texture("kubejs:item/tubes/golden")
	event.create('aquamarine_electron_tube').displayName('Aquamarine Electron Tube').texture("kubejs:item/tubes/aquamarine")

	//Plates
	event.create('plate_endsteel').displayName('Endsteel Plate').texture("kubejs:item/plates/plate_endsteel")
	event.create('plate_darksteel').displayName('Darksteel Plate').texture("kubejs:item/plates/plate_darksteel")
	event.create('plate_diamond').displayName('Diamond Plate').texture("kubejs:item/plates/plate_diamond")
	event.create('plate_emerald').displayName('Emerald Plate').texture("kubejs:item/plates/plate_emerald")
	event.create('plate_lapis').displayName('Lapis Plate').texture("kubejs:item/plates/plate_lapis")
	event.create('plate_quartz').displayName('Quartz Plate').texture("kubejs:item/plates/plate_quartz")
	event.create('osmium_plate').displayName('Osmium Plate').texture("kubejs:item/plates/osmium_plate")
	event.create('dense_lead_plate').displayName('Dense Lead Plate').texture("kubejs:item/plates/dense_lead_plate")
	event.create('dense_iron_plate').displayName('Dense Iron Plate').texture("kubejs:item/plates/dense_iron_plate")

	//Nuggets
	event.create('stone_nugget').displayName('Stone Nugget').texture("kubejs:item/nuggets/stone_nugget")
	event.create('endsteel_nugget').displayName('Endsteel Nugget').texture("kubejs:item/nuggets/endsteel_nugget")
	event.create('darksteel_nugget').displayName('Darksteel Nugget').texture("kubejs:item/nuggets/darksteel_nugget")
	event.create('pigiron_nugget').displayName('Pig Iron Nugget').texture("kubejs:item/nuggets/pigiron_nugget")
	event.create('soulsteel_nugget').displayName('Soulsteel Nugget').texture("kubejs:item/nuggets/soulsteel_nugget")
	event.create('hepatizon_nugget').displayName('Hepatizon Nugget').texture("kubejs:item/nuggets/hepatizon_nugget")
	event.create('slimesteel_nugget').displayName('Slimesteel Nugget').texture("kubejs:item/nuggets/slimesteel_nugget")
	event.create('nugget_lapis').displayName('Lapis Nugget').texture("kubejs:item/nuggets/nugget_lapis")
	event.create('nugget_quartz').displayName('Quartz Nugget').texture("kubejs:item/nuggets/nugget_quartz")
	event.create('uwuterium_nugget').displayName('§dUwuterium Nugget').texture("kubejs:item/nuggets/uwuterium_nugget")


	//Large Plates
	event.create('lp_steel').displayName('Steel Large Plate').texture("kubejs:item/largeplates/lp_steel")
	event.create('lp_copper').displayName('Copper Large Plate').texture("kubejs:item/largeplates/lp_copper")
	event.create('lp_aquamarine').displayName('Aquamarine Large Plate').texture("kubejs:item/largeplates/lp_aquamarine")
	event.create('lp_redstone').displayName('Redstone Large Plate').texture("kubejs:item/largeplates/lp_redstone")
	event.create('lp_silver').displayName('Silver Large Plate').texture("kubejs:item/largeplates/lp_silver")
	event.create('lp_tin').displayName('Tin Large Plate').texture("kubejs:item/largeplates/lp_tin")
	event.create('lp_electrum').displayName('Electrum Large Plate').texture("kubejs:item/largeplates/lp_electrum")
	event.create('large_plate_cast').displayName('Large Plate Cast').texture("kubejs:item/largeplates/large_plate_cast")

	//DE
	event.create('de_draconic_core').displayName('Draconic Core')
	event.create('de_wyvern_core').displayName('Wyvern Core')
	event.create('de_awakened_core').displayName('Awakened Core')

	//Incomplete
	event.create('in_rf_coil').displayName('Incomplete Redstone Flux Coil')
	event.create('in_bloody_mechanism').displayName('Incomplete Bloody Mechanism')
	event.create('in_creative_blaze_cake').displayName('Incomplete Creative Blaze Cake')
	event.create('in_starmetal_ingot').displayName('Incomplete Starmetal Ingot').texture("kubejs:item/ingots/in_starmetal_ingot")
	event.create('in_enriched_iron').displayName('Incomplete Quartz Enriched Iron').texture("kubejs:item/ingots/in_enriched_iron")
	
	//RS Processors
	event.create('manasteel_processor').displayName('Manasteel Processor')
	event.create('terrasteel_processor').displayName('Terrasteel Processor')
	event.create('elementium_processor').displayName('Elementium Processor')
	event.create('uwuterium_processor').displayName('§dUwuterium Processor')

	event.create('raw_manasteel_processor').displayName('Raw Manasteel Processor').texture("kubejs:item/rsprocessors/raw_manasteel_processor")
	event.create('raw_terrasteel_processor').displayName('Raw Terrasteel Processor').texture("kubejs:item/rsprocessors/raw_terrasteel_processor")
	event.create('raw_elementium_processor').displayName('Raw Elementium Processor').texture("kubejs:item/rsprocessors/raw_elementium_processor")
	event.create('raw_uwuterium_processor').displayName('§dRaw Uwuterium Processor').texture("kubejs:item/rsprocessors/raw_uwuterium_processor")



	//Blood Magic Slates
	event.create('slate_1').displayName('Basic Slate').texture("kubejs:item/slates/slate_1")
	event.create('slate_2').displayName('Reinforced Slate').texture("kubejs:item/slates/slate_2")
	event.create('slate_3').displayName('Ultimate Slate').texture("kubejs:item/slates/slate_3")
	event.create('slate_fluix').displayName('Fluix Slate').texture("kubejs:item/slates/slate_fluix")
	event.create('slate_uwuterium').displayName('§dUwuterium Slate').texture("kubejs:item/slates/slate_uwuterium")

	//Dusts
	event.create('diamond_dust_pile').displayName('Diamond Dust Pile')
	event.create('emerald_dust_pile').displayName('Emerald Dust Pile')
	event.create('draconium_dust').displayName('§5Draconium Dust')
	event.create('stardust').displayName('Stardust')

	//Rods
	event.create('diamond_rod').displayName('Diamond Rod')
	event.create('emerald_rod').displayName('Emerald Rod')

	//Gears
	event.create('osmium_gear').displayName('Osmium Gear')
	event.create('endsteel_gear').displayName('Endsteel Gear')
	event.create('darksteel_gear').displayName('Darksteel Gear')

	//Ingots
	event.create('osgloglas_ingot').displayName('Osgloglas Ingot').texture("kubejs:item/ingots/osgloglas_ingot")
	event.create('awakened_draconium_ingot').displayName('§6Awakened Draconium Ingot').texture("kubejs:item/ingots/awakened_draconium_ingot")
	event.create('draconium_ingot').displayName('§5Draconium Ingot').texture("kubejs:item/ingots/draconium_ingot")
	event.create('stacium_ingot').displayName('Goddess of Creation: Stacia Ingot').texture("kubejs:item/ingots/stacium_ingot")
	event.create('solus_ingot').displayName('Goddess of Sun: Solus Ingot').texture("kubejs:item/ingots/solus_ingot")
	event.create('terrarium_ingot').displayName('Goddess of Earth: Terraria Ingot').texture("kubejs:item/ingots/terrarium_ingot")
	event.create('lunaria_ingot').displayName('Goddess of Darkness: Lunaria Ingot').texture("kubejs:item/ingots/lunaria_ingot")
	event.create('starmetal_ingot').displayName('Starmetal Ingot').texture("kubejs:item/ingots/starmetal_ingot")
	event.create('osmiridium_ingot').displayName('Osmiridium Ingot').texture("kubejs:item/ingots/osmiridium_ingot")
	event.create('endsteel_ingot').displayName('Endsteel Ingot').texture("kubejs:item/ingots/endsteel_ingot")
	event.create('darksteel_ingot').displayName('Darksteel Ingot').texture("kubejs:item/ingots/darksteel_ingot")
	event.create('iron_aluminum_ingot').displayName('Iron - Aluminum Alloy Ingot').texture("kubejs:item/ingots/iron_aluminum_ingot")
	event.create('uwuterium_ingot').displayName('§dUwuterium Ingot').texture("kubejs:item/ingots/uwuterium_ingot")
	event.create('pigiron_ingot').displayName('Pig Iron Ingot').texture("kubejs:item/ingots/pigiron_ingot")
	event.create('soulsteel_ingot').displayName('Soulsteel Ingot').texture("kubejs:item/ingots/soulsteel_ingot")
	event.create('hepatizon_ingot').displayName('Hepatizon Ingot').texture("kubejs:item/ingots/hepatizon_ingot")
	event.create('slimesteel_ingot').displayName('Slimesteel Ingot').texture("kubejs:item/ingots/slimesteel_ingot")
	event.create('single_use_ingot_cast').displayName('Ingot Cast - Single Use').texture("kubejs:item/ingots/single_use_ingot_cast")

	//Catalyst
	event.create('catal_ender').displayName('Ender Catalyst').texture("kubejs:item/catals/catal_ender")
	event.create('catal_glowstone').displayName('Glowstone Catalyst').texture("kubejs:item/catals/catal_glowstone")
	event.create('catal_blood').displayName('Blood Catalyst').texture("kubejs:item/catals/catal_blood")

	//Chipsets
	event.create('chipset_emerald').displayName('Emerald Chipset').texture("kubejs:item/chipsets/chipset_emerald")
	event.create('chipset_iron').displayName('Iron Chipset').texture("kubejs:item/chipsets/chipset_iron")
	event.create('chipset_diamond').displayName('Diamond Chipset').texture("kubejs:item/chipsets/chipset_diamond")
	event.create('chipset_gold').displayName('Gold Chipset').texture("kubejs:item/chipsets/chipset_gold")
	event.create('chipset_quartz').displayName('Quartz Chipset').texture("kubejs:item/chipsets/chipset_quartz")
	event.create('chipset_redstone').displayName('Redstone Chipset').texture("kubejs:item/chipsets/chipset_redstone")
	
	//Thermal Dusts
	event.create('aerotheum_dust').displayName('Aerotheum Dust').texture("kubejs:item/thermaldusts/aerotheum_dust")
	event.create('pyrotheum_dust').displayName('Pyrotheum Dust').texture("kubejs:item/thermaldusts/pyrotheum_dust")
	event.create('cryotheum_dust').displayName('Cryotheum Dust').texture("kubejs:item/thermaldusts/cryotheum_dust")
	event.create('petrotheum_dust').displayName('Petrotheum Dust').texture("kubejs:item/thermaldusts/petrotheum_dust")


	//OC
	event.create('alu').displayName('Arithmetic Logic Unit').texture("kubejs:item/oc/alu")
	event.create('angelupgrade').displayName('Angel Upgrade').texture("kubejs:item/oc/angelupgrade")
	event.create('apu1').displayName('Accelerated Processing Unit').texture("kubejs:item/oc/apu1")
	event.create('apu2').displayName('Accelerated Processing Unit Tier 2').texture("kubejs:item/oc/apu2")
	event.create('card').displayName('Card Base').texture("kubejs:item/oc/card")
	event.create('chamelium').displayName('Chamelium').texture("kubejs:item/oc/chamelium")
	event.create('chip1').displayName('Microchip Tier 1').texture("kubejs:item/oc/chip1")
	event.create('chip2').displayName('Microchip Tier 2').texture("kubejs:item/oc/chip2")
	event.create('chip3').displayName('Microchip Tier 3').texture("kubejs:item/oc/chip3")
	event.create('componentbus1').displayName('Component Bus Tier 1').texture("kubejs:item/oc/componentbus1")
	event.create('componentbus2').displayName('Component Bus Tier 2').texture("kubejs:item/oc/componentbus2")
	event.create('componentbus3').displayName('Component Bus Tier 3').texture("kubejs:item/oc/componentbus3")
	event.create('craftingupgrade').displayName('Crafting Upgrade').texture("kubejs:item/oc/craftingupgrade")
	event.create('cu').displayName('Control Unit').texture("kubejs:item/oc/cu")
	event.create('datacard1').displayName('Data Card Tier 1').texture("kubejs:item/oc/datacard1")
	event.create('datacard2').displayName('Data Card Tier 2').texture("kubejs:item/oc/datacard2")
	event.create('datacard3').displayName('Data Card Tier 3').texture("kubejs:item/oc/datacard3")
	event.create('diskdrivemountable').displayName('Disk Drive').texture("kubejs:item/oc/diskdrivemountable")
	event.create('dronecase1').displayName('Drone Case Tier 1').texture("kubejs:item/oc/dronecase1")
	event.create('dronecase2').displayName('Drone Case Tier 2').texture("kubejs:item/oc/dronecase2")
	event.create('graphicscard1').displayName('Graphics Card Tier 1').texture("kubejs:item/oc/graphicscard1")
	event.create('graphicscard2').displayName('Graphics Card Tier 2').texture("kubejs:item/oc/graphicscard2")
	event.create('graphicscard3').displayName('Graphics Card Tier 3').texture("kubejs:item/oc/graphicscard3")
	event.create('hdd1').displayName('Hard Disk Drive Tier 1').texture("kubejs:item/oc/hdd1")
	event.create('hdd2').displayName('Hard Disk Drive Tier 2').texture("kubejs:item/oc/hdd2")
	event.create('hdd3').displayName('Hard Disk Drive Tier 3').texture("kubejs:item/oc/hdd3")
	event.create('printedcircuitboard').displayName('Printed Circuit Board').texture("kubejs:item/oc/printedcircuitboard")
	event.create('ram1').displayName('Memory Tier 1').texture("kubejs:item/oc/ram1")
	event.create('ram2').displayName('Memory Tier 2').texture("kubejs:item/oc/ram2")
	event.create('ram3').displayName('Memory Tier 3').texture("kubejs:item/oc/ram3")
	event.create('server1').displayName('Server Tier 1').texture("kubejs:item/oc/server1")
	event.create('server2').displayName('Server Tier 2').texture("kubejs:item/oc/server2")
	event.create('server3').displayName('Server Tier 3').texture("kubejs:item/oc/server3")
	event.create('wlancard1').displayName('Wireless Network Card Tier 1').texture("kubejs:item/oc/wlancard1")
	event.create('wlancard2').displayName('Wireless Network Card Tier 2').texture("kubejs:item/oc/wlancard2")



















})

StartupEvents.registry('block', event => {


	event.create("reinforced_obsidian")
    .resistance(1200) // no explody
    .hardness(50)     // same mining speed as obsidian
    .tagBlock("minecraft:wither_immune") // no wither breaky
    .tagBlock("minecraft:dragon_immune") // no dragon breaky

	event.create('arcane_ore').soundType('stone').hardness(2.0).displayName('Arcane Ore').tagBlock("mineable/pickaxe").tagBlock('minecraft:needs_iron_tool')
	event.create('magical_casing').soundType('stone').hardness(2.0).displayName('Ancient Stone Bricks').tagBlock("mineable/pickaxe").tagBlock('minecraft:needs_iron_tool')
	event.create('glimmering_livingrock').soundType('stone').hardness(2.0).displayName('Glimmering Livingrock').tagBlock("mineable/pickaxe").tagBlock('minecraft:needs_iron_tool')
	event.create('aquamarine_block').soundType('stone').hardness(2.0).displayName('Block of Aquamarine').tagBlock("mineable/pickaxe").tagBlock('minecraft:needs_iron_tool')
	event.create('machine_frame_simple').soundType('stone').hardness(2.0).displayName('Endsteel Machine Frame').tagBlock("mineable/pickaxe").tagBlock('minecraft:needs_iron_tool')

	event.create('draconium_block').displayName('§5Draconium Block').tagBlock("mineable/pickaxe").tagBlock('minecraft:needs_iron_tool')
	event.create('charged_draconium_block').displayName('§5Charged Draconium Block').tagBlock("mineable/pickaxe").tagBlock('minecraft:needs_iron_tool')
	event.create('awakened_draconium_block').displayName('§6Awakened Draconium Block').tagBlock("mineable/pickaxe").tagBlock('minecraft:needs_iron_tool')

	event.create('goldium_block').displayName('Block of Goldium Crystal').tagBlock("mineable/pickaxe").tagBlock('minecraft:needs_iron_tool')
	event.create('infused_goldium_block').displayName('Block of Infused Goldium Crystal').tagBlock("mineable/pickaxe").tagBlock('minecraft:needs_iron_tool')

	event.create('grout').displayName('Grout').tagBlock("mineable/shovel").tagBlock('minecraft:needs_stone_tool')

	event.create('slimesteel_block').displayName('Block of Slimesteel').tagBlock("mineable/pickaxe").tagBlock('minecraft:needs_iron_tool')
	event.create('pigiron_block').displayName('Block of Pig Iron').tagBlock("mineable/pickaxe").tagBlock('minecraft:needs_iron_tool')
	event.create('soulsteel_block').displayName('Block of Soulsteel').tagBlock("mineable/pickaxe").tagBlock('minecraft:needs_iron_tool')
	event.create('hepatizon_block').displayName('Block of Hepatizon').tagBlock("mineable/pickaxe").tagBlock('minecraft:needs_iron_tool')

	event.create('starmetal_ore').soundType('stone').hardness(2.0).displayName('Starmetal Ore').tagBlock("mineable/pickaxe").tagBlock('minecraft:needs_iron_tool')
	event.create('mana_sand').displayName('Aquamarine Shale').soundType('sand').tagBlock("mineable/shovel").tagBlock('minecraft:needs_stone_tool')


	event.create('uwuterium_block').displayName('§dBlock Of Uwuterium').tagBlock("mineable/pickaxe").tagBlock('minecraft:needs_diamond_tool')
	event.create('osgloglas_block').displayName('Block Of Osgloglas').tagBlock("mineable/pickaxe").tagBlock('minecraft:needs_diamond_tool')

})

StartupEvents.registry('fluid', e => {

    e.create('molten_steel').displayName('Molten Steel')
	.thickTexture(0xFFFFFF).bucketColor(0x3d3d3d)
	.flowingTexture('kubejs:item/molten_steel').stillTexture('kubejs:item/molten_steel')

	e.create('mana').displayName('Mana')
	.thickTexture(0x37fcf7).bucketColor(0x37fcf7)
	.flowingTexture('minecraft:block/water_flow').stillTexture('minecraft:block/water_still')

	e.create('dimensional_shard_sap').displayName('Dimensional Shard Sap')
	.thickTexture(0x7cc4c2).bucketColor(0x7cc4c2)
	.flowingTexture('minecraft:block/water_flow').stillTexture('minecraft:block/water_still')

	e.create('starlight').displayName('Liquid Starlight')
	.thickTexture(0xd8d7d7).bucketColor(0xd8d7d7)
	.flowingTexture('kubejs:item/liquid_starlight_still').stillTexture('kubejs:item/liquid_starlight_still')

	e.create('molten_starmetal').displayName('Molten Starmetal')
	.thickTexture(0x002c8f).bucketColor(0x002c8f)
	.flowingTexture('kubejs:item/molten_starmetal').stillTexture('kubejs:item/molten_starmetal')

	e.create('molten_uwuterium').displayName('Molten Uwuterium')
	.thickTexture(0xff66b2).bucketColor(0xff66b2)
	.flowingTexture('kubejs:item/lava_flow').stillTexture('kubejs:item/lava_still')

	e.create('molten_infused_coalium').displayName('Molten Infused Coal')
	.thickTexture(0x040e0e).bucketColor(0x040e0e)
	.flowingTexture('kubejs:item/lava_flow').stillTexture('kubejs:item/lava_still')

	e.create('stacia_essence').displayName('Essence Of Lambent Light')
	.thickTexture(0x0ee0cea).bucketColor(0xee0cea)
	.flowingTexture('kubejs:item/lava_flow').stillTexture('kubejs:item/lava_still')

	e.create('solus_essence').displayName('Essence Of Hecate II')
	.thickTexture(0x13eaee).bucketColor(0x13eaee)
	.flowingTexture('kubejs:item/lava_flow').stillTexture('kubejs:item/lava_still')

	e.create('terraria_essence').displayName('Essence Of Joyeuse')
	.thickTexture(0x0ced1b).bucketColor(0x0ced1b)
	.flowingTexture('kubejs:item/lava_flow').stillTexture('kubejs:item/lava_still')

	e.create('lunaria_essence').displayName('Essence Of Mothers Rosario')
	.thickTexture(0x561bf1).bucketColor(0x561bf1)
	.flowingTexture('kubejs:item/lava_flow').stillTexture('kubejs:item/lava_still')

	e.create('molten_obsidian').displayName('Molten Obsidian')
	.thickTexture(0x38254d).bucketColor(0x38254d)
	.flowingTexture('kubejs:item/lava_flow').stillTexture('kubejs:item/lava_still')

	e.create('molten_lapis').displayName('Molten Lapis Lazuli')
	.thickTexture(0x1c52a6).bucketColor(0x1c52a6)
	.flowingTexture('kubejs:item/lava_flow').stillTexture('kubejs:item/lava_still')

	e.create('molten_quartz').displayName('Molten Quartz')
	.thickTexture(0x1c52a6).bucketColor(0x1c52a6)
	.flowingTexture('kubejs:item/lava_flow').stillTexture('kubejs:item/lava_still')

	e.create('blazing_pyro').displayName('Blazing Pyrotheum')
	.bucketColor(0xffc325)
	.flowingTexture('kubejs:block/fluids/pyrotheum_flow').stillTexture('kubejs:block/fluids/pyrotheum_still')

	e.create('molten_enriched_quartz').displayName('Molten Enriched Quartz')
	.thickTexture(0xf3f3f4).bucketColor(0xf3f3f4)
	.flowingTexture('kubejs:item/en_quartz_flow').stillTexture('kubejs:item/en_quartz_still')

	e.create('blazing_cryo').displayName('Gelid Cryotheum')
	.bucketColor(0x4bf1f5)
	.flowingTexture('kubejs:item/cryotheum_flow').stillTexture('kubejs:item/cryotheum_still')

	e.create('ender_juice').displayName('Ender Juice')
	.thickTexture(0x0a2f56).bucketColor(0x0a2f56)
	.flowingTexture('kubejs:item/lava_flow').stillTexture('kubejs:item/lava_still')
})


ItemEvents.modification(event => {
    event.modify("kubejs:uwuterium_slate", item => {
		item.rarity = 'epic'
    })
})
  
