Add 2 new RenderLevelStageEvent.Stage for After Entities and After Block Entities (#9259)

This commit is contained in:
Adneths authored and GitHub committed 2023-02-18 15:43:10 +01:00
1 parent 79dfdb0ace
commit 183d43f5f8
4 files changed
+60 -1

No files matched your search

@@ -169,6 +169,14 @@ public class RenderLevelStageEvent extends Event
* Use this to render custom block-like geometry into the world.
*/
public static final Stage AFTER_CUTOUT_BLOCKS = register("after_cutout_blocks", RenderType.cutout());
/**
* Use this to render custom block-like geometry into the world.
*/
public static final Stage AFTER_ENTITIES = register("after_entities", null);
/**
* Use this to render custom block-like geometry into the world.
*/
public static final Stage AFTER_BLOCK_ENTITIES = register("after_block_entities", null);
/**
* 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,