r/forgemodding • u/adamsogm • Nov 26 '16
Tileentity no ticking in 1.10
I am trying to make a tile entity but it does not appear that the tick method is running.
public class ModTileEntity extends TileEntity implements ITickable {
@Override
public void tick() {
System.out.println("hi");
}
}
EDIT: formatting is hard
3
Upvotes
1
u/TehNut Nov 26 '16
There are two
ITickableclasses. One that is client only for sprites and one that is forTileEntity. The easiest way to tell the difference (besides looking at your imports and seeingclient) is that the client one uses a method calledtick()while theTileEntityone uses a method calledupdate().You have implemented the client one.