Skip to main content

Eyes

might not load

Looks great ain't it?
Skinmatics provide dynamic eyes that changes their look direction based on the player's look direction. It also apply to your cute-little inventory dummy and paper doll ;)

These eyes not only blink and look based on direction, but some actions caused it to change (only for left and right group).

"skinmatics:eyes": {
"visible": false,
"hidden": [],
"emissive": [],
"strongerEmissive": [],
"blinkingChance": 0,
"blinkingTicks": 0,
"baseTextures": {},
"emissiveTextures": {}
}
FieldFunctionDefault (Type)
visibleDecides whether your eyes is visible (enabled) or notfalse (boolean)
hiddenEye group that are hidden by default[] (array<string>)
emissiveEye group that can be emissiveSimilar to hidden
strongerEmissiveEye group that use stronger emissiveSimilar to hidden
blinkingChanceThe chance of blinking (1 in blinkingChance) per tick0 (integer)
blinkingTicksHow long do the player blinks (close their eyes)0 (integer)
baseTexturesYour eye group and state base texturesSee Group & State
emissiveTexturesYour eye group and state emissive texturesSee Group & State

Group & State​

<group>: {
<state>: <animatable>
}
  • <group> - The "eye" of your eyes
  • <state> - The state of the group
  • <animatable> - The textures, See Animatable

Both group and state can be the name of your liking, but only some name will have dynamic functions:

Supported eye group:

  • left - Left eye
  • right - Right eye

Supported eye state (based on first-person view):

  • closed - Eye when closed (-)
  • front - Eye looking forward (◉)
  • up - Eye looking upward (↑)
  • down - Eye looking downward (↓)
  • left - Eye looking leftward (←)
  • leftUp - Eye looking upward-left (↖)
  • leftDown - Eye looking downward-left (↙)
  • right - Eye looking rightward (→)
  • rightUp - Eye looking upward-right (↗)
  • rightDown - Eye looking downward-right (↘)

Dynamic Actions​

warning

An experimental feature. Not everything is final, and expect something to be broken.

Eyes also change their state depending on what you're using, or your player state (sleeping and dying)

The following item is the currently supported dynamic state (item animation-based):

  • Non-dominant (hand) eye is closed:
    • Bow aiming
    • Spyglass peeking
    • Trident throwing

You can see Skinmatics Default Avatar (installed in Skinmatics) pack for eye examples.