
/*
 *    MCreator note: This file will be REGENERATED on each build.
 */
package net.mcreator.sebmod.init;

import net.minecraftforge.registries.RegistryObject;
import net.minecraftforge.registries.ForgeRegistries;
import net.minecraftforge.registries.DeferredRegister;
import net.minecraftforge.common.ForgeSpawnEggItem;

import net.minecraft.world.level.block.Block;
import net.minecraft.world.item.Item;
import net.minecraft.world.item.CreativeModeTab;
import net.minecraft.world.item.BlockItem;

import net.mcreator.sebmod.item.SussyDimensionItem;
import net.mcreator.sebmod.item.SusFuelItem;
import net.mcreator.sebmod.item.SebIncItemItem;
import net.mcreator.sebmod.item.RickRollItem;
import net.mcreator.sebmod.item.DirtyWaterItem;
import net.mcreator.sebmod.item.CupCakeItem;
import net.mcreator.sebmod.item.BananaItem;
import net.mcreator.sebmod.SebModMod;

public class SebModModItems {
	public static final DeferredRegister<Item> REGISTRY = DeferredRegister.create(ForgeRegistries.ITEMS, SebModMod.MODID);
	public static final RegistryObject<Item> DIRTY_WATER_BUCKET = REGISTRY.register("dirty_water_bucket", () -> new DirtyWaterItem());
	public static final RegistryObject<Item> AMONGUS = block(SebModModBlocks.AMONGUS, SebModModTabs.TAB_SEB_MOD);
	public static final RegistryObject<Item> SUSSY_DIMENSION = REGISTRY.register("sussy_dimension", () -> new SussyDimensionItem());
	public static final RegistryObject<Item> RICK_ROLL = REGISTRY.register("rick_roll", () -> new RickRollItem());
	public static final RegistryObject<Item> SEB_INC_ITEM = REGISTRY.register("seb_inc_item", () -> new SebIncItemItem());
	public static final RegistryObject<Item> CUP_CAKE = REGISTRY.register("cup_cake", () -> new CupCakeItem());
	public static final RegistryObject<Item> BANANA = REGISTRY.register("banana", () -> new BananaItem());
	public static final RegistryObject<Item> IMPOSTOR = REGISTRY.register("impostor_spawn_egg",
			() -> new ForgeSpawnEggItem(SebModModEntities.IMPOSTOR, -65536, -65536, new Item.Properties().tab(SebModModTabs.TAB_SEB_MOD)));
	public static final RegistryObject<Item> SUS_FUEL_BUCKET = REGISTRY.register("sus_fuel_bucket", () -> new SusFuelItem());

	private static RegistryObject<Item> block(RegistryObject<Block> block, CreativeModeTab tab) {
		return REGISTRY.register(block.getId().getPath(), () -> new BlockItem(block.get(), new Item.Properties().tab(tab)));
	}
}
