YATS/Forge Documentation
|
Public Member Functions | |
void | RenderCapsule (TileTube tube, ICapsule capsule, double x, double y, double z) |
ICapsuleRenderer is an API for capsule renderers, in case there was any doubt. Different ICapsule implementations render differently, ergo the need for a distinct renderer API.
void YATS.api.ICapsuleRenderer.RenderCapsule | ( | TileTube | tube, |
ICapsule | capsule, | ||
double | x, | ||
double | y, | ||
double | z | ||
) |
This method, when overridden, provides the protocol for rendering capsules.
tube | A TileEntity (a TileTube) that locates the capsule. |
capsule | A capsule, implementing ICapsule, that is to be rendered. |
x | A double indicating the x coordinate of the capsule. |
y | A double indicating the y coordinate of the capsule. |
z | A double indicating the z coordinate of the capsule. |
Implemented in YATS.render.ItemCapsuleRenderer.