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 TypeMethodDescriptionvoidDustColorTransitionParticle.render(VertexConsumer p_172063_, Camera p_172064_, float p_172065_) voidFireworkParticles.OverlayParticle.render(VertexConsumer pBuffer, Camera pRenderInfo, float pPartialTicks) voidFireworkParticles.SparkParticle.render(VertexConsumer pBuffer, Camera pRenderInfo, float pPartialTicks) voidFlyTowardsPositionParticle.render(VertexConsumer p_324177_, Camera p_323683_, float p_323936_) voidItemPickupParticle.render(VertexConsumer pBuffer, Camera pRenderInfo, float pPartialTicks) voidMobAppearanceParticle.render(VertexConsumer pBuffer, Camera pRenderInfo, float pPartialTicks) final voidNoRenderParticle.render(VertexConsumer pBuffer, Camera pRenderInfo, float pPartialTicks) abstract voidParticle.render(VertexConsumer pBuffer, Camera pCamera, float pPartialTick) voidParticleEngine.render(Camera pCamera, float pPartialTick, MultiBufferSource.BufferSource pBufferSource) Deprecated.voidParticleEngine.render(Camera pCamera, float pPartialTick, MultiBufferSource.BufferSource pBufferSource, Frustum frustum, Predicate<ParticleRenderType> renderTypePredicate) voidShriekParticle.render(VertexConsumer p_233985_, Camera p_233986_, float p_233987_) voidSingleQuadParticle.render(VertexConsumer pBuffer, Camera pRenderInfo, float pPartialTicks) voidVibrationSignalParticle.render(VertexConsumer p_172475_, Camera p_172476_, float p_172477_) voidItemPickupParticle.renderCustom(PoseStack p_383231_, MultiBufferSource p_382868_, Camera p_382930_, float p_382826_) voidMobAppearanceParticle.renderCustom(PoseStack p_383017_, MultiBufferSource p_382805_, Camera p_383007_, float p_383153_) voidParticle.renderCustom(PoseStack pPoseStack, MultiBufferSource pBufferSource, Camera pCamera, float pPartialTick) private static voidParticleEngine.renderCustomParticles(Camera pCamera, float pPartialTick, MultiBufferSource.BufferSource pBufferSource, Queue<Particle> pParticles) Deprecated.private static voidParticleEngine.renderCustomParticles(Camera pCamera, float pPartialTick, MultiBufferSource.BufferSource pBufferSource, Queue<Particle> pParticles, Frustum frustum) private static voidParticleEngine.renderParticleType(Camera pCamera, float pPartialTick, MultiBufferSource.BufferSource pBufferSource, ParticleRenderType pParticleType, Queue<Particle> pParticles) private static voidParticleEngine.renderParticleType(Camera pCamera, float pPartialTick, MultiBufferSource.BufferSource pBufferSource, ParticleRenderType pParticleType, Queue<Particle> pParticles, Frustum frustum) protected voidSingleQuadParticle.renderRotatedQuad(VertexConsumer pBuffer, Camera pCamera, org.joml.Quaternionf pQuaternion, float pPartialTicks) voidSingleQuadParticle.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 voidLevelRenderer.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 voidLevelRenderer.addParticlesPass(FrameGraphBuilder pFrameGraphBuilder, Camera pCamera, float pPartialTick, FogParameters pFog) Deprecated.private voidLevelRenderer.addParticlesPass(FrameGraphBuilder pFrameGraphBuilder, Camera pCamera, float pPartialTick, FogParameters pFog, Frustum frustum, org.joml.Matrix4f modelViewMatrix, org.joml.Matrix4f projectionMatrix) private voidLevelRenderer.addSkyPass(FrameGraphBuilder pFrameGraphBuilder, Camera pCamera, float pPartialTick, FogParameters pFog) Deprecated.private voidLevelRenderer.addSkyPass(FrameGraphBuilder pFrameGraphBuilder, Camera pCamera, float pPartialTick, FogParameters pFog, org.joml.Matrix4f modelViewMatrix, org.joml.Matrix4f projectionMatrix) private voidLevelRenderer.addWeatherPass(FrameGraphBuilder pFrameGraphBuilder, Vec3 pCameraPosition, float pPartialTick, FogParameters pFog, org.joml.Matrix4f modelViewMatrix, org.joml.Matrix4f projectionMatrix, Camera camera) private booleanLevelRenderer.collectVisibleEntities(Camera pCamera, Frustum pFrustum, List<Entity> pOutput) private voidLevelRenderer.compileSections(Camera pCamera) static org.joml.Vector4fFogRenderer.computeFogColor(Camera pCamera, float pPartialTick, ClientLevel pLevel, int pRenderDistance, float pDarkenWorldAmount) private booleanLevelRenderer.doesMobEffectBlockSky(Camera pCamera) private floatprivate voidSectionOcclusionGraph.initializeQueueForFullUpdate(Camera pCamera, Queue<SectionOcclusionGraph.Node> pNodeQueue) private voidLevelRenderer.renderBlockDestroyAnimation(PoseStack pPoseStack, Camera pCamera, MultiBufferSource.BufferSource pBufferSource) private voidLevelRenderer.renderBlockEntities(PoseStack pPoseStack, MultiBufferSource.BufferSource pBufferSource, MultiBufferSource.BufferSource pCrumblingBufferSource, Camera pCamera, float pPartialTick) private voidLevelRenderer.renderBlockOutline(Camera pCamera, MultiBufferSource.BufferSource pBufferSource, PoseStack pPoseStack, boolean pSort) private voidLevelRenderer.renderEntities(PoseStack pPoseStack, MultiBufferSource.BufferSource pBufferSource, Camera pCamera, DeltaTracker pDeltaTracker, List<Entity> pEntities) private voidGameRenderer.renderItemInHand(Camera pCamera, float pPartialTick, org.joml.Matrix4f pProjectionMatrix) voidLevelRenderer.renderLevel(GraphicsResourceAllocator pGraphicsResourceAllocator, DeltaTracker pDeltaTracker, boolean pRenderBlockOutline, Camera pCamera, GameRenderer pGameRenderer, org.joml.Matrix4f pFrustumMatrix, org.joml.Matrix4f pProjectionMatrix) private voidSectionOcclusionGraph.scheduleFullUpdate(boolean pSmartCull, Camera pCamera, Vec3 pCameraPosition, it.unimi.dsi.fastutil.longs.LongOpenHashSet pLoadedEmptySections) static FogParametersFogRenderer.setupFog(Camera pCamera, FogRenderer.FogMode pFogMode, org.joml.Vector4f pFogColor, float pRenderDistance, boolean pIsFoggy, float pPartialTick) private voidLevelRenderer.setupRender(Camera pCamera, Frustum pFrustum, boolean pHasCapturedFrustum, boolean pIsSpectator) voidLevelRenderer.tickParticles(Camera pCamera) voidWeatherEffectRenderer.tickRainParticles(ClientLevel pLevel, Camera pCamera, int pTicks, ParticleStatus pParticleStatus) voidSectionOcclusionGraph.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 floatDisplayRenderer.cameraXRot(Camera pCamera) private static floatDisplayRenderer.cameraYrot(Camera pCamera) void -
Uses of Camera in net.minecraft.client.sounds
Methods in net.minecraft.client.sounds with parameters of type CameraModifier and TypeMethodDescriptionvoidSoundEngine.updateSource(Camera pRenderInfo) voidSoundManager.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 voidClientHooks.dispatchRenderStage(RenderType renderType, Level level, LevelRenderer levelRenderer, org.joml.Matrix4f modelViewMatrix, org.joml.Matrix4f projectionMatrix, int renderTick, Camera camera, Frustum frustum) static voidClientHooks.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 FrameGraphSetupEventClientHooks.fireFrameGraphSetup(FrameGraphBuilder builder, LevelTargetBundle targets, RenderTargetDescriptor renderTargetDescriptor, Frustum frustum, Camera camera, org.joml.Matrix4f modelViewMatrix, org.joml.Matrix4f projectionMatrix, DeltaTracker deltaTracker, ProfilerFiller profiler) static floatClientHooks.getDetachedCameraDistance(Camera camera, boolean flipped, float entityScale, float distance) static floatClientHooks.getFieldOfView(GameRenderer renderer, Camera camera, float partialTick, float fov, boolean usedConfiguredFov) static org.joml.Vector4fClientHooks.getFogColor(Camera camera, float partialTick, ClientLevel level, int renderDistance, float darkenWorldAmount, float fogRed, float fogGreen, float fogBlue) static booleanClientHooks.onDrawHighlight(LevelRenderer context, Camera camera, BlockHitResult target, DeltaTracker deltaTracker, PoseStack poseStack, MultiBufferSource bufferSource, boolean forTranslucentBlocks) static FogParametersClientHooks.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 CameraCalculateDetachedCameraDistanceEvent.cameraprivate final CameraFrameGraphSetupEvent.cameraprivate final CameraRenderHighlightEvent.cameraprivate final CameraRenderLevelStageEvent.cameraprivate final CameraViewportEvent.cameraMethods 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) protectedRenderHighlightEvent(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 booleanIDimensionSpecialEffectsExtension.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 booleanIDimensionSpecialEffectsExtension.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.Vector4fIClientFluidTypeExtensions.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 FogParametersIClientFluidTypeExtensions.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