NPCMarkerComponent class
Пакет: com.hypixel.hytale.server.core.modules.entity.component
Файл: com/hypixel/hytale/server/core/modules/entity/component/NPCMarkerComponent.java
implements: Component<EntityStore>
Поля (1)
| Модификаторы | Тип | Имя |
|---|---|---|
final |
NPCMarkerComponent |
INSTANCE |
Методы (2)
| Модификаторы | Возврат | Сигнатура |
|---|---|---|
static |
NPCMarkerComponent |
getNPCMarkerComponent get() |
static |
ComponentType<EntityStore, NPCMarkerComponent> |
getComponentTypeComponentType<EntityStore, NPCMarkerComponent> 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">import javax.annotation.Nonnull;
@Deprecated(forRemoval = true)
class="kw">public class NPCMarkerComponent class="kw">implements Component<EntityStore> {
class="kw">private class="kw">static class="kw">final NPCMarkerComponent INSTANCE = new NPCMarkerComponent();
class="kw">public NPCMarkerComponent() {
}
class="kw">public class="kw">static ComponentType<EntityStore, NPCMarkerComponent> getComponentType() {
class="kw">return EntityModule.get().getNPCMarkerComponentType();
}
class="kw">public class="kw">static NPCMarkerComponent get() {
class="kw">return INSTANCE;
}
@Nonnull
@Override
class="kw">public Component<EntityStore> clone() {
class="kw">return this;
}
}