Tutorial 19. TileEntity logics