Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package dovahofkiin.brewery.common.tileentity;
- import dovahofkiin.brewery.Constants;
- import net.minecraft.block.Block;
- import net.minecraft.init.Blocks;
- import net.minecraft.tileentity.TileEntity;
- import net.minecraft.util.ITickable;
- public class BreweryTileEntity extends TileEntity implements ITickable {
- int timer;
- public BreweryTileEntity() {
- super();
- timer = 0;
- int i = 0;
- for (Block b : Constants.reactantList) {
- if (b == Blocks.obsidian && i == 2) {
- if (!getWorld().
- isRemote)
- System.out.println("Server-side:" + Constants.reactantList.indexOf(b));
- else System.out.println("Client-side:" + Constants.reactantList.indexOf(b));
- }
- i++;
- }
- }
- @Override
- public void update() { }
- }
Add Comment
Please, Sign In to add comment