PreventEmotes class
Пакет: com.hypixel.hytale.server.core.modules.entity.component
Файл: com/hypixel/hytale/server/core/modules/entity/component/PreventEmotes.java
implements: Component<EntityStore>
Поля (1)
| Модификаторы | Тип | Имя |
|---|---|---|
final |
PreventEmotes |
INSTANCE |
Методы (1)
| Модификаторы | Возврат | Сигнатура |
|---|---|---|
static |
ComponentType<EntityStore, PreventEmotes> |
getComponentTypeComponentType<EntityStore, PreventEmotes> getComponentType() |
Исходный код
Показать/скрыть
class="kw">package com.hypixel.hytale.server.core.modules.entity.component;
class="kw">import com.hypixel.hytale.component.Component;
class="kw">import com.hypixel.hytale.component.ComponentType;
class="kw">import com.hypixel.hytale.server.core.modules.entity.EntityModule;
class="kw">import com.hypixel.hytale.server.core.universe.world.storage.EntityStore;
class="kw">public class PreventEmotes class="kw">implements Component<EntityStore> {
class="kw">public class="kw">static class="kw">final PreventEmotes INSTANCE = new PreventEmotes();
class="kw">public class="kw">static ComponentType<EntityStore, PreventEmotes> getComponentType() {
class="kw">return EntityModule.get().getPreventEmotesComponentType();
}
class="kw">private PreventEmotes() {
}
@Override
class="kw">public Component<EntityStore> clone() {
class="kw">return INSTANCE;
}
}