net.minecraft.client.renderer

public class GameRenderer

implements AutoCloseable

glq
net.minecraft.client.renderer.GameRenderer
net.minecraft.class_757
net.minecraft.client.render.GameRenderer

Field summary

Modifier and TypeField
private static final ResourceLocation
e
BLUR_POST_CHAIN_ID
field_53899
field_53899
public static final int
a
MAX_BLUR_RADIUS
field_49904
field_49904
private static final org.slf4j.Logger
f
LOGGER
field_3993
LOGGER
private static final boolean
g
DEPTH_BUFFER_DEBUG
field_32688
field_32688
public static final float
b
PROJECTION_Z_NEAR
field_32686
CAMERA_DEPTH
private static final float
h
GUI_Z_NEAR
field_44940
field_44940
private final Minecraft
i
minecraft
field_4015
client
private final ResourceManager
j
resourceManager
field_4018
resourceManager
private final RandomSource
k
random
field_3994
random
private float
l
renderDistance
field_4025
viewDistance
public final ItemInHandRenderer
c
itemInHandRenderer
field_4012
firstPersonRenderer
private final RenderBuffers
m
renderBuffers
field_20948
buffers
private int
n
confusionAnimationTick
field_47130
ticks
private float
o
fovModifier
field_4019
fovMultiplier
private float
p
oldFovModifier
field_3999
lastFovMultiplier
private float
q
darkenWorldAmount
field_4002
skyDarkness
private float
r
darkenWorldAmountO
field_3997
lastSkyDarkness
private boolean
s
renderHand
field_3992
renderHand
private boolean
t
renderBlockOutline
field_4009
blockOutlineEnabled
private long
u
lastScreenshotAttempt
field_4017
lastWorldIconUpdate
private boolean
v
hasWorldScreenshot
field_34055
hasWorldIcon
private long
w
lastActiveTime
field_3998
lastWindowFocusedTime
private final LightTexture
x
lightTexture
field_4028
lightmapTextureManager
private final OverlayTexture
y
overlayTexture
field_20949
overlayTexture
private boolean
z
panoramicMode
field_4001
renderingPanorama
private float
A
zoom
field_4005
zoom
private float
B
zoomX
field_3988
zoomX
private float
C
zoomY
field_4004
zoomY
public static final int
d
ITEM_ACTIVATION_ANIMATION_LENGTH
field_32687
field_32687
private ItemStack
D
itemActivationItem
field_4006
floatingItem
private int
E
itemActivationTicks
field_4007
floatingItemTimeLeft
private float
F
itemActivationOffX
field_4029
floatingItemWidth
private float
G
itemActivationOffY
field_4003
floatingItemHeight
private final CrossFrameResourcePool
H
resourcePool
field_53066
pool
private ResourceLocation
I
postEffectId
field_53898
postProcessorId
private boolean
J
effectActive
field_4013
postProcessorEnabled
private final Camera
K
mainCamera
field_18765
camera

Constructor summary

ModifierConstructor
public (Minecraft client, ItemInHandRenderer heldItemRenderer, ResourceManager resourceManager, RenderBuffers buffers)

Method summary

Modifier and TypeMethod
public void
close()
close()
public void
a(boolean arg0)
setRenderHand(boolean arg0)
method_35768(boolean arg0)
setRenderHand(boolean renderHand)
public void
b(boolean arg0)
setRenderBlockOutline(boolean arg0)
method_35769(boolean arg0)
setBlockOutlineEnabled(boolean blockOutlineEnabled)
public void
c(boolean arg0)
setPanoramicMode(boolean arg0)
method_35770(boolean arg0)
setRenderingPanorama(boolean renderingPanorama)
public boolean
a()
isPanoramicMode()
method_35765()
isRenderingPanorama()
public void
b()
clearPostEffect()
method_62905()
clearPostProcessor()
public void
c()
togglePostEffect()
method_3184()
togglePostProcessorEnabled()
public void
a(bum arg0)
checkEntityPostEffect(Entity arg0)
method_3167(class_1297 arg0)
onCameraEntitySet(Entity entity)
private void
a(akv arg0)
setPostEffect(ResourceLocation arg0)
method_62904(class_2960 arg0)
setPostProcessor(Identifier id)
public void
d()
processBlurEffect()
method_57796()
renderBlur()
public void
a(aus arg0)
preloadUiShader(ResourceProvider arg0)
method_34521(class_5912 arg0)
preloadPrograms(ResourceFactory factory)
public void
e()
tick()
method_3182()
tick()
public ResourceLocation
f()
currentPostEffect()
method_62906()
getPostProcessorId()
public void
a(int arg0, int arg1)
resize(int arg0, int arg1)
method_3169(int arg0, int arg1)
onResized(int width, int height)
public void
a(float arg0)
pick(float arg0)
method_3190(float arg0)
updateCrosshairTarget(float tickDelta)
private HitResult
a(bum arg0, double arg1, double arg2, float arg3)
pick(Entity arg0, double arg1, double arg2, float arg3)
method_56153(class_1297 arg0, double arg1, double arg2, float arg3)
findCrosshairTarget(Entity camera, double blockInteractionRange, double entityInteractionRange, float tickDelta)
private static HitResult
a(faz arg0, fbb arg1, double arg2)
filterHitResult(HitResult arg0, Vec3 arg1, double arg2)
method_56154(class_239 arg0, class_243 arg1, double arg2)
ensureTargetInRange(HitResult hitResult, Vec3d cameraPos, double interactionRange)
private void
n()
tickFov()
method_3199()
updateFovMultiplier()
private float
a(fks arg0, float arg1, boolean arg2)
getFov(Camera arg0, float arg1, boolean arg2)
method_3196(class_4184 arg0, float arg1, boolean arg2)
getFov(Camera arg0, float tickDelta, boolean changingFov)
private void
a(ffv arg0, float arg1)
bobHurt(PoseStack arg0, float arg1)
method_3198(class_4587 arg0, float arg1)
tiltViewWhenHurt(MatrixStack matrices, float tickDelta)
private void
b(ffv arg0, float arg1)
bobView(PoseStack arg0, float arg1)
method_3186(class_4587 arg0, float arg1)
bobView(MatrixStack matrices, float tickDelta)
public void
a(float arg0, float arg1, float arg2)
renderZoomed(float arg0, float arg1, float arg2)
method_35766(float arg0, float arg1, float arg2)
renderWithZoom(float zoom, float zoomX, float zoomY)
private void
a(fks arg0, float arg1, org.joml.Matrix4f arg2)
renderItemInHand(Camera arg0, float arg1, org.joml.Matrix4f arg2)
method_3172(class_4184 arg0, float arg1, org.joml.Matrix4f arg2)
renderHand(Camera camera, float tickDelta, org.joml.Matrix4f arg2)
public org.joml.Matrix4f
b(float arg0)
getProjectionMatrix(float arg0)
method_22973(float arg0)
getBasicProjectionMatrix(float fovDegrees)
public float
g()
getDepthFar()
method_32796()
getFarPlaneDistance()
public static float
a(bvi arg0, float arg1)
getNightVisionScale(LivingEntity arg0, float arg1)
method_3174(class_1309 arg0, float arg1)
getNightVisionStrength(LivingEntity entity, float tickDelta)
public void
a(fla arg0, boolean arg1)
render(DeltaTracker arg0, boolean arg1)
method_3192(class_9779 arg0, boolean arg1)
render(RenderTickCounter tickCounter, boolean tick)
private void
o()
tryTakeScreenshotIfNeeded()
method_37473()
updateWorldIcon()
private void
a(Path arg0)
takeAutoScreenshot(Path arg0)
method_3176(Path arg0)
updateWorldIcon(Path path)
private boolean
p()
shouldRenderBlockOutline()
method_3202()
shouldRenderBlockOutline()
public void
a(fla arg0)
renderLevel(DeltaTracker arg0)
method_3188(class_9779 arg0)
renderWorld(RenderTickCounter renderTickCounter)
public void
h()
resetData()
method_3203()
reset()
public void
a(cwq arg0)
displayItemActivation(ItemStack arg0)
method_3189(class_1799 arg0)
showFloatingItem(ItemStack floatingItem)
private void
a(fof arg0, float arg1)
renderItemActivationAnimation(GuiGraphics arg0, float arg1)
method_3171(class_332 arg0, float arg1)
renderFloatingItem(DrawContext context, float tickDelta)
public Minecraft
i()
getMinecraft()
method_35772()
getClient()
public float
c(float arg0)
getDarkenWorldAmount(float arg0)
method_3195(float arg0)
getSkyDarkness(float tickDelta)
public float
j()
getRenderDistance()
method_3193()
getViewDistance()
public Camera
k()
getMainCamera()
method_19418()
getCamera()
public LightTexture
l()
lightTexture()
method_22974()
getLightmapTextureManager()
public OverlayTexture
m()
overlayTexture()
method_22975()
getOverlayTexture()