Package net.minecraftforge.client.event
Class RenderLevelLastEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.RenderLevelLastEvent
@Deprecated(forRemoval=true,
since="1.18.2")
public class RenderLevelLastEvent
extends net.minecraftforge.eventbus.api.Event
Deprecated, for removal: This API element is subject to removal in a future version.
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Field Summary
Modifier and TypeFieldDescriptionprivate final LevelRenderer
Deprecated, for removal: This API element is subject to removal in a future version.private final float
Deprecated, for removal: This API element is subject to removal in a future version.private final PoseStack
Deprecated, for removal: This API element is subject to removal in a future version.private final Matrix4f
Deprecated, for removal: This API element is subject to removal in a future version.private final long
Deprecated, for removal: This API element is subject to removal in a future version. -
Constructor Summary
ConstructorDescriptionRenderLevelLastEvent
(LevelRenderer levelRenderer, PoseStack poseStack, float partialTick, Matrix4f projectionMatrix, long startNanos) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.float
Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.long
Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
-
Field Details
-
levelRenderer
Deprecated, for removal: This API element is subject to removal in a future version. -
poseStack
Deprecated, for removal: This API element is subject to removal in a future version. -
partialTick
private final float partialTickDeprecated, for removal: This API element is subject to removal in a future version. -
projectionMatrix
Deprecated, for removal: This API element is subject to removal in a future version. -
startNanos
private final long startNanosDeprecated, for removal: This API element is subject to removal in a future version.
-
-
Constructor Details
-
RenderLevelLastEvent
public RenderLevelLastEvent(LevelRenderer levelRenderer, PoseStack poseStack, float partialTick, Matrix4f projectionMatrix, long startNanos) Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
getLevelRenderer
Deprecated, for removal: This API element is subject to removal in a future version. -
getPoseStack
Deprecated, for removal: This API element is subject to removal in a future version. -
getPartialTick
public float getPartialTick()Deprecated, for removal: This API element is subject to removal in a future version. -
getProjectionMatrix
Deprecated, for removal: This API element is subject to removal in a future version. -
getStartNanos
public long getStartNanos()Deprecated, for removal: This API element is subject to removal in a future version.
-
RenderLevelStageEvent
instead for more flexibility and improved compatibility with translucent objects. There is noRenderLevelStageEvent.Stage
that directly replaces this event, instead you must decide which Stage best fits your use case.