Uses of Class
net.minecraft.client.Camera
Packages that use 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
Methods in net.minecraft.client.particle with parameters of type CameraModifier and TypeMethodDescriptionvoid
DustColorTransitionParticle.render
(VertexConsumer p_172063_, Camera p_172064_, float p_172065_) void
FireworkParticles.OverlayParticle.render
(VertexConsumer pBuffer, Camera pRenderInfo, float pPartialTicks) void
FireworkParticles.SparkParticle.render
(VertexConsumer pBuffer, Camera pRenderInfo, float pPartialTicks) void
FlyTowardsPositionParticle.render
(VertexConsumer p_324177_, Camera p_323683_, float p_323936_) void
ItemPickupParticle.render
(VertexConsumer pBuffer, Camera pRenderInfo, float pPartialTicks) void
MobAppearanceParticle.render
(VertexConsumer pBuffer, Camera pRenderInfo, float pPartialTicks) final void
NoRenderParticle.render
(VertexConsumer pBuffer, Camera pRenderInfo, float pPartialTicks) abstract void
Particle.render
(VertexConsumer pBuffer, Camera pCamera, float pPartialTick) void
ParticleEngine.render
(Camera pCamera, float pPartialTick, MultiBufferSource.BufferSource pBufferSource) Deprecated.void
ParticleEngine.render
(Camera pCamera, float pPartialTick, MultiBufferSource.BufferSource pBufferSource, Frustum frustum, Predicate<ParticleRenderType> renderTypePredicate) void
ShriekParticle.render
(VertexConsumer p_233985_, Camera p_233986_, float p_233987_) void
SingleQuadParticle.render
(VertexConsumer pBuffer, Camera pRenderInfo, float pPartialTicks) void
VibrationSignalParticle.render
(VertexConsumer p_172475_, Camera p_172476_, float p_172477_) void
ItemPickupParticle.renderCustom
(PoseStack p_383231_, MultiBufferSource p_382868_, Camera p_382930_, float p_382826_) void
MobAppearanceParticle.renderCustom
(PoseStack p_383017_, MultiBufferSource p_382805_, Camera p_383007_, float p_383153_) void
Particle.renderCustom
(PoseStack pPoseStack, MultiBufferSource pBufferSource, Camera pCamera, float pPartialTick) private static void
ParticleEngine.renderCustomParticles
(Camera pCamera, float pPartialTick, MultiBufferSource.BufferSource pBufferSource, Queue<Particle> pParticles) Deprecated.private static void
ParticleEngine.renderCustomParticles
(Camera pCamera, float pPartialTick, MultiBufferSource.BufferSource pBufferSource, Queue<Particle> pParticles, Frustum frustum) private static void
ParticleEngine.renderParticleType
(Camera pCamera, float pPartialTick, MultiBufferSource.BufferSource pBufferSource, ParticleRenderType pParticleType, Queue<Particle> pParticles) private static void
ParticleEngine.renderParticleType
(Camera pCamera, float pPartialTick, MultiBufferSource.BufferSource pBufferSource, ParticleRenderType pParticleType, Queue<Particle> pParticles, Frustum frustum) protected void
SingleQuadParticle.renderRotatedQuad
(VertexConsumer pBuffer, Camera pCamera, org.joml.Quaternionf pQuaternion, float pPartialTicks) void
SingleQuadParticle.FacingCameraMode.setRotation
(org.joml.Quaternionf pQuaternion, Camera pCamera, float pPartialTick) -
Uses of Camera in net.minecraft.client.renderer
Fields in net.minecraft.client.renderer declared as CameraMethods in net.minecraft.client.renderer that return CameraMethods in net.minecraft.client.renderer with parameters of type CameraModifier and TypeMethodDescriptionprivate void
LevelRenderer.addMainPass
(FrameGraphBuilder pFrameGraphBuilder, Frustum pFrustum, Camera pCamera, org.joml.Matrix4f pFrustumMatrix, org.joml.Matrix4f pProjectionMatrix, FogParameters pFogParameters, boolean pRenderBlockOutline, boolean pRenderEntityOutline, DeltaTracker pDeltaTracker, ProfilerFiller pProfiler) private void
LevelRenderer.addParticlesPass
(FrameGraphBuilder pFrameGraphBuilder, Camera pCamera, float pPartialTick, FogParameters pFog) Deprecated.private void
LevelRenderer.addParticlesPass
(FrameGraphBuilder pFrameGraphBuilder, Camera pCamera, float pPartialTick, FogParameters pFog, Frustum frustum, org.joml.Matrix4f modelViewMatrix, org.joml.Matrix4f projectionMatrix) private void
LevelRenderer.addSkyPass
(FrameGraphBuilder pFrameGraphBuilder, Camera pCamera, float pPartialTick, FogParameters pFog) Deprecated.private void
LevelRenderer.addSkyPass
(FrameGraphBuilder pFrameGraphBuilder, Camera pCamera, float pPartialTick, FogParameters pFog, org.joml.Matrix4f modelViewMatrix, org.joml.Matrix4f projectionMatrix) private void
LevelRenderer.addWeatherPass
(FrameGraphBuilder pFrameGraphBuilder, Vec3 pCameraPosition, float pPartialTick, FogParameters pFog, org.joml.Matrix4f modelViewMatrix, org.joml.Matrix4f projectionMatrix, Camera camera) private boolean
LevelRenderer.collectVisibleEntities
(Camera pCamera, Frustum pFrustum, List<Entity> pOutput) private void
LevelRenderer.compileSections
(Camera pCamera) static org.joml.Vector4f
FogRenderer.computeFogColor
(Camera pCamera, float pPartialTick, ClientLevel pLevel, int pRenderDistance, float pDarkenWorldAmount) private boolean
LevelRenderer.doesMobEffectBlockSky
(Camera pCamera) private float
private void
SectionOcclusionGraph.initializeQueueForFullUpdate
(Camera pCamera, Queue<SectionOcclusionGraph.Node> pNodeQueue) private void
LevelRenderer.renderBlockDestroyAnimation
(PoseStack pPoseStack, Camera pCamera, MultiBufferSource.BufferSource pBufferSource) private void
LevelRenderer.renderBlockEntities
(PoseStack pPoseStack, MultiBufferSource.BufferSource pBufferSource, MultiBufferSource.BufferSource pCrumblingBufferSource, Camera pCamera, float pPartialTick) private void
LevelRenderer.renderBlockOutline
(Camera pCamera, MultiBufferSource.BufferSource pBufferSource, PoseStack pPoseStack, boolean pSort) private void
LevelRenderer.renderEntities
(PoseStack pPoseStack, MultiBufferSource.BufferSource pBufferSource, Camera pCamera, DeltaTracker pDeltaTracker, List<Entity> pEntities) private void
GameRenderer.renderItemInHand
(Camera pCamera, float pPartialTick, org.joml.Matrix4f pProjectionMatrix) void
LevelRenderer.renderLevel
(GraphicsResourceAllocator pGraphicsResourceAllocator, DeltaTracker pDeltaTracker, boolean pRenderBlockOutline, Camera pCamera, GameRenderer pGameRenderer, org.joml.Matrix4f pFrustumMatrix, org.joml.Matrix4f pProjectionMatrix) private void
SectionOcclusionGraph.scheduleFullUpdate
(boolean pSmartCull, Camera pCamera, Vec3 pCameraPosition, it.unimi.dsi.fastutil.longs.LongOpenHashSet pLoadedEmptySections) static FogParameters
FogRenderer.setupFog
(Camera pCamera, FogRenderer.FogMode pFogMode, org.joml.Vector4f pFogColor, float pRenderDistance, boolean pIsFoggy, float pPartialTick) private void
LevelRenderer.setupRender
(Camera pCamera, Frustum pFrustum, boolean pHasCapturedFrustum, boolean pIsSpectator) void
LevelRenderer.tickParticles
(Camera pCamera) void
WeatherEffectRenderer.tickRainParticles
(ClientLevel pLevel, Camera pCamera, int pTicks, ParticleStatus pParticleStatus) void
SectionOcclusionGraph.update
(boolean pSmartCull, Camera pCamera, Frustum pFrustum, List<SectionRenderDispatcher.RenderSection> pVisibleSections, it.unimi.dsi.fastutil.longs.LongOpenHashSet pLoadedEmptySections) -
Uses of Camera in net.minecraft.client.renderer.blockentity
Fields in net.minecraft.client.renderer.blockentity declared as CameraMethods in net.minecraft.client.renderer.blockentity with parameters of type Camera -
Uses of Camera in net.minecraft.client.renderer.debug
Methods in net.minecraft.client.renderer.debug that return Camera -
Uses of Camera in net.minecraft.client.renderer.entity
Fields in net.minecraft.client.renderer.entity declared as CameraMethods in net.minecraft.client.renderer.entity with parameters of type CameraModifier and TypeMethodDescriptionprivate static float
DisplayRenderer.cameraXRot
(Camera pCamera) private static float
DisplayRenderer.cameraYrot
(Camera pCamera) void
-
Uses of Camera in net.minecraft.client.sounds
Methods in net.minecraft.client.sounds with parameters of type CameraModifier and TypeMethodDescriptionvoid
SoundEngine.updateSource
(Camera pRenderInfo) void
SoundManager.updateSource
(Camera pActiveRenderInfo) Updates the sound source position based on the active render info. -
Uses of Camera in net.neoforged.neoforge.client
Methods in net.neoforged.neoforge.client with parameters of type CameraModifier and TypeMethodDescriptionstatic void
ClientHooks.dispatchRenderStage
(RenderType renderType, Level level, LevelRenderer levelRenderer, org.joml.Matrix4f modelViewMatrix, org.joml.Matrix4f projectionMatrix, int renderTick, Camera camera, Frustum frustum) static void
ClientHooks.dispatchRenderStage
(RenderLevelStageEvent.Stage stage, Level level, LevelRenderer levelRenderer, @Nullable PoseStack poseStack, org.joml.Matrix4f modelViewMatrix, org.joml.Matrix4f projectionMatrix, int renderTick, Camera camera, Frustum frustum) static FrameGraphSetupEvent
ClientHooks.fireFrameGraphSetup
(FrameGraphBuilder builder, LevelTargetBundle targets, RenderTargetDescriptor renderTargetDescriptor, Frustum frustum, Camera camera, org.joml.Matrix4f modelViewMatrix, org.joml.Matrix4f projectionMatrix, DeltaTracker deltaTracker, ProfilerFiller profiler) static float
ClientHooks.getDetachedCameraDistance
(Camera camera, boolean flipped, float entityScale, float distance) static float
ClientHooks.getFieldOfView
(GameRenderer renderer, Camera camera, float partialTick, float fov, boolean usedConfiguredFov) static org.joml.Vector4f
ClientHooks.getFogColor
(Camera camera, float partialTick, ClientLevel level, int renderDistance, float darkenWorldAmount, float fogRed, float fogGreen, float fogBlue) static boolean
ClientHooks.onDrawHighlight
(LevelRenderer context, Camera camera, BlockHitResult target, DeltaTracker deltaTracker, PoseStack poseStack, MultiBufferSource bufferSource, boolean forTranslucentBlocks) static FogParameters
ClientHooks.onFogRender
(FogRenderer.FogMode mode, FogType type, Camera camera, float partialTick, float renderDistance, FogParameters fogParameters) -
Uses of Camera in net.neoforged.neoforge.client.event
Fields in net.neoforged.neoforge.client.event declared as CameraModifier and TypeFieldDescriptionprivate final Camera
CalculateDetachedCameraDistanceEvent.camera
private final Camera
FrameGraphSetupEvent.camera
private final Camera
RenderHighlightEvent.camera
private final Camera
RenderLevelStageEvent.camera
private final Camera
ViewportEvent.camera
Methods in net.neoforged.neoforge.client.event that return CameraModifier and TypeMethodDescriptionCalculateDetachedCameraDistanceEvent.getCamera()
Returns the camera instance.FrameGraphSetupEvent.getCamera()
Returns the activeCamera
.RenderHighlightEvent.getCamera()
Returns the camera information.RenderLevelStageEvent.getCamera()
Returns the camera.ViewportEvent.getCamera()
Returns the camera information.Constructors in net.neoforged.neoforge.client.event with parameters of type CameraModifierConstructorDescriptionBlock
(LevelRenderer levelRenderer, Camera camera, BlockHitResult target, DeltaTracker deltaTracker, PoseStack poseStack, MultiBufferSource bufferSource, boolean forTranslucentBlocks) CalculateDetachedCameraDistanceEvent
(Camera camera, boolean cameraFlipped, float entityScale, float distance) ComputeCameraAngles
(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, float renderPartialTicks, float fov, boolean usedConfiguredFov) Entity
(LevelRenderer levelRenderer, Camera camera, EntityHitResult target, DeltaTracker deltaTracker, PoseStack poseStack, MultiBufferSource bufferSource) FrameGraphSetupEvent
(FrameGraphBuilder builder, LevelTargetBundle targets, RenderTargetDescriptor renderTargetDescriptor, Frustum frustum, Camera camera, org.joml.Matrix4f modelViewMatrix, org.joml.Matrix4f projectionMatrix, DeltaTracker deltaTracker, ProfilerFiller profiler) RenderFog
(FogRenderer.FogMode mode, FogType type, Camera camera, float partialTicks, FogParameters fogParameters) protected
RenderHighlightEvent
(LevelRenderer levelRenderer, Camera camera, HitResult target, DeltaTracker deltaTracker, PoseStack poseStack, MultiBufferSource multiBufferSource) RenderLevelStageEvent
(RenderLevelStageEvent.Stage stage, Level level, LevelRenderer levelRenderer, @Nullable PoseStack poseStack, org.joml.Matrix4f modelViewMatrix, org.joml.Matrix4f projectionMatrix, int renderTick, DeltaTracker partialTick, Camera camera, Frustum frustum, Iterable<? extends IRenderableSection> renderableSections) ViewportEvent
(GameRenderer renderer, Camera camera, double partialTick) -
Uses of Camera in net.neoforged.neoforge.client.extensions
Methods in net.neoforged.neoforge.client.extensions with parameters of type CameraModifier and TypeMethodDescriptiondefault boolean
IDimensionSpecialEffectsExtension.renderSky
(ClientLevel level, int ticks, float partialTick, org.joml.Matrix4f modelViewMatrix, Camera camera, org.joml.Matrix4f projectionMatrix, 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
Methods in net.neoforged.neoforge.client.extensions.common with parameters of type CameraModifier and TypeMethodDescriptiondefault org.joml.Vector4f
IClientFluidTypeExtensions.modifyFogColor
(Camera camera, float partialTick, ClientLevel level, int renderDistance, float darkenWorldAmount, org.joml.Vector4f fluidFogColor) Modifies the color of the fog when the camera is within the fluid.default FogParameters
IClientFluidTypeExtensions.modifyFogRender
(Camera camera, FogRenderer.FogMode mode, float renderDistance, float partialTick, FogParameters fogParameters) Modifies how the fog is currently being rendered when the camera is within a fluid.
ParticleEngine.renderCustomParticles(Camera, float, MultiBufferSource.BufferSource, Queue, net.minecraft.client.renderer.culling.Frustum)
instead