JVM Arguments¶

OptiFine supports running the game with arguments, some of which are not available in the options menu.
The system properties have to be added in the field "JVM Arguments" in the launcher profile. All arguments must be prefixed with -D
.

The profile's "edit" screen, with the JVM ARGUMENTS field selected.¶

A list of the installations, with the "edit" drop-down option hovered.¶
Argument |
Values |
Meaning |
---|---|---|
|
Boolean |
Enables extended logging. |
|
Boolean |
Save the final texture map/atlas in the folder |
|
Boolean |
Save the final shader sources in the folder |
|
Boolean |
Automatically animate all mob models.
Useful for testing Custom Entity Models.
|
|
Boolean |
Load the player models from the folder |
|
Boolean |
|
|
Boolean |
Enable OpenGL debug groups. |
|
List of integers |
Ignore OpenGL errors based on the comma seperated list of error IDs. |
|
Boolean |
CEM debug models.
Automatically generate CEM models for all supported entities using different colors for each model part
The part names and colors are written in the log.
|
|
Boolean |
|
For example, to enable extended logging, add -Dlog.detail=true
to the JVM arguments.