Guest User

Untitled

a guest
Apr 26th, 2016
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. package dovahofkiin.brewery.common.tileentity;
  2.  
  3. import dovahofkiin.brewery.Constants;
  4. import net.minecraft.block.Block;
  5. import net.minecraft.init.Blocks;
  6. import net.minecraft.tileentity.TileEntity;
  7. import net.minecraft.util.ITickable;
  8.  
  9. public class BreweryTileEntity extends TileEntity implements ITickable {
  10.  
  11. int timer;
  12.  
  13. public BreweryTileEntity() {
  14. super();
  15. timer = 0;
  16.  
  17. int i = 0;
  18. for (Block b : Constants.reactantList) {
  19. if (b == Blocks.obsidian && i == 2) {
  20. if (!getWorld().
  21. isRemote)
  22. System.out.println("Server-side:" + Constants.reactantList.indexOf(b));
  23. else System.out.println("Client-side:" + Constants.reactantList.indexOf(b));
  24.  
  25. }
  26. i++;
  27. }
  28. }
  29.  
  30. @Override
  31. public void update() { }
  32.  
  33. }
Add Comment
Please, Sign In to add comment