类 RenderLevelStageEvent.Stage
java.lang.Object
net.minecraftforge.client.event.RenderLevelStageEvent.Stage
A time during level rendering for you to render custom things into the world.
-
字段概要
字段修饰符和类型字段说明static final RenderLevelStageEvent.Stage
Use this to render custom block-like geometry into the world.static final RenderLevelStageEvent.Stage
Use this to render custom block-like geometry into the world.static final RenderLevelStageEvent.Stage
Use this to render custom block-like geometry into the world.static final RenderLevelStageEvent.Stage
Use this to render custom block-like geometry into the world.static final RenderLevelStageEvent.Stage
Use this to render after everything in the level has been rendered.static final RenderLevelStageEvent.Stage
Use this to render custom effects into the world, such as custom entity-like objects or special rendering effects.static final RenderLevelStageEvent.Stage
Use this to render custom objects into the skybox.static final RenderLevelStageEvent.Stage
Use this to render custom block-like geometry into the world.static final RenderLevelStageEvent.Stage
Use this to render custom block-like geometry into the world.static final RenderLevelStageEvent.Stage
Use this to render custom block-like geometry into the world.static final RenderLevelStageEvent.Stage
Use this to render custom weather effects into the world.private final String
private static final Map<RenderType,
RenderLevelStageEvent.Stage> -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static RenderLevelStageEvent.Stage
fromRenderType
(RenderType renderType) 返回 the stage bound to the render type, or null if no value is present。private static RenderLevelStageEvent.Stage
register
(String name, RenderType renderType) private static RenderLevelStageEvent.Stage
register
(ResourceLocation name, RenderType renderType) toString()
-
字段详细资料
-
RENDER_TYPE_STAGES
-
AFTER_SKY
Use this to render custom objects into the skybox. Called regardless of if they sky actually renders or not. -
AFTER_SOLID_BLOCKS
Use this to render custom block-like geometry into the world. -
AFTER_CUTOUT_MIPPED_BLOCKS_BLOCKS
Use this to render custom block-like geometry into the world. -
AFTER_CUTOUT_BLOCKS
Use this to render custom block-like geometry into the world. -
AFTER_ENTITIES
Use this to render custom block-like geometry into the world. -
AFTER_BLOCK_ENTITIES
Use this to render custom block-like geometry into the world. -
AFTER_TRANSLUCENT_BLOCKS
Use this to render custom block-like geometry into the world. Due to how transparency sorting works, this stage may not work properly with translucency. If you intend to render translucency, try usingAFTER_TRIPWIRE_BLOCKS
orAFTER_PARTICLES
. Although this is called within a fabulous graphics target, it does not function properly in many cases. -
AFTER_TRIPWIRE_BLOCKS
Use this to render custom block-like geometry into the world. -
AFTER_PARTICLES
Use this to render custom effects into the world, such as custom entity-like objects or special rendering effects. Called within a fabulous graphics target. Happens after entities render. -
AFTER_WEATHER
Use this to render custom weather effects into the world. Called within a fabulous graphics target. -
AFTER_LEVEL
Use this to render after everything in the level has been rendered. Called afterLevelRenderer.renderLevel(PoseStack, float, long, boolean, Camera, GameRenderer, LightTexture, Matrix4f)
finishes. -
name
-
-
构造器详细资料
-
Stage
-
-
方法详细资料
-
register
private static RenderLevelStageEvent.Stage register(ResourceLocation name, @Nullable RenderType renderType) throws IllegalArgumentException -
register
private static RenderLevelStageEvent.Stage register(String name, @Nullable RenderType renderType) throws IllegalArgumentException -
toString
-
fromRenderType
返回 the stage bound to the render type, or null if no value is present。- 返回:
- the stage bound to the render type, or null if no value is present
-