// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods.
// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission.
if (Platform.isLoaded("extendedae")) {
  StartupEvents.registry("item", (allthemods) => {
    // ##### Fluids #####

    // Lava
    allthemods
      .create("lava_cell", "custom_infinity_cell")
      .texture("kubejs:item/lava_cell")
      .fluidType("minecraft:lava")
      .cellModel("kubejs:block/drive/lava_cell")

    // ##### Basic Stuff #####
    // Dirt
    allthemods
      .create("dirt_cell", "custom_infinity_cell")
      .texture("kubejs:item/dirt_cell")
      .itemType("minecraft:dirt")
      .cellModel("kubejs:block/drive/dirt_cell")
    // Moss
    allthemods
      .create("moss_cell", "custom_infinity_cell")
      .texture("kubejs:item/moss_cell")
      .itemType("minecraft:moss_block")
      .cellModel("kubejs:block/drive/moss_cell")
    // Andesite
    allthemods
      .create("andesite_cell", "custom_infinity_cell")
      .texture("kubejs:item/andesite_cell")
      .itemType("minecraft:andesite")
      .cellModel("kubejs:block/drive/andesite_cell")
    // Diorite
    allthemods
      .create("diorite_cell", "custom_infinity_cell")
      .texture("kubejs:item/diorite_cell")
      .itemType("minecraft:diorite")
      .cellModel("kubejs:block/drive/diorite_cell")
    // Granite
    allthemods
      .create("granite_cell", "custom_infinity_cell")
      .texture("kubejs:item/granite_cell")
      .itemType("minecraft:granite")
      .cellModel("kubejs:block/drive/granite_cell")
    // Tuff
    allthemods
      .create("tuff_cell", "custom_infinity_cell")
      .texture("kubejs:item/tuff_cell")
      .itemType("minecraft:tuff")
      .cellModel("kubejs:block/drive/tuff_cell")
    // Gravel
    allthemods
      .create("gravel_cell", "custom_infinity_cell")
      .texture("kubejs:item/gravel_cell")
      .itemType("minecraft:gravel")
      .cellModel("kubejs:block/drive/gravel_cell")
    // sand
    allthemods
      .create("sand_cell", "custom_infinity_cell")
      .texture("kubejs:item/sand_cell")
      .itemType("minecraft:sand")
      .cellModel("kubejs:block/drive/sand_cell")
    // Red Sand
    allthemods
      .create("red_sand_cell", "custom_infinity_cell")
      .texture("kubejs:item/red_sand_cell")
      .itemType("minecraft:red_sand")
      .cellModel("kubejs:block/drive/red_sand_cell")
    // End Stone
    allthemods
      .create("end_stone_cell", "custom_infinity_cell")
      .texture("kubejs:item/end_stone_cell")
      .itemType("minecraft:end_stone")
      .cellModel("kubejs:block/drive/end_stone_cell")
    // Netherrack
    allthemods
      .create("netherrack_cell", "custom_infinity_cell")
      .texture("kubejs:item/netherrack_cell")
      .itemType("minecraft:netherrack")
      .cellModel("kubejs:block/drive/netherrack_cell")
    // Clay
    allthemods
      .create("clay_cell", "custom_infinity_cell")
      .texture("kubejs:item/clay_cell")
      .itemType("minecraft:clay")
      .cellModel("kubejs:block/drive/clay_cell")
    // Blackstone
    allthemods
      .create("blackstone_cell", "custom_infinity_cell")
      .texture("kubejs:item/blackstone_cell")
      .itemType("minecraft:blackstone")
      .cellModel("kubejs:block/drive/blackstone_cell")
    // Basalt
    allthemods
      .create("basalt_cell", "custom_infinity_cell")
      .texture("kubejs:item/basalt_cell")
      .itemType("minecraft:basalt")
      .cellModel("kubejs:block/drive/basalt_cell")
    // Calcite
    allthemods
      .create("calcite_cell", "custom_infinity_cell")
      .texture("kubejs:item/calcite_cell")
      .itemType("minecraft:calcite")
      .cellModel("kubejs:block/drive/calcite_cell")
    // Cobbled Deepslate
    allthemods
      .create("cobbled_deepslate_cell", "custom_infinity_cell")
      .texture("kubejs:item/cobbled_deepslate_cell")
      .itemType("minecraft:cobbled_deepslate")
      .cellModel("kubejs:block/drive/cobbled_deepslate_cell")
    // Soul Sand
    allthemods
      .create("soul_sand_cell", "custom_infinity_cell")
      .texture("kubejs:item/soul_sand_cell")
      .itemType("minecraft:soul_sand")
      .cellModel("kubejs:block/drive/soul_sand_cell")
    // Sky stone
    allthemods
      .create("sky_stone_cell", "custom_infinity_cell")
      .texture("kubejs:item/sky_stone_cell")
      .itemType("ae2:sky_stone_block")
      .cellModel("kubejs:block/drive/sky_stone_cell")
    // Kivi
    allthemods
      .create("kivi_cell", "custom_infinity_cell")
      .texture("kubejs:item/kivi_cell")
      .itemType("xycraft_world:kivi")
      .cellModel("kubejs:block/drive/kivi_cell")
    // Ancient Stone
    allthemods
      .create("ancient_stone_cell", "custom_infinity_cell")
      .texture("kubejs:item/ancient_stone_cell")
      .itemType("allthemodium:ancient_stone")
      .cellModel("kubejs:block/drive/ancient_stone_cell")

    // White dye
    allthemods
      .create("white_cell", "custom_infinity_cell")
      .texture("kubejs:item/white_cell")
      .itemType("minecraft:white_dye")
      .cellModel("kubejs:block/drive/white_cell")
    // Light Gray dye
    allthemods
      .create("light_gray_cell", "custom_infinity_cell")
      .texture("kubejs:item/light_gray_cell")
      .itemType("minecraft:light_gray_dye")
      .cellModel("kubejs:block/drive/light_gray_cell")
    // Gray dye
    allthemods
      .create("gray_cell", "custom_infinity_cell")
      .texture("kubejs:item/gray_cell")
      .itemType("minecraft:gray_dye")
      .cellModel("kubejs:block/drive/gray_cell")
    // Black dye
    allthemods
      .create("black_cell", "custom_infinity_cell")
      .texture("kubejs:item/black_cell")
      .itemType("minecraft:black_dye")
      .cellModel("kubejs:block/drive/black_cell")
    // Brown dye
    allthemods
      .create("brown_cell", "custom_infinity_cell")
      .texture("kubejs:item/brown_cell")
      .itemType("minecraft:brown_dye")
      .cellModel("kubejs:block/drive/brown_cell")
    // Red dye
    allthemods
      .create("red_cell", "custom_infinity_cell")
      .texture("kubejs:item/red_cell")
      .itemType("minecraft:red_dye")
      .cellModel("kubejs:block/drive/red_cell")
    // Orange dye
    allthemods
      .create("orange_cell", "custom_infinity_cell")
      .texture("kubejs:item/orange_cell")
      .itemType("minecraft:orange_dye")
      .cellModel("kubejs:block/drive/orange_cell")
    // Yellow dye
    allthemods
      .create("yellow_cell", "custom_infinity_cell")
      .texture("kubejs:item/yellow_cell")
      .itemType("minecraft:yellow_dye")
      .cellModel("kubejs:block/drive/yellow_cell")
    // Lime dye
    allthemods
      .create("lime_cell", "custom_infinity_cell")
      .texture("kubejs:item/lime_cell")
      .itemType("minecraft:lime_dye")
      .cellModel("kubejs:block/drive/lime_cell")
    // Green dye
    allthemods
      .create("green_cell", "custom_infinity_cell")
      .texture("kubejs:item/green_cell")
      .itemType("minecraft:green_dye")
      .cellModel("kubejs:block/drive/green_cell")
    // Cyan dye
    allthemods
      .create("cyan_cell", "custom_infinity_cell")
      .texture("kubejs:item/cyan_cell")
      .itemType("minecraft:cyan_dye")
      .cellModel("kubejs:block/drive/cyan_cell")
    // Light Blue dye
    allthemods
      .create("light_blue_cell", "custom_infinity_cell")
      .texture("kubejs:item/light_blue_cell")
      .itemType("minecraft:light_blue_dye")
      .cellModel("kubejs:block/drive/light_blue_cell")
    // Blue dye
    allthemods
      .create("blue_cell", "custom_infinity_cell")
      .texture("kubejs:item/blue_cell")
      .itemType("minecraft:blue_dye")
      .cellModel("kubejs:block/drive/blue_cell")
    // Purple dye
    allthemods
      .create("purple_cell", "custom_infinity_cell")
      .texture("kubejs:item/purple_cell")
      .itemType("minecraft:purple_dye")
      .cellModel("kubejs:block/drive/purple_cell")
    // Magenta dye
    allthemods
      .create("magenta_cell", "custom_infinity_cell")
      .texture("kubejs:item/magenta_cell")
      .itemType("minecraft:magenta_dye")
      .cellModel("kubejs:block/drive/magenta_cell")
    // Pink dye
    allthemods
      .create("pink_cell", "custom_infinity_cell")
      .texture("kubejs:item/pink_cell")
      .itemType("minecraft:pink_dye")
      .cellModel("kubejs:block/drive/pink_cell")
  })
}

// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods.
// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission.
