Skip to content

Commit

Permalink
refactor: move palette and bitarray to datastruct package
Browse files Browse the repository at this point in the history
  • Loading branch information
smartcmd committed Dec 6, 2024
1 parent f06e7aa commit d843dbf
Show file tree
Hide file tree
Showing 14 changed files with 18 additions and 18 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.allaymc.server.world.bitarray;
package org.allaymc.server.datastruct.bitarray;

/**
* @author JukeboxMC | daoge_cmd
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.allaymc.server.world.bitarray;
package org.allaymc.server.datastruct.bitarray;

import com.google.common.base.Preconditions;
import org.cloudburstmc.math.GenericMath;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.allaymc.server.world.bitarray;
package org.allaymc.server.datastruct.bitarray;

import com.google.common.base.Objects;
import org.cloudburstmc.math.GenericMath;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.allaymc.server.world.bitarray;
package org.allaymc.server.datastruct.bitarray;

import com.google.common.base.Objects;
import org.cloudburstmc.math.GenericMath;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.allaymc.server.world.bitarray;
package org.allaymc.server.datastruct.bitarray;

/**
* @author JukeboxMC | daoge_cmd
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package org.allaymc.server.world.palette;
package org.allaymc.server.datastruct.palette;

import com.google.common.base.Objects;
import io.netty.buffer.ByteBuf;
import io.netty.buffer.ByteBufOutputStream;
import it.unimi.dsi.fastutil.objects.ReferenceArrayList;
import lombok.extern.slf4j.Slf4j;
import org.allaymc.api.world.chunk.Chunk;
import org.allaymc.server.world.bitarray.BitArray;
import org.allaymc.server.world.bitarray.BitArrayVersion;
import org.allaymc.server.datastruct.bitarray.BitArray;
import org.allaymc.server.datastruct.bitarray.BitArrayVersion;
import org.cloudburstmc.nbt.NbtUtils;
import org.cloudburstmc.protocol.common.util.VarInts;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.allaymc.server.world.palette;
package org.allaymc.server.datastruct.palette;

import lombok.experimental.StandardException;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.allaymc.server.world.palette;
package org.allaymc.server.datastruct.palette;

import io.netty.buffer.ByteBuf;
import lombok.SneakyThrows;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.allaymc.server.world.palette;
package org.allaymc.server.datastruct.palette;

import io.netty.buffer.ByteBuf;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.allaymc.server.world.palette;
package org.allaymc.server.datastruct.palette;

import org.cloudburstmc.nbt.NbtMap;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.allaymc.server.world.palette;
package org.allaymc.server.datastruct.palette;

/**
* @author JukeboxMC | daoge_cmd
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.allaymc.server.world.palette;
package org.allaymc.server.datastruct.palette;

/**
* @author JukeboxMC | daoge_cmd
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import org.allaymc.api.block.type.BlockState;
import org.allaymc.api.world.biome.BiomeId;
import org.allaymc.api.world.biome.BiomeType;
import org.allaymc.server.world.palette.Palette;
import org.allaymc.server.datastruct.palette.Palette;

import javax.annotation.concurrent.NotThreadSafe;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@
import org.allaymc.api.world.gamerule.GameRules;
import org.allaymc.api.world.storage.WorldStorage;
import org.allaymc.api.world.storage.WorldStorageException;
import org.allaymc.server.datastruct.palette.Palette;
import org.allaymc.server.datastruct.palette.PaletteException;
import org.allaymc.server.datastruct.palette.PaletteUtils;
import org.allaymc.server.world.AllayWorldData;
import org.allaymc.server.world.HeightMap;
import org.allaymc.server.world.chunk.AllayUnsafeChunk;
import org.allaymc.server.world.chunk.ChunkSection;
import org.allaymc.server.world.palette.Palette;
import org.allaymc.server.world.palette.PaletteException;
import org.allaymc.server.world.palette.PaletteUtils;
import org.allaymc.updater.block.BlockStateUpdaters;
import org.cloudburstmc.nbt.*;
import org.cloudburstmc.nbt.util.stream.LittleEndianDataInputStream;
Expand Down

0 comments on commit d843dbf

Please sign in to comment.