update several comments
This commit is contained in:
@@ -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
|
||||
|
||||
+9
@@ -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;
|
||||
|
||||
}
|
||||
|
||||
+8
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user