WorldRenderContextImpl

public final class WorldRenderContextImpl implements WorldRenderContext.BlockOutlineContext, WorldRenderContext

Functions

advancedTranslucency
Link copied to clipboard
boolean advancedTranslucency()
Test to know if "fabulous" graphics mode is enabled.
blockOutlines
Link copied to clipboard
boolean blockOutlines()
blockPos
Link copied to clipboard
BlockPos blockPos()
blockState
Link copied to clipboard
BlockState blockState()
camera
Link copied to clipboard
Camera camera()
cameraX
Link copied to clipboard
double cameraX()
cameraY
Link copied to clipboard
double cameraY()
cameraZ
Link copied to clipboard
double cameraZ()
consumers
Link copied to clipboard
VertexConsumerProvider consumers()
The {@code VertexConsumerProvider} instance being used by the world renderer for most non-terrain renders.Generally this will be better for most use cases because quads for the same layer can be bufferedincrementally and then drawn all at once by the world renderer.
entity
Link copied to clipboard
Entity entity()
frustum
Link copied to clipboard
Frustum frustum()
View frustum, after it is initialized.
gameRenderer
Link copied to clipboard
GameRenderer gameRenderer()
lightmapTextureManager
Link copied to clipboard
LightmapTextureManager lightmapTextureManager()
limitTime
Link copied to clipboard
long limitTime()
matrixStack
Link copied to clipboard
MatrixStack matrixStack()
prepare
Link copied to clipboard
void prepare(WorldRenderer worldRenderer, MatrixStack matrixStack, float tickDelta, long limitTime, boolean blockOutlines, Camera camera, GameRenderer gameRenderer, LightmapTextureManager lightmapTextureManager, Matrix4f projectionMatrix, VertexConsumerProvider consumers, Profiler profiler, boolean advancedTranslucency, ClientWorld world)
prepareBlockOutline
Link copied to clipboard
void prepareBlockOutline(Entity entity, double cameraX, double cameraY, double cameraZ, BlockPos blockPos, BlockState blockState)
profiler
Link copied to clipboard
Profiler profiler()
Convenient access to game performance profiler.
projectionMatrix
Link copied to clipboard
Matrix4f projectionMatrix()
setFrustum
Link copied to clipboard
void setFrustum(Frustum frustum)
tickDelta
Link copied to clipboard
float tickDelta()
vertexConsumer
Link copied to clipboard
VertexConsumer vertexConsumer()
Use consumers directly.
world
Link copied to clipboard
ClientWorld world()
Convenient access to {WorldRenderer.world}.
worldRenderer
Link copied to clipboard
WorldRenderer worldRenderer()
The world renderer instance doing the rendering and invoking the event.

Properties

frustum
Link copied to clipboard
private Frustum frustum
renderBlockOutline
Link copied to clipboard
public boolean renderBlockOutline

Sources

jvm source
Link copied to clipboard