Interface ClientModInitializer
public interface ClientModInitializer
A mod initializer which is run only on
EnvType.CLIENT.
This value is suitable for setting up client-specific logic, such as rendering or integrated server tweaks.
In mod manifests, the value is defined with "yumi:client_init" key.
Currently, it is executed in the Minecraft constructor, just before the initialization of
the Options.
- Since:
- 1.0.0
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringRepresents the key which this value is defined with, whose value is "yumi:client_init". -
Method Summary
Modifier and TypeMethodDescriptionvoidRuns the client mod initializer.
-
Field Details
-
ENTRYPOINT_KEY
Represents the key which this value is defined with, whose value is "yumi:client_init".- See Also:
-
-
Method Details
-
onInitializeClient
Runs the client mod initializer.- Parameters:
mod- the mod which is initialized
-