package hmggirlfront;

import hmggirlfront.items.ItemDollAttachment;
import hmggirlfront.items.ItemDrone_Random;
import hmggirlfront.items.ItemGF;
import hmggirlfront.items.ItemSpawn_Drone;
import hmggirlfront.items.ItemSpawn_IBC;
import net.minecraft.item.Item;
import net.minecraft.util.ResourceLocation;
import net.minecraftforge.event.RegistryEvent;
import objmodel.AdvancedModelLoader;

public class GFItemDrone_Registry {
	public static void registry(mod_GirlFront mod, RegistryEvent.Register<Item> event){
		
		{
			mod.item_drone = new ItemDrone_Random().setUnlocalizedName("item_drone")
					.setRegistryName(mod.MOD_ID, "item_drone").setCreativeTab(mod.tabgg_mob);
			{
				ItemDrone_Random item = (ItemDrone_Random) mod.item_drone;
				item.text1 = "hmggirlfront.idoll_drone.text1.name";
				//item.text2 = "hmggirlfront.idoll_drone.text2.name";
				//item.text3 = "hmggirlfront.idoll_drone.text3.name";
			}
			event.getRegistry().register(mod.item_drone);
		}
		
		{
			mod.drone_command = new ItemSpawn_Drone(1).setUnlocalizedName("drone_command")
					.setRegistryName(mod.MOD_ID, "drone_command").setCreativeTab(mod.tabgg_mob);
			{
				ItemSpawn_Drone drone = (ItemSpawn_Drone) mod.drone_command;
				drone.main = mod.drone_command;
				drone.model_drone = "hmggirlfront:textures/model/drone/doll_drone_uav.mqo";
				drone.tex_drone = "hmggirlfront:textures/model/drone/doll_drone_uav.png";
				
				drone.model = "hmggirlfront:textures/model/drone/drone_command.mqo";
				drone.tex = "hmggirlfront:textures/model/drone/drone_command.png";
				
				drone.w1name = "SPOT";
				drone.reload_time1 = 5;
			}
			event.getRegistry().register(mod.drone_command);
		}
		{
			mod.drone_mortar = new ItemSpawn_Drone(1).setUnlocalizedName("drone_mortar")
					.setRegistryName(mod.MOD_ID, "drone_mortar").setCreativeTab(mod.tabgg_mob);
			{
				ItemSpawn_Drone drone = (ItemSpawn_Drone) mod.drone_mortar;
				drone.main = mod.drone_mortar;
				drone.model_drone = "hmggirlfront:textures/model/drone/doll_drone.mqo";
				drone.tex_drone = "hmggirlfront:textures/model/drone/doll_drone.png";
				
				drone.model = "hmggirlfront:textures/model/drone/drone_mortar.mqo";
				drone.tex = "hmggirlfront:textures/model/drone/drone_mortar.png";
				
				drone.w1name = "MORTAR";
				drone.reload_time1 = 200;
			}
			event.getRegistry().register(mod.drone_mortar);
		}
		{
			mod.drone_airborne = new ItemSpawn_Drone(1).setUnlocalizedName("drone_airborne")
					.setRegistryName(mod.MOD_ID, "drone_airborne").setCreativeTab(mod.tabgg_mob);
			{
				ItemSpawn_Drone drone = (ItemSpawn_Drone) mod.drone_airborne;
				drone.main = mod.drone_airborne;
				drone.model_drone = "hmggirlfront:textures/model/drone/doll_drone_uav.mqo";
				drone.tex_drone = "hmggirlfront:textures/model/drone/doll_drone_uav.png";
				
				drone.model = "hmggirlfront:textures/model/drone/drone_airborne.mqo";
				drone.tex = "hmggirlfront:textures/model/drone/drone_airborne.png";
				
				drone.w1name = "AIRBORNE";
				drone.reload_time1 = 200;
			}
			event.getRegistry().register(mod.drone_airborne);
		}
		{
			mod.drone_bomber = new ItemSpawn_Drone(1).setUnlocalizedName("drone_bomber")
					.setRegistryName(mod.MOD_ID, "drone_bomber").setCreativeTab(mod.tabgg_mob);
			{
				ItemSpawn_Drone drone = (ItemSpawn_Drone) mod.drone_bomber;
				drone.main = mod.drone_bomber;
				drone.model_drone = "hmggirlfront:textures/model/drone/doll_drone.mqo";
				drone.tex_drone = "hmggirlfront:textures/model/drone/doll_drone.png";
				
				drone.model = "hmggirlfront:textures/model/drone/drone_bomber.mqo";
				drone.tex = "hmggirlfront:textures/model/drone/drone_bomber.png";
				
				drone.w1name = "bomber";
				drone.reload_time1 = 200;
			}
			event.getRegistry().register(mod.drone_bomber);
		}
		{
			mod.drone_decoy = new ItemSpawn_Drone(1).setUnlocalizedName("drone_decoy")
					.setRegistryName(mod.MOD_ID, "drone_decoy").setCreativeTab(mod.tabgg_mob);
			{
				ItemSpawn_Drone drone = (ItemSpawn_Drone) mod.drone_decoy;
				drone.main = mod.drone_decoy;
				drone.model_drone = "hmggirlfront:textures/model/drone/doll_drone_uav.mqo";
				drone.tex_drone = "hmggirlfront:textures/model/drone/doll_drone_uav.png";
				
				drone.model = "hmggirlfront:textures/model/drone/drone_decoy.mqo";
				drone.tex = "hmggirlfront:textures/model/drone/drone_decoy.png";
				
				drone.w1name = "decoy";
				drone.reload_time1 = 200;
			}
			event.getRegistry().register(mod.drone_decoy);
		}
	}
}
