I need a tile entity to update every tick or so. I found a page that talks about the updateTick function, but it isnt working for me. I have a System.out.println function that isnt happening. Any help is appreciated!
Code:
private long tickCounter;
public void updateTick(World world, int x, int y, int z, Random par5Random) {
if(tickCounter%mod_Eclipses.JarTickSpeed == 0){
long wt = world.getWorldTime();
System.out.println(wt);
if(wt > 0 && wt < 12000){
setFluid(liquid1);
}else if(wt > 12000 && wt < 24000){
setFluid(liquid2);
}
}
tickCounter++;
}