Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.Ivorius.psychedelicraft.Items;
- import com.Ivorius.psychedelicraft.Blocks.BlocksInit;
- import com.Ivorius.psychedelicraft.Blocks.BlocksnoTabs;
- import com.Ivorius.psychedelicraft.CreativeTabs.TabsPsycheDrik;
- import com.Ivorius.psychedelicraft.CreativeTabs.TabsPsychedilicraft;
- import com.Ivorius.psychedelicraft.Crops.Cannabisseeds;
- import com.Ivorius.psychedelicraft.Crops.Cocaplant;
- import com.Ivorius.psychedelicraft.psychedelicraft;
- import net.minecraft.block.Block;
- import net.minecraft.item.BlockItem;
- import net.minecraft.item.BlockNamedItem;
- import net.minecraft.item.Item;
- import net.minecraft.item.ItemStack;
- import net.minecraftforge.fml.RegistryObject;
- import net.minecraftforge.registries.DeferredRegister;
- import net.minecraftforge.registries.ForgeRegistries;
- public class ItemsInit {
- public static final DeferredRegister<Item> ITEMS = DeferredRegister.create(ForgeRegistries.ITEMS, psychedelicraft.Modid);
- public static final RegistryObject<Item> cannabisleaf = ITEMS.register("cannabisleaf",()->new Item(new Item.Properties().tab(TabsPsychedilicraft.psychedelicraftGroups.psychedelicraft_groups)));
- public static final RegistryObject<Item> barrel = ITEMS.register("barrel",()->new Item(new Item.Properties().tab(TabsPsycheDrik.psycheDrinksGroups.psycheDrinks_groups)));
- public static final RegistryObject<Item> driedcannabis= ITEMS.register("driedcannabis",()->new Item(new Item.Properties().tab(TabsPsychedilicraft.psychedelicraftGroups.psychedelicraft_groups)));
- public static final RegistryObject<Item> driedcannabisbuds= ITEMS.register("driedcannabisbuds",()->new Item(new Item.Properties().tab(TabsPsychedilicraft.psychedelicraftGroups.psychedelicraft_groups)));
- public static final RegistryObject<Item> cannabis_buds= ITEMS.register("cannabis_buds",()->new Item(new Item.Properties().tab(TabsPsychedilicraft.psychedelicraftGroups.psychedelicraft_groups)));
- public static final RegistryObject<Item> cocainepowder= ITEMS.register("cocainepowder",()->new Item(new Item.Properties().tab(TabsPsychedilicraft.psychedelicraftGroups.psychedelicraft_groups)));
- public static final RegistryObject<Item> coca_leaf= ITEMS.register("coca_leaf",()->new Item(new Item.Properties().tab(TabsPsychedilicraft.psychedelicraftGroups.psychedelicraft_groups)));
- public static final RegistryObject<Item> coffea_cherries= ITEMS.register("coffea_cherries",()->new Item(new Item.Properties().tab(TabsPsychedilicraft.psychedelicraftGroups.psychedelicraft_groups)));
- public static final RegistryObject<Item> cannabisseeds = ITEMS.register("cannabisseeds",()->new BlockNamedItem(BlocksInit.cannabisplant.get(),(new Item.Properties().tab(TabsPsychedilicraft.psychedelicraftGroups.psychedelicraft_groups))));
- public static final RegistryObject<Item> coca_seeds = ITEMS.register("coca_seeds",()->new BlockNamedItem(BlocksnoTabs.cocaplant.get().getBlock(),(new Item.Properties()).tab(TabsPsychedilicraft.psychedelicraftGroups.psychedelicraft_groups)));
- }
Advertisement
Add Comment
Please, Sign In to add comment