update several comments

This commit is contained in:
James Seibel
2023-12-19 07:18:23 -06:00
parent 1d88d12632
commit 8dbeb16f33
6 changed files with 21 additions and 13 deletions
@@ -46,7 +46,7 @@ import com.seibel.distanthorizons.coreapi.interfaces.dependencyInjection.IOverri
* the concrete object we replaced, there would be issues.
*
* @author James Seibel
* @version 2023-8-26
* @version 2023-12-16
* @since API 1.0.0
*/
public class DhApi
@@ -77,4 +77,13 @@ public interface IDhApiWrapperFactory
*/
IDhApiBlockStateWrapper getAirBlockStateWrapper();
///**
// * Specifically designed to be used with the API.
// *
// * @throws ClassCastException with instructions on expected objects if the object couldn't be cast
// */
//IChunkWrapper createChunkWrapper(Object[] objectArray) throws ClassCastException;
}
@@ -43,6 +43,10 @@ public class SingleColumnFullDataAccessor implements IFullDataAccessor
//=============//
// constructor //
//=============//
public SingleColumnFullDataAccessor(FullDataPointIdMap mapping, long[][] dataArrays, int dataArrayIndex)
{
this.dataArrays = dataArrays;
@@ -54,6 +58,10 @@ public class SingleColumnFullDataAccessor implements IFullDataAccessor
//=========//
// methods //
//=========//
/** @return true if any data exists in this column. */
public boolean doesColumnExist()
{
@@ -172,10 +172,7 @@ public class DhClientServerLevel extends DhLevel implements IDhClientLevel, IDhS
public boolean hasSkyLight() { return this.serverLevelWrapper.hasSkyLight(); }
@Override
public void saveWrites(ChunkSizedFullDataAccessor data)
{
clientside.writeChunkDataToFile(data);
}
public void saveWrites(ChunkSizedFullDataAccessor data) { this.clientside.writeChunkDataToFile(data); }
@Override
public int getMinY() { return getLevelWrapper().getMinHeight(); }
@@ -38,10 +38,7 @@ public abstract class DhLevel implements IDhLevel
@Override
public int getMinY()
{
return 0;
}
public int getMinY() { return 0; }
@Override
public void updateChunkAsync(IChunkWrapper chunk)
@@ -49,10 +49,7 @@ public class DhServerLevel extends DhLevel implements IDhServerLevel
LOGGER.info("Started DHLevel for {} with saves at {}", serverLevelWrapper, saveStructure);
}
public void serverTick()
{
chunkToLodBuilder.tick();
}
public void serverTick() { this.chunkToLodBuilder.tick(); }
@Override
public void saveWrites(ChunkSizedFullDataAccessor data)