public interface IAdvDebugTarget
sendDebugState()
will be called on
the server, to allow the client to render all of the details normally hidden on the server.Modifier and Type | Method and Description |
---|---|
void |
disableDebugging()
Called when the current debug target changes from this to something else (or to nothing).
|
boolean |
doesExistInWorld()
Called every tick on the server to see if this still exists in the world.
|
DetachedRenderer.IDetachedRenderer |
getDebugRenderer()
Called on the client to actually render off the target.
|
void |
sendDebugState()
Called every tick on the server to send all the debug information to the client.
|
void disableDebugging()
boolean doesExistInWorld()
disableDebugging()
will be called, and the current debug target will be removed.void sendDebugState()
DetachedRenderer.IDetachedRenderer getDebugRenderer()
doesExistInWorld()
returns true.