WagonTool

Undocumented in source.

Constructors

this
this(ClientWorld clientWorld, BlockEntityManager blockEntityManager, NetClientPlugin connection, WorldInteractionPlugin worldInteraction, GraphicsPlugin graphics)
Undocumented in source.

Members

Functions

findWagonPlacement
vec3[2] findWagonPlacement()
Undocumented in source. Be warned that the author may not have intended to support it.
onRender
void onRender(GraphicsPlugin renderer)
Undocumented in source. Be warned that the author may not have intended to support it.
onRotateAction
void onRotateAction()
Undocumented in source. Be warned that the author may not have intended to support it.
onSecondaryActionRelease
void onSecondaryActionRelease()
Undocumented in source. Be warned that the author may not have intended to support it.
onUpdate
void onUpdate()
Undocumented in source. Be warned that the author may not have intended to support it.
point_time_on_line_segment
float point_time_on_line_segment(vec3 a, vec3 b, vec3 p)
Undocumented in source. Be warned that the author may not have intended to support it.
project_point_to_line_segment
vec3 project_point_to_line_segment(vec3 a, vec3 b, vec3 p)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

blockEntityManager
BlockEntityManager blockEntityManager;
Undocumented in source.
clientWorld
ClientWorld clientWorld;
Undocumented in source.
connection
NetClientPlugin connection;
Undocumented in source.
data
RailData data;
Undocumented in source.
graphics
GraphicsPlugin graphics;
Undocumented in source.
placeAllowed
bool placeAllowed;
Undocumented in source.
pointOffset
vec3 pointOffset;
Undocumented in source.
pointSize
vec3 pointSize;
Undocumented in source.
preciseHitPos
vec3 preciseHitPos;
Undocumented in source.
railPos
RailPos railPos;
Undocumented in source.
wagonAxisDistance
float wagonAxisDistance;
Undocumented in source.
wagonRotation
float wagonRotation;
Undocumented in source.
worldInteraction
WorldInteractionPlugin worldInteraction;
Undocumented in source.

Inherited Members

From ITool

name
string name;
Undocumented in source.
id
size_t id;
Undocumented in source.
onUpdate
void onUpdate()
Undocumented in source. Be warned that the author may not have intended to support it.
onRender
void onRender(GraphicsPlugin renderer)
Undocumented in source. Be warned that the author may not have intended to support it.
onShowDebug
void onShowDebug()
Undocumented in source. Be warned that the author may not have intended to support it.
onMainActionPress
void onMainActionPress()
Undocumented in source. Be warned that the author may not have intended to support it.
onMainActionRelease
void onMainActionRelease()
Undocumented in source. Be warned that the author may not have intended to support it.
onSecondaryActionPress
void onSecondaryActionPress()
Undocumented in source. Be warned that the author may not have intended to support it.
onSecondaryActionRelease
void onSecondaryActionRelease()
Undocumented in source. Be warned that the author may not have intended to support it.
onTertiaryActionPress
void onTertiaryActionPress()
Undocumented in source. Be warned that the author may not have intended to support it.
onTertiaryActionRelease
void onTertiaryActionRelease()
Undocumented in source. Be warned that the author may not have intended to support it.
onRotateAction
void onRotateAction()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta