Sensor interface

Пакет: com.hypixel.hytale.server.npc.instructions

Файл: com/hypixel/hytale/server/npc/instructions/Sensor.java

extends: RoleStateChange, IAnnotatedComponent, IComponentExecutionControl

Поля (1)

МодификаторыТипИмя
Sensor NULL

Методы (2)

МодификаторыВозвратСигнатура
default void donevoid done()
abstract boolean matchesboolean matches(@Nonnull Ref<EntityStore> var1, @Nonnull ExecutionSupport var2, double var3, @Nonnull Store<EntityStore> var5)

Исходный код

Показать/скрыть
class="kw">package com.hypixel.hytale.server.npc.instructions;

class="kw">import com.hypixel.hytale.component.Ref;
class="kw">import com.hypixel.hytale.component.Store;
class="kw">import com.hypixel.hytale.server.core.universe.world.storage.EntityStore;
class="kw">import com.hypixel.hytale.server.npc.sensorinfo.InfoProvider;
class="kw">import com.hypixel.hytale.server.npc.util.IAnnotatedComponent;
class="kw">import com.hypixel.hytale.server.npc.util.IComponentExecutionControl;
class="kw">import javax.annotation.Nonnull;
class="kw">import javax.annotation.Nullable;

class="kw">public class="kw">interface Sensor class="kw">extends RoleStateChange, IAnnotatedComponent, IComponentExecutionControl {
   Sensor NULL = new NullSensor();

   boolean matches(@Nonnull Ref<EntityStore> var1, @Nonnull ExecutionSupport var2, double var3, @Nonnull Store<EntityStore> var5);

   class="kw">default void done() {
   }

   @Nullable
   InfoProvider getSensorInfo();
}