Class RenderableTest

java.lang.Object
net.minecraftforge.debug.client.rendering.RenderableTest

public class RenderableTest extends Object
This mod is testing the use of RenderLevelStageEvent and is a modifaction of a pre-existing test mod that used the old RenderLevelLastEvent. To restore the old behavior, set #USE_LEVEL_RENDERER_STAGE to false. When you enter a world, there should be 6 sugar gliders rendering at (0, 120, 0) that test the various stages in RenderLevelStageEvent. From left to right (with the sugar gliders facing you) they represent RenderLevelStageEvent.Stage.AFTER_SKY, RenderLevelStageEvent.Stage.AFTER_SOLID_BLOCKS, RenderLevelStageEvent.Stage.AFTER_TRANSLUCENT_BLOCKS, RenderLevelStageEvent.Stage.AFTER_TRIPWIRE_BLOCKS, RenderLevelStageEvent.Stage.AFTER_PARTICLES, and RenderLevelStageEvent.Stage.AFTER_WEATHER. Due to how weather modifies the projection matrix, it's sugar glider will be positioned weirdly. Below each sugar gliders is a render of blue stained glass to test translucency with fabulous graphics. RenderLevelStageEvent.Stage.AFTER_PARTICLES will render the stained glass using ForgeRenderTypes.TRANSLUCENT_ON_PARTICLES_TARGET.
  • Field Details

  • Constructor Details

    • RenderableTest

      public RenderableTest()