NPCAnimationSlot enum
Пакет: com.hypixel.hytale.server.npc.animations
Файл: com/hypixel/hytale/server/npc/animations/NPCAnimationSlot.java
implements: Supplier<String>
Поля (1)
| Модификаторы | Тип | Имя |
|---|---|---|
final |
NPCAnimationSlot[] |
VALUES |
Методы (1)
| Модификаторы | Возврат | Сигнатура |
|---|---|---|
public |
AnimationSlot |
getMappedSlotAnimationSlot getMappedSlot() |
Исходный код
Показать/скрыть
class="kw">package com.hypixel.hytale.server.npc.animations;
class="kw">import com.hypixel.hytale.protocol.AnimationSlot;
class="kw">import java.util.function.Supplier;
class="kw">import javax.annotation.Nonnull;
@Deprecated
class="kw">public enum NPCAnimationSlot class="kw">implements Supplier<String> {
Status(AnimationSlot.Status),
Action(AnimationSlot.Action),
Face(AnimationSlot.Face);
class="kw">public class="kw">static class="kw">final NPCAnimationSlot[] VALUES = values();
class="kw">private class="kw">final AnimationSlot mappedSlot;
NPCAnimationSlot(AnimationSlot nullxx) {
this.mappedSlot = nullxx;
}
@Nonnull
class="kw">public String get() {
class="kw">return this.name();
}
class="kw">public AnimationSlot getMappedSlot() {
class="kw">return this.mappedSlot;
}
}