def addTileTick(self, tickTag):
        '''
        Adds an TileTick to the level and sets its position to the values of the X, Y, and Z tags
        
        :param tickTag: The NBT data of the TileTick
        :type tickTag: pymclevel.nbt.TAG_Compound
        '''
        assert isinstance(tickTag, nbt.TAG_Compound)

        if 'x' not in tickTag:
            return
        x, y, z = TileTick.pos(tickTag)
        try:
            chunk = self.getChunk(x >> 4,z >> 4)
        except(ChunkNotPresent, ChunkMalformed):
            return
        chunk.addTileTick(tickTag)
        chunk.dirty = True

        Adds an TileTick to the level and sets its position to the values of the X, Y, and Z tags
        
        :param tickTag: The NBT data of the TileTick
        :type tickTag: pymclevel.nbt.TAG_Compound
        
pymclevel/infiniteworld.py