public Entry(NbtCompound tag) { this.cell = Main.instance.tileRegistry.getElement(tag.getInt("cellId")); this.position = new Position(tag.getVector3Int("offset")); this.addFogOnComplete = tag.getBool("addFog"); }