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.
Use RenderLevelStageEvent instead for more flexibility and improved compatibility with translucent objects. There is no RenderLevelStageEvent.Stage that directly replaces this event, instead you must decide which Stage best fits your use case.
  • 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

    Fields
    Modifier and Type
    Field
    Description
    private 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

    Constructors
    Constructor
    Description
    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 Summary

    Modifier and Type
    Method
    Description
    Deprecated, 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • levelRenderer

      private final LevelRenderer levelRenderer
      Deprecated, for removal: This API element is subject to removal in a future version.
    • poseStack

      private final PoseStack poseStack
      Deprecated, for removal: This API element is subject to removal in a future version.
    • partialTick

      private final float partialTick
      Deprecated, for removal: This API element is subject to removal in a future version.
    • projectionMatrix

      private final Matrix4f projectionMatrix
      Deprecated, for removal: This API element is subject to removal in a future version.
    • startNanos

      private final long startNanos
      Deprecated, 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

      public LevelRenderer getLevelRenderer()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getPoseStack

      public PoseStack 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

      public Matrix4f 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.