package com.r3944realms.modernlifepatch.content.items; import com.r3944realms.modernlifepatch.ModernLifePatch; import com.r3944realms.modernlifepatch.content.blocks.ModBlocks; import net.minecraft.world.item.BlockItem; import net.minecraft.world.item.Item; import net.minecraftforge.eventbus.api.IEventBus; import net.minecraftforge.registries.DeferredRegister; import net.minecraftforge.registries.ForgeRegistries; import net.minecraftforge.registries.RegistryObject; public class ModItems { public static final DeferredRegister ITEMS = DeferredRegister.create(ForgeRegistries.ITEMS, ModernLifePatch.MOD_ID); public static final RegistryObject MIRROR_ITEM = ModBlocks.registerBlockItem("mirror", ModBlocks.MIRROR); public static final RegistryObject TALL_MIRROR_ITEM = ModBlocks.registerBlockItem("tall_mirror", ModBlocks.TALL_MIRROR); public static final RegistryObject LARGE_MIRROR_ITEM = ModBlocks.registerBlockItem("large_mirror", ModBlocks.LARGE_MIRROR); public static final RegistryObject MASSIVE_MIRROR_ITEM = ModBlocks.registerBlockItem("massive_mirror", ModBlocks.MASSIVE_MIRROR); //BARRIER_ITEM public static final RegistryObject LIGHT_GRAY_CONCRETE_BARRIER_ITEM = ModBlocks.registerBlockItem("light_gray_concrete_barrier", ModBlocks.LIGHT_GRAY_CONCRETE_BARRIER); public static final RegistryObject WHITE_CONCRETE_BARRIER_ITEM = ModBlocks.registerBlockItem("white_concrete_barrier", ModBlocks.WHITE_CONCRETE_BARRIER); public static final RegistryObject ORANGE_CONCRETE_BARRIER_ITEM = ModBlocks.registerBlockItem("orange_concrete_barrier", ModBlocks.ORANGE_CONCRETE_BARRIER); public static final RegistryObject MAGENTA_CONCRETE_BARRIER_ITEM = ModBlocks.registerBlockItem("magenta_concrete_barrier", ModBlocks.MAGENTA_CONCRETE_BARRIER); public static final RegistryObject LIGHT_BLUE_CONCRETE_BARRIER_ITEM = ModBlocks.registerBlockItem("light_blue_concrete_barrier", ModBlocks.LIGHT_BLUE_CONCRETE_BARRIER); public static final RegistryObject YELLOW_CONCRETE_BARRIER_ITEM = ModBlocks.registerBlockItem("yellow_concrete_barrier", ModBlocks.YELLOW_CONCRETE_BARRIER); public static final RegistryObject LIME_CONCRETE_BARRIER_ITEM = ModBlocks.registerBlockItem("lime_concrete_barrier", ModBlocks.LIME_CONCRETE_BARRIER); public static final RegistryObject PINK_CONCRETE_BARRIER_ITEM = ModBlocks.registerBlockItem("pink_concrete_barrier", ModBlocks.PINK_CONCRETE_BARRIER); public static final RegistryObject GRAY_CONCRETE_BARRIER_ITEM = ModBlocks.registerBlockItem("gray_concrete_barrier", ModBlocks.GRAY_CONCRETE_BARRIER); public static final RegistryObject CYAN_CONCRETE_BARRIER_ITEM = ModBlocks.registerBlockItem("cyan_concrete_barrier", ModBlocks.CYAN_CONCRETE_BARRIER); public static final RegistryObject PURPLE_CONCRETE_BARRIER_ITEM = ModBlocks.registerBlockItem("purple_concrete_barrier", ModBlocks.PURPLE_CONCRETE_BARRIER); public static final RegistryObject BLUE_CONCRETE_BARRIER_ITEM = ModBlocks.registerBlockItem("blue_concrete_barrier", ModBlocks.BLUE_CONCRETE_BARRIER); public static final RegistryObject BROWN_CONCRETE_BARRIER_ITEM = ModBlocks.registerBlockItem("brown_concrete_barrier", ModBlocks.BROWN_CONCRETE_BARRIER); public static final RegistryObject GREEN_CONCRETE_BARRIER_ITEM = ModBlocks.registerBlockItem("green_concrete_barrier", ModBlocks.GREEN_CONCRETE_BARRIER); public static final RegistryObject RED_CONCRETE_BARRIER_ITEM = ModBlocks.registerBlockItem("red_concrete_barrier", ModBlocks.RED_CONCRETE_BARRIER); public static final RegistryObject BLACK_CONCRETE_BARRIER_ITEM = ModBlocks.registerBlockItem("black_concrete_barrier", ModBlocks.BLACK_CONCRETE_BARRIER); public static final RegistryObject QUARTZ_BLOCK_BARRIER = ModBlocks.registerBlockItem("quartz_block_barrier", ModBlocks.QUARTZ_BLOCK_BARRIER); public static final RegistryObject SMOOTH_QUARTZ_BARRIER = ModBlocks.registerBlockItem("smooth_quartz_barrier", ModBlocks.SMOOTH_QUARTZ_BARRIER); //NUMBER public static final RegistryObject NULL_BLOCK_ITEM = ModBlocks.registerBlockItem("null_block", ModBlocks.NULL_BLOCK); public static final RegistryObject ONE_BLOCK_ITEM = ModBlocks.registerBlockItem("one_block", ModBlocks.ONE_BLOCK); public static final RegistryObject TWO_BLOCK_ITEM = ModBlocks.registerBlockItem("two_block", ModBlocks.TWO_BLOCK); public static final RegistryObject THREE_BLOCK_ITEM = ModBlocks.registerBlockItem("three_block", ModBlocks.THREE_BLOCK); public static final RegistryObject FOUR_BLOCK_ITEM = ModBlocks.registerBlockItem("four_block", ModBlocks.FOUR_BLOCK); public static final RegistryObject FIVE_BLOCK_ITEM = ModBlocks.registerBlockItem("five_block", ModBlocks.FIVE_BLOCK); public static final RegistryObject SIX_BLOCK_ITEM = ModBlocks.registerBlockItem("six_block", ModBlocks.SIX_BLOCK); public static final RegistryObject SEVEN_BLOCK_ITEM = ModBlocks.registerBlockItem("seven_block", ModBlocks.SEVEN_BLOCK); public static final RegistryObject EIGHT_BLOCK_ITEM = ModBlocks.registerBlockItem("eight_block", ModBlocks.EIGHT_BLOCK); public static final RegistryObject NINE_BLOCK_ITEM = ModBlocks.registerBlockItem("nine_block", ModBlocks.NINE_BLOCK); public static final RegistryObject ZERO_BLOCK_ITEM = ModBlocks.registerBlockItem("zero_block", ModBlocks.ZERO_BLOCK); public static void register(IEventBus bus) { ITEMS.register(bus); } }