public function getSpawnCompound()
{
$c = new CompoundTag("", [new StringTag("id", Tile::MOB_SPAWNER), new IntTag("x", (int) $this->x), new IntTag("y", (int) $this->y), new IntTag("z", (int) $this->z), new IntTag("EntityId", (int) $this->getEntityId())]);
return $c;
}