Eragonn14900

Untitled

Dec 3rd, 2016
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. @Nullable
  2. public Item getItemDropped(IBlockState state, Random rand, int fortune)
  3. {
  4. if (state.getValue(BlockDesertMulti.TYPE) == EnumDesertBlocks.one1)
  5. {
  6. System.out.println("here?");
  7. return Items.COAL;
  8. }
  9. if (state.getValue(BlockDesertMulti.TYPE) == EnumDesertBlocks.one2)
  10. {
  11. System.out.println("here!");
  12. return IntegratedItems.UncutLBGem;
  13. }
  14. if (state.getValue(BlockDesertMulti.TYPE) == EnumDesertBlocks.one3)
  15. {
  16. System.out.println("here@");
  17. return IntegratedItems.UncutDBGem;
  18. }
  19. else
  20. {
  21. System.out.println("why here?");
  22. return (Item) state;
  23. }
  24. }
Advertisement
Add Comment
Please, Sign In to add comment