Class RenderableTest
java.lang.Object
net.minecraftforge.debug.client.rendering.RenderableTest
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
.-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final boolean
private static final org.apache.logging.log4j.Logger
static final String
static final boolean
-
Constructor Summary
-
Method Summary
-
Field Details
-
MODID
- See Also:
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
ENABLED
public static final boolean ENABLED- See Also:
-
USE_LEVEL_RENDERER_STAGE
public static final boolean USE_LEVEL_RENDERER_STAGE- See Also:
-
-
Constructor Details
-
RenderableTest
public RenderableTest()
-