drackiseries

Egg Code

Jul 4th, 2012
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.48 KB | None | 0 0
  1. BLOCK EGG CONTENTS:
  2.  
  3.  
  4. package net.minecraft.src;
  5.  
  6. import java.util.Random;
  7.  
  8. public class BlockEgg extends BlockDragonEgg
  9. {
  10.     public BlockEgg(int par1, int par2)
  11.     {
  12.         super(par1,par2);
  13.     }
  14.    
  15.     public int quantityDropped(Random random)
  16.     {
  17.         return 9;
  18.     }
  19.    
  20.     public int idDropped(int par1, Random random, int par2)
  21.     {
  22.         return Item.egg.shiftedIndex;
  23.     }
  24.    
  25.     public int getRenderType()
  26.     {
  27.         return 27;
  28.     }
  29. }
Advertisement
Add Comment
Please, Sign In to add comment