Package net.minecraftforge.client
Class ColorResolverManager
java.lang.Object
net.minecraftforge.client.ColorResolverManager
Manager for custom
ColorResolver
instances, collected via RegisterColorHandlersEvent.ColorResolvers
.-
Field Summary
Modifier and TypeFieldDescriptionprivate static com.google.common.collect.ImmutableList<ColorResolver>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
init()
static void
registerBlockTintCaches
(ClientLevel level, Map<ColorResolver, BlockTintCache> target) Register aBlockTintCache
for every registeredColorResolver
into the given target map.
-
Field Details
-
colorResolvers
-
-
Constructor Details
-
ColorResolverManager
private ColorResolverManager()
-
-
Method Details
-
init
@Internal public static void init() -
registerBlockTintCaches
public static void registerBlockTintCaches(ClientLevel level, Map<ColorResolver, BlockTintCache> target) Register aBlockTintCache
for every registeredColorResolver
into the given target map.- Parameters:
level
- the level to usetarget
- the map to populate
-