Remove unused data source properties

This commit is contained in:
James Seibel
2024-04-01 20:21:56 -05:00
parent 9835af0845
commit 964f5feb4b
4 changed files with 0 additions and 16 deletions
@@ -124,11 +124,6 @@ public class FullDataSourceV1 implements IDataSource<IDhLevel>
@Override
public byte getDataDetailLevel() { return (byte) (this.sectionPos.getDetailLevel() - SECTION_SIZE_OFFSET); }
@Override
public byte getDataFormatVersion() { return DATA_FORMAT_VERSION; }
public EDhApiWorldGenerationStep getWorldGenStep() { return this.worldGenStep; }
public boolean isEmpty() { return this.isEmpty; }
@@ -869,9 +869,6 @@ public class FullDataSourceV2 implements IDataSource<IDhLevel>
@Override
public byte getDataDetailLevel() { return (byte) (this.pos.getDetailLevel() - DhSectionPos.SECTION_MINIMUM_DETAIL_LEVEL); }
@Override
public byte getDataFormatVersion() { return DATA_FORMAT_VERSION; }
public EDhApiWorldGenerationStep getWorldGenStepAtRelativePos(int relX, int relZ)
{
int index = relativePosToIndex(relX, relZ);
@@ -53,11 +53,6 @@ public class ColumnRenderSource implements IDataSource<IDhClientLevel>
public static final byte SECTION_SIZE_OFFSET = DhSectionPos.SECTION_MINIMUM_DETAIL_LEVEL;
public static final int SECTION_SIZE = BitShiftUtil.powerOfTwo(SECTION_SIZE_OFFSET);
@Deprecated
public static final byte DATA_FORMAT_VERSION = 1;
@Override
public byte getDataFormatVersion() { return DATA_FORMAT_VERSION; }
public static final DataSourcePool<ColumnRenderSource, IDhClientLevel> DATA_SOURCE_POOL = new DataSourcePool<>(ColumnRenderSource::createEmptyRenderSource, null /* data source prep/cleanup needs to be done outside the pool since it requires additional inputs */);
@@ -34,7 +34,4 @@ public interface IDataSource<TDhLevel extends IDhLevel> extends IBaseDTO<DhSecti
*/
byte getDataDetailLevel();
/** Defines how the binary data is formatted. */
byte getDataFormatVersion();
}