Package net.minecraftforge.client
Class NamedRenderTypeManager
java.lang.Object
net.minecraftforge.client.NamedRenderTypeManager
Manager for named
render types
.
Provides a lookup.
-
Field Summary
Modifier and TypeFieldDescriptionprivate static com.google.common.collect.ImmutableMap<ResourceLocation,
RenderTypeGroup> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic RenderTypeGroup
get
(ResourceLocation name) Finds theRenderTypeGroup
for a given name, or theempty group
if not found.static void
init()
private static void
preRegisterVanillaRenderTypes
(Map<ResourceLocation, RenderTypeGroup> blockRenderTypes) Pre-registers vanilla render types.
-
Field Details
-
RENDER_TYPES
private static com.google.common.collect.ImmutableMap<ResourceLocation,RenderTypeGroup> RENDER_TYPES
-
-
Constructor Details
-
NamedRenderTypeManager
private NamedRenderTypeManager()
-
-
Method Details
-
get
Finds theRenderTypeGroup
for a given name, or theempty group
if not found. -
init
@Internal public static void init() -
preRegisterVanillaRenderTypes
private static void preRegisterVanillaRenderTypes(Map<ResourceLocation, RenderTypeGroup> blockRenderTypes) Pre-registers vanilla render types.
-