ClientWorld

Undocumented in source.
final
class ClientWorld : IPlugin {}

Members

Functions

calcClampedBox
WorldBox calcClampedBox(ChunkWorldPos cwp, int boxRadius)
Undocumented in source. Be warned that the author may not have intended to support it.
currentDimension
DimensionId currentDimension()
Undocumented in source. Be warned that the author may not have intended to support it.
currentDimensionBorders
Box currentDimensionBorders()
Undocumented in source. Be warned that the author may not have intended to support it.
decDimension
void decDimension()
Undocumented in source. Be warned that the author may not have intended to support it.
decViewRadius
void decViewRadius()
Undocumented in source. Be warned that the author may not have intended to support it.
drawSolid
void drawSolid(RenderSolid3dEvent event)
Undocumented in source. Be warned that the author may not have intended to support it.
getViewRadius
int getViewRadius()
Undocumented in source. Be warned that the author may not have intended to support it.
incDimension
void incDimension()
Undocumented in source. Be warned that the author may not have intended to support it.
incViewRadius
void incViewRadius()
Undocumented in source. Be warned that the author may not have intended to support it.
init
void init(IPluginManager pluginman)
Undocumented in source. Be warned that the author may not have intended to support it.
isBlockSolid
bool isBlockSolid(ivec3 blockWorldPos)
Undocumented in source. Be warned that the author may not have intended to support it.
onBlockBoxChanged
void onBlockBoxChanged(WorldBox blockBox)
Undocumented in source. Be warned that the author may not have intended to support it.
onChunkLoaded
void onChunkLoaded(ChunkWorldPos cwp, ChunkLayerItem[] layers)
Undocumented in source. Be warned that the author may not have intended to support it.
onDecViewRadius
void onDecViewRadius(string )
Undocumented in source. Be warned that the author may not have intended to support it.
onIncViewRadius
void onIncViewRadius(string )
Undocumented in source. Be warned that the author may not have intended to support it.
onToggleCulling
void onToggleCulling(string )
Undocumented in source. Be warned that the author may not have intended to support it.
onToggleWireframe
void onToggleWireframe(string )
Undocumented in source. Be warned that the author may not have intended to support it.
postInit
void postInit()
Undocumented in source. Be warned that the author may not have intended to support it.
preInit
void preInit()
Undocumented in source. Be warned that the author may not have intended to support it.
registerResourceManagers
void registerResourceManagers(void delegate(IResourceManager) registerHandler)
Undocumented in source. Be warned that the author may not have intended to support it.
registerResources
void registerResources(IResourceManagerRegistry resmanRegistry)
Undocumented in source. Be warned that the author may not have intended to support it.
sendPosition
void sendPosition(double dt)
Undocumented in source. Be warned that the author may not have intended to support it.
setCurrentDimension
void setCurrentDimension(DimensionId dimension, ubyte positionKey)
Undocumented in source. Be warned that the author may not have intended to support it.
setDimensionBorders
void setDimensionBorders(DimensionId dim, Box borders)
Undocumented in source. Be warned that the author may not have intended to support it.
setViewRadius
void setViewRadius(int newViewRadius)
Undocumented in source. Be warned that the author may not have intended to support it.
updateObserverPosition
void updateObserverPosition()
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

sendPositionInterval
enum sendPositionInterval;
Undocumented in source.

Mixins

__anonymous
mixin IdAndSemverFrom!"voxelman.world.plugininfo"
Undocumented in source.

Variables

blockAtlasTexture
Texture blockAtlasTexture;
Undocumented in source.
chunkEditor
ChunkEditor chunkEditor;
Undocumented in source.
chunkManager
ChunkManager chunkManager;
Undocumented in source.
chunkMeshMan
ChunkMeshMan chunkMeshMan;
Undocumented in source.
chunkObserverManager
ChunkObserverManager chunkObserverManager;
Undocumented in source.
chunkShader
ChunkShader chunkShader;
Undocumented in source.
chunksToRemesh
HashSet!ChunkWorldPos chunksToRemesh;
Undocumented in source.
currentTimestamp
TimestampType currentTimestamp;
Undocumented in source.
dbg_lastFrameLoadedChunks
size_t dbg_lastFrameLoadedChunks;
Undocumented in source.
dbg_meshesRenderedSemitransparent
size_t dbg_meshesRenderedSemitransparent;
Undocumented in source.
dbg_meshesRenderedSolid
size_t dbg_meshesRenderedSolid;
Undocumented in source.
dbg_totalLoadedChunks
size_t dbg_totalLoadedChunks;
Undocumented in source.
dbg_trisRendered
size_t dbg_trisRendered;
Undocumented in source.
dbg_vertsRendered
size_t dbg_vertsRendered;
Undocumented in source.
dimMan
DimensionManager dimMan;
Undocumented in source.
doUpdateObserverPosition
bool doUpdateObserverPosition;
Undocumented in source.
entityAccess
BlockEntityAccess entityAccess;
Undocumented in source.
idMapManager
IdMapManagerClient idMapManager;
Undocumented in source.
isCullingEnabled
bool isCullingEnabled;
Undocumented in source.
observerPosition
ChunkWorldPos observerPosition;
Undocumented in source.
observerSessionId
SessionId observerSessionId;
Undocumented in source.
positionKey
ubyte positionKey;
Undocumented in source.
prevChunkPos
ChunkWorldPos prevChunkPos;
Undocumented in source.
sendPositionTimer
double sendPositionTimer;
Undocumented in source.
serverStrings
StringMap serverStrings;
Undocumented in source.
updatedCameraPos
vec3 updatedCameraPos;
Undocumented in source.
viewRadius
int viewRadius;
Undocumented in source.
viewRadiusOpt
ConfigOption viewRadiusOpt;
Undocumented in source.
wireframeMode
bool wireframeMode;
Undocumented in source.
worldAccess
WorldAccess worldAccess;
Undocumented in source.

Meta