Package com.ldtteam.structurize.event
Class WorldRenderContext
java.lang.Object
com.ldtteam.structurize.util.WorldRenderMacros
com.ldtteam.structurize.event.WorldRenderContext
For rendering into world.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.ldtteam.structurize.util.WorldRenderMacros
WorldRenderMacros.RenderTypes -
Field Summary
Fields inherited from class com.ldtteam.structurize.util.WorldRenderMacros
bufferSource, cameraPosition, clientLevel, clientPlayer, clientRenderDist, COLORED_TRIANGLES, COLORED_TRIANGLES_NC_ND, DEFAULT_LINE_WIDTH, deltaTracker, event, GLINT_LINES, GLINT_LINES_WITH_WIDTH, LINES, LINES_WITH_WIDTH, LINES_WITH_WIDTH_DEPTH_INVERT, mainHandItem, MAX_DEBUG_TEXT_RENDER_DIST_SQUARED, mc, poseStack, STAGE_FOR_LINES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidrenderWithinContext(net.neoforged.neoforge.client.event.RenderLevelStageEvent.Stage stage) This is called with properly prepared context.Methods inherited from class com.ldtteam.structurize.util.WorldRenderMacros
isVisible, isVisible, isVisible, popPose, popShaderMvMatrix, populateCuboid, populateRectangle, populateRenderLineBox, pushPoseCameraToPos, pushShaderMvMatrixFromPose, renderBlackLineBox, renderBlueprint, renderBlueprint, renderBox, renderBox, renderDebugText, renderDebugText, renderFillRectangle, renderLineAABB, renderLineAABB, renderLineBox, renderLineBox, renderLineBox, renderLineBox, renderRedGlintLineBox, renderWhiteLineBox, renderWorldLastEvent
-
Constructor Details
-
WorldRenderContext
public WorldRenderContext()
-
-
Method Details
-
renderWithinContext
protected void renderWithinContext(net.neoforged.neoforge.client.event.RenderLevelStageEvent.Stage stage) Description copied from class:WorldRenderMacrosThis is called with properly prepared context. Do here what you want- Specified by:
renderWithinContextin classWorldRenderMacros- Parameters:
stage- render world stage
-