Class VanillaClientListeners
java.lang.Object
net.neoforged.neoforge.client.resources.VanillaClientListeners
Keys for vanilla
reload listeners, used to specify dependency ordering in the AddClientReloadListenersEvent.
Due to the volume of vanilla listeners, these keys are automatically generated based on the class name.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ResourceLocationstatic final ResourceLocationstatic final ResourceLocationstatic final ResourceLocationstatic final ResourceLocationstatic final ResourceLocationstatic final ResourceLocationSentinel field that will always reference the first reload listener in the vanilla order.static final ResourceLocationstatic final ResourceLocationstatic final ResourceLocationstatic final ResourceLocationstatic final ResourceLocationprivate static final Map<Class<?>, ResourceLocation> static final ResourceLocationstatic final ResourceLocationSentinel field that will always reference the last reload listener in the vanilla order.static final ResourceLocationstatic final ResourceLocationstatic final ResourceLocationstatic final ResourceLocationstatic final ResourceLocationstatic final ResourceLocationstatic final ResourceLocationstatic final ResourceLocationstatic final ResourceLocationstatic final ResourceLocationstatic final ResourceLocation -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable ResourceLocationgetNameForClass(Class<? extends PreparableReloadListener> cls) private static ResourceLocationkey(Class<? extends PreparableReloadListener> cls)
-
Field Details
-
KNOWN_CLASSES
-
LANGUAGE
-
TEXTURES
-
SHADERS
-
SOUNDS
-
SPLASHES
-
FONTS
-
GRASS_COLOR
-
FOLIAGE_COLOR
-
DRY_FOLIAGE_COLOR
-
MODELS
-
EQUIPMENT_ASSETS
-
MAP_DECORATIONS
-
BLOCK_RENDERER
-
ENTITY_RENDERER
-
BLOCK_ENTITY_RENDERER
-
PARTICLE_ENGINE
-
PAINTING_TEXTURES
-
GUI_SPRITES
-
WAYPOINT_STYLES
-
LEVEL_RENDERER
-
CLOUD_RENDERER
-
GPU_WARNLIST
-
REGIONAL_COMPLIANCES
-
FIRST
Sentinel field that will always reference the first reload listener in the vanilla order. -
LAST
Sentinel field that will always reference the last reload listener in the vanilla order.
-
-
Constructor Details
-
VanillaClientListeners
public VanillaClientListeners()
-
-
Method Details
-
key
-
getNameForClass
@Nullable @Internal public static @Nullable ResourceLocation getNameForClass(Class<? extends PreparableReloadListener> cls)
-