minsto

ItemsIni

Jul 30th, 2021
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.96 KB | None | 0 0
  1. package com.Ivorius.psychedelicraft.Items;
  2.  
  3. import com.Ivorius.psychedelicraft.Blocks.BlocksInit;
  4. import com.Ivorius.psychedelicraft.Blocks.BlocksnoTabs;
  5. import com.Ivorius.psychedelicraft.CreativeTabs.TabsPsycheDrik;
  6. import com.Ivorius.psychedelicraft.CreativeTabs.TabsPsychedilicraft;
  7. import com.Ivorius.psychedelicraft.Crops.Cannabisseeds;
  8. import com.Ivorius.psychedelicraft.Crops.Cocaplant;
  9. import com.Ivorius.psychedelicraft.psychedelicraft;
  10. import net.minecraft.block.Block;
  11. import net.minecraft.item.BlockItem;
  12. import net.minecraft.item.BlockNamedItem;
  13. import net.minecraft.item.Item;
  14. import net.minecraft.item.ItemStack;
  15. import net.minecraftforge.fml.RegistryObject;
  16. import net.minecraftforge.registries.DeferredRegister;
  17. import net.minecraftforge.registries.ForgeRegistries;
  18.  
  19. public class ItemsInit {
  20. public static final DeferredRegister<Item> ITEMS = DeferredRegister.create(ForgeRegistries.ITEMS, psychedelicraft.Modid);
  21. public static final RegistryObject<Item> cannabisleaf = ITEMS.register("cannabisleaf",()->new Item(new Item.Properties().tab(TabsPsychedilicraft.psychedelicraftGroups.psychedelicraft_groups)));
  22. public static final RegistryObject<Item> barrel = ITEMS.register("barrel",()->new Item(new Item.Properties().tab(TabsPsycheDrik.psycheDrinksGroups.psycheDrinks_groups)));
  23. public static final RegistryObject<Item> driedcannabis= ITEMS.register("driedcannabis",()->new Item(new Item.Properties().tab(TabsPsychedilicraft.psychedelicraftGroups.psychedelicraft_groups)));
  24. public static final RegistryObject<Item> driedcannabisbuds= ITEMS.register("driedcannabisbuds",()->new Item(new Item.Properties().tab(TabsPsychedilicraft.psychedelicraftGroups.psychedelicraft_groups)));
  25. public static final RegistryObject<Item> cannabis_buds= ITEMS.register("cannabis_buds",()->new Item(new Item.Properties().tab(TabsPsychedilicraft.psychedelicraftGroups.psychedelicraft_groups)));
  26. public static final RegistryObject<Item> cocainepowder= ITEMS.register("cocainepowder",()->new Item(new Item.Properties().tab(TabsPsychedilicraft.psychedelicraftGroups.psychedelicraft_groups)));
  27. public static final RegistryObject<Item> coca_leaf= ITEMS.register("coca_leaf",()->new Item(new Item.Properties().tab(TabsPsychedilicraft.psychedelicraftGroups.psychedelicraft_groups)));
  28. public static final RegistryObject<Item> coffea_cherries= ITEMS.register("coffea_cherries",()->new Item(new Item.Properties().tab(TabsPsychedilicraft.psychedelicraftGroups.psychedelicraft_groups)));
  29. public static final RegistryObject<Item> cannabisseeds = ITEMS.register("cannabisseeds",()->new BlockNamedItem(BlocksInit.cannabisplant.get(),(new Item.Properties().tab(TabsPsychedilicraft.psychedelicraftGroups.psychedelicraft_groups))));
  30. 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)));
  31.  
  32.  
  33. }
Advertisement
Add Comment
Please, Sign In to add comment