Advertisement
Guest User

Untitled

a guest
Feb 24th, 2020
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. package com.user.peacefulcrafting.items;
  2.  
  3. import net.minecraft.creativetab.CreativeTabs;
  4. import net.minecraft.item.Item;
  5.  
  6. public class ItemBasic extends Item {
  7. public ItemBasic (String name) {
  8. this(name, CreativeTabs.MATERIALS);
  9. }
  10.  
  11. public ItemBasic (String name, CreativeTabs tab){
  12. this.setUnlocalizedName(name);
  13. this.setRegistryName(name);
  14. this.setCreativeTab(tab);
  15. }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement