Advertisement
BritishBrohood

sadf

Sep 27th, 2016
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. public class StairPlacer extends Item implements ItemModelProvider {
  2. public StairPlacer(){
  3. setUnlocalizedName("StairPlacer");
  4. setRegistryName("StairPlacer");
  5. setCreativeTab(ArdentCraft.tab);
  6. }
  7. @Override
  8. public void registerItemModel(Item item) {
  9. ArdentCraft.proxy.registerItemRenderer(this, 0, "StairPlacer");
  10. }
  11. public EnumActionResult onItemUse(ItemStack stack, EntityPlayer playerIn, World worldIn, BlockPos pos, EnumHand hand, EnumFacing facing, float hitX, float hitY, float hitZ){
  12. BlockPos newpos = pos.add(0, 1, 0);
  13. return SUCCESS;
  14. }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement