RelativeRotationMode enum
Пакет: com.hypixel.hytale.server.core.modules.interaction.interaction.config
Файл: com/hypixel/hytale/server/core/modules/interaction/interaction/config/RelativeRotationMode.java
Поля (1)
| Модификаторы | Тип | Имя |
|---|---|---|
|
NONE,
YAW, |
FULL |
Исходный код
Показать/скрыть
class="kw">package com.hypixel.hytale.server.core.modules.interaction.interaction.config;
class="kw">import com.hypixel.hytale.codec.codecs.EnumCodec;
class="kw">import javax.annotation.Nonnull;
class="kw">public enum RelativeRotationMode {
NONE,
YAW,
FULL;
@Nonnull
class="kw">public class="kw">static class="kw">final EnumCodec<RelativeRotationMode> CODEC = new EnumCodec<>(RelativeRotationMode.class)
.documentKey(NONE, "The reference rotation will not be applied. Values are treated as absolute.")
.documentKey(YAW, "Only the yaw (Y-axis) component of the reference rotation will be applied.")
.documentKey(FULL, "The full reference rotation (pitch, yaw, and roll) will be applied.");
RelativeRotationMode() {
}
}