Uses of Class
net.minecraft.client.Camera
Package
Description
Events fired only on the client-side, chiefly related to rendering and user interfaces (screens and input).
Extension interfaces for
client
-only classes.-
Uses of Camera in net.minecraft.client.particle
Modifier and TypeMethodDescriptionvoid
DustColorTransitionParticle.render
(VertexConsumer p_172063_, Camera p_172064_, float p_172065_) void
FireworkParticles.OverlayParticle.render
(VertexConsumer p_106688_, Camera p_106689_, float p_106690_) void
FireworkParticles.SparkParticle.render
(VertexConsumer p_106724_, Camera p_106725_, float p_106726_) void
ItemPickupParticle.render
(VertexConsumer p_107039_, Camera p_107040_, float p_107041_) void
MobAppearanceParticle.render
(VertexConsumer p_107125_, Camera p_107126_, float p_107127_) final void
NoRenderParticle.render
(VertexConsumer p_107162_, Camera p_107163_, float p_107164_) abstract void
Particle.render
(VertexConsumer p_107261_, Camera p_107262_, float p_107263_) void
ParticleEngine.render
(PoseStack p_107337_, MultiBufferSource.BufferSource p_107338_, LightTexture p_107339_, Camera p_107340_, float p_107341_) Deprecated.void
ParticleEngine.render
(PoseStack p_107337_, MultiBufferSource.BufferSource p_107338_, LightTexture p_107339_, Camera p_107340_, float p_107341_, Frustum clippingHelper) void
ShriekParticle.render
(VertexConsumer p_233985_, Camera p_233986_, float p_233987_) void
SingleQuadParticle.render
(VertexConsumer p_107678_, Camera p_107679_, float p_107680_) void
VibrationSignalParticle.render
(VertexConsumer p_172475_, Camera p_172476_, float p_172477_) private void
ShriekParticle.renderRotatedParticle
(VertexConsumer p_233989_, Camera p_233990_, float p_233991_, Consumer<org.joml.Quaternionf> p_233992_) private void
VibrationSignalParticle.renderSignal
(VertexConsumer p_172479_, Camera p_172480_, float p_172481_, Consumer<org.joml.Quaternionf> p_172482_) -
Uses of Camera in net.minecraft.client.renderer
Modifier and TypeMethodDescriptionprivate void
LevelRenderer.compileSections
(Camera p_194371_) private boolean
LevelRenderer.doesMobEffectBlockSky
(Camera p_234311_) private double
private void
SectionOcclusionGraph.initializeQueueForFullUpdate
(Camera p_295148_, Queue<SectionOcclusionGraph.Node> p_294801_) private void
LevelRenderer.renderDebug
(PoseStack p_271014_, MultiBufferSource p_270107_, Camera p_270483_) private void
GameRenderer.renderItemInHand
(PoseStack p_109121_, Camera p_109122_, float p_109123_) void
LevelRenderer.renderLevel
(PoseStack p_109600_, float p_109601_, long p_109602_, boolean p_109603_, Camera p_109604_, GameRenderer p_109605_, LightTexture p_109606_, org.joml.Matrix4f p_254120_) void
LevelRenderer.renderSky
(PoseStack p_202424_, org.joml.Matrix4f p_254034_, float p_202426_, Camera p_202427_, boolean p_202428_, Runnable p_202429_) private void
LevelRenderer.renderWorldBorder
(Camera p_173013_) private void
SectionOcclusionGraph.scheduleFullUpdate
(boolean p_294514_, Camera p_295663_, Vec3 p_295096_) static void
FogRenderer.setupColor
(Camera p_109019_, float p_109020_, ClientLevel p_109021_, int p_109022_, float p_109023_) static void
FogRenderer.setupFog
(Camera p_234173_, FogRenderer.FogMode p_234174_, float p_234175_, boolean p_234176_, float p_234177_) private void
LevelRenderer.setupRender
(Camera p_194339_, Frustum p_194340_, boolean p_194341_, boolean p_194342_) void
void
SectionOcclusionGraph.update
(boolean p_294298_, Camera p_294529_, Frustum p_294426_, List<SectionRenderDispatcher.RenderSection> p_295280_) -
Uses of Camera in net.minecraft.client.renderer.blockentity
-
Uses of Camera in net.minecraft.client.renderer.debug
-
Uses of Camera in net.minecraft.client.renderer.entity
Modifier and TypeMethodDescriptionprivate static float
DisplayRenderer.cameraXRot
(Camera p_295299_) private static float
DisplayRenderer.cameraYrot
(Camera p_295988_) void
-
Uses of Camera in net.minecraft.client.sounds
Modifier and TypeMethodDescriptionvoid
SoundEngine.updateSource
(Camera p_120271_) void
SoundManager.updateSource
(Camera p_120362_) -
Uses of Camera in net.neoforged.neoforge.client
Modifier and TypeMethodDescriptionstatic void
ClientHooks.dispatchRenderStage
(RenderType renderType, LevelRenderer levelRenderer, PoseStack poseStack, org.joml.Matrix4f projectionMatrix, int renderTick, Camera camera, Frustum frustum) static void
ClientHooks.dispatchRenderStage
(RenderLevelStageEvent.Stage stage, LevelRenderer levelRenderer, PoseStack poseStack, org.joml.Matrix4f projectionMatrix, int renderTick, Camera camera, Frustum frustum) static double
ClientHooks.getFieldOfView
(GameRenderer renderer, Camera camera, double partialTick, double fov, boolean usedConfiguredFov) static org.joml.Vector3f
ClientHooks.getFogColor
(Camera camera, float partialTick, ClientLevel level, int renderDistance, float darkenWorldAmount, float fogRed, float fogGreen, float fogBlue) ClientHooks.onCameraSetup
(GameRenderer renderer, Camera camera, float partial) static boolean
ClientHooks.onDrawHighlight
(LevelRenderer context, Camera camera, HitResult target, float partialTick, PoseStack poseStack, MultiBufferSource bufferSource) static void
ClientHooks.onFogRender
(FogRenderer.FogMode mode, FogType type, Camera camera, float partialTick, float renderDistance, float nearDistance, float farDistance, FogShape shape) -
Uses of Camera in net.neoforged.neoforge.client.event
Modifier and TypeFieldDescriptionprivate final Camera
RenderHighlightEvent.camera
private final Camera
RenderLevelStageEvent.camera
private final Camera
ViewportEvent.camera
Modifier and TypeMethodDescriptionRenderHighlightEvent.getCamera()
Returns the camera information.RenderLevelStageEvent.getCamera()
Returns the camera.ViewportEvent.getCamera()
Returns the camera information.ModifierConstructorDescriptionBlock
(LevelRenderer levelRenderer, Camera camera, BlockHitResult target, float partialTick, PoseStack poseStack, MultiBufferSource bufferSource) ComputeCameraAngles
(GameRenderer renderer, Camera camera, double renderPartialTicks, float yaw, float pitch, float roll) ComputeFogColor
(Camera camera, float partialTicks, float red, float green, float blue) ComputeFov
(GameRenderer renderer, Camera camera, double renderPartialTicks, double fov, boolean usedConfiguredFov) Entity
(LevelRenderer levelRenderer, Camera camera, EntityHitResult target, float partialTick, PoseStack poseStack, MultiBufferSource bufferSource) RenderFog
(FogRenderer.FogMode mode, FogType type, Camera camera, float partialTicks, float nearPlaneDistance, float farPlaneDistance, FogShape fogShape) protected
RenderHighlightEvent
(LevelRenderer levelRenderer, Camera camera, HitResult target, float partialTick, PoseStack poseStack, MultiBufferSource multiBufferSource) RenderLevelStageEvent
(RenderLevelStageEvent.Stage stage, LevelRenderer levelRenderer, PoseStack poseStack, org.joml.Matrix4f projectionMatrix, int renderTick, float partialTick, Camera camera, Frustum frustum) ViewportEvent
(GameRenderer renderer, Camera camera, double partialTick) -
Uses of Camera in net.neoforged.neoforge.client.extensions
Modifier and TypeMethodDescriptiondefault boolean
IDimensionSpecialEffectsExtension.renderSky
(ClientLevel level, int ticks, float partialTick, PoseStack poseStack, Camera camera, org.joml.Matrix4f projectionMatrix, boolean isFoggy, Runnable setupFog) Renders the sky of this dimension.default boolean
IDimensionSpecialEffectsExtension.tickRain
(ClientLevel level, int ticks, Camera camera) Ticks the rain of this dimension. -
Uses of Camera in net.neoforged.neoforge.client.extensions.common
Modifier and TypeMethodDescriptiondefault @NotNull org.joml.Vector3f
IClientFluidTypeExtensions.modifyFogColor
(Camera camera, float partialTick, ClientLevel level, int renderDistance, float darkenWorldAmount, org.joml.Vector3f fluidFogColor) Modifies the color of the fog when the camera is within the fluid.default void
IClientFluidTypeExtensions.modifyFogRender
(Camera camera, FogRenderer.FogMode mode, float renderDistance, float partialTick, float nearDistance, float farDistance, FogShape shape) Modifies how the fog is currently being rendered when the camera is within a fluid.
ParticleEngine.render(PoseStack, MultiBufferSource.BufferSource, LightTexture, Camera, float, net.minecraft.client.renderer.culling.Frustum)
with Frustum as additional parameter