Class CitizenRenderData
java.lang.Object
com.minecolonies.core.client.render.worldevent.highlightmanager.CitizenRenderData
- All Implemented Interfaces:
IHighlightRenderData
Highlight render data for marking a citizen.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable DurationGet the duration of the highlight.voidrender(WorldEventContext context) Indicate the render data it should continue rendering.voidstartRender(WorldEventContext context) Indicate the render data it should start rendering.voidstopRender(WorldEventContext context) Indicate the render data it should stop rendering.
-
Constructor Details
-
CitizenRenderData
Default constructor.
-
-
Method Details
-
startRender
Description copied from interface:IHighlightRenderDataIndicate the render data it should start rendering.- Specified by:
startRenderin interfaceIHighlightRenderData
-
render
Description copied from interface:IHighlightRenderDataIndicate the render data it should continue rendering.- Specified by:
renderin interfaceIHighlightRenderData
-
stopRender
Description copied from interface:IHighlightRenderDataIndicate the render data it should stop rendering.- Specified by:
stopRenderin interfaceIHighlightRenderData
-
getDuration
Description copied from interface:IHighlightRenderDataGet the duration of the highlight.- Specified by:
getDurationin interfaceIHighlightRenderData- Returns:
- a duration instance, or null for an infinite highlight (should be manually cancelled).
-