Skip to content

Commands

mortuusars edited this page Apr 4, 2024 · 7 revisions

Exposure has several commands that can be useful for pack/map devs or just debugging.

Note:
__All commands require level 2 (gamemaster) permissions. "export" requires level 3 permissions. __

Square brackets indicate that the argument is optional.
Angle brackets indicate placeholder for a value.


/exposure load [withDithering] <size> <path> <id> - loads exposure from a file.

  • [withDithering] - literal - self explanatory.
  • <size> - number - resolution of the loaded exposure. Photos taken by the camera have size of 320px
  • <path> - string - filepath to the image. Pay attention to slashes.
  • <id> - string - name for this exposure. This is then referenced in photographs, film, etc, to show the image.

/exposure show id|texture|latest - Should be more or less intuitive.

  • texture <path> - Example: "exposure:textures/block/lightroom_side.png"
  • latest - will show exposures captured by you in the current session (will be gone when the game is closed).

/exposure expose [<size>] - Basically takes a screenshot, but with Exposure's processing (square crop, dithering). Saved into <instance>/exposures/<world> folder. When size is omitted - image size would be minecraft window height (or width, wichever is smaller).


/exposure export id|all [<size>] [<look>] - Exports exposure(s) to the <world>/exposures folder. Note: When playing on a remote server - this folder will not be on your PC (unless it's hosted on your PC, then it will be)

  • id <id> - id of the exposure to export.
  • all - all exposures stored on the server will be exported.
  • <size> - Multiplier to the size of an image. X1/X2/X3/X4
  • <look> - Style of an image. regular/aged/negative/negative_film

/exposure debug clearRenderingCache - Clears rendering cache of exposures. Literally. I'm not sure it's helpful to anyone except me (when developing).



Shaders

/shader apply <player selector> <shaderLocation> - allows applying loaded shaders (the ones used in filters and others). Available shaders will be shown as autocomplete suggestions.

/shader remove <player selector> - cancels applied shader effect.

Clone this wiki locally