ISensorEntityCollector interface

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

Файл: com/hypixel/hytale/server/npc/corecomponents/ISensorEntityCollector.java

extends: RoleStateChange

Поля (1)

МодификаторыТипИмя
ISensorEntityCollector DEFAULT

Методы (10)

МодификаторыВозвратСигнатура
public void cleanuppublic void cleanup()
abstract void cleanupvoid cleanup()
public void collectMatchingpublic void collectMatching(@Nonnull Ref<EntityStore> var1, @Nonnull Ref<EntityStore> var2, @Nonnull ComponentAccessor<EntityStore> var3)
abstract void collectMatchingvoid collectMatching(@Nonnull Ref<EntityStore> var1, @Nonnull Ref<EntityStore> var2, @Nonnull ComponentAccessor<EntityStore> var3)
public void collectNonMatchingpublic void collectNonMatching(@Nonnull Ref<EntityStore> var1, @Nonnull ComponentAccessor<EntityStore> var2)
abstract void collectNonMatchingvoid collectNonMatching(@Nonnull Ref<EntityStore> var1, @Nonnull ComponentAccessor<EntityStore> var2)
public void initpublic void init(@Nonnull Ref<EntityStore> var1, @Nonnull ExecutionSupport var2, @Nonnull ComponentAccessor<EntityStore> var3)
abstract void initvoid init(@Nonnull Ref<EntityStore> var1, @Nonnull ExecutionSupport var2, @Nonnull ComponentAccessor<EntityStore> var3)
public boolean terminateOnFirstMatchpublic boolean terminateOnFirstMatch()
abstract boolean terminateOnFirstMatchboolean terminateOnFirstMatch()

Исходный код

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

class="kw">import com.hypixel.hytale.component.ComponentAccessor;
class="kw">import com.hypixel.hytale.component.Ref;
class="kw">import com.hypixel.hytale.server.core.universe.world.storage.EntityStore;
class="kw">import com.hypixel.hytale.server.npc.instructions.ExecutionSupport;
class="kw">import com.hypixel.hytale.server.npc.instructions.RoleStateChange;
class="kw">import javax.annotation.Nonnull;

class="kw">public class="kw">interface ISensorEntityCollector class="kw">extends RoleStateChange {
   ISensorEntityCollector DEFAULT = new ISensorEntityCollector() {
      @Override
      class="kw">public void init(@Nonnull Ref<EntityStore> var1, @Nonnull ExecutionSupport var2, @Nonnull ComponentAccessor<EntityStore> var3) {
      }

      @Override
      class="kw">public void collectMatching(@Nonnull Ref<EntityStore> var1, @Nonnull Ref<EntityStore> var2, @Nonnull ComponentAccessor<EntityStore> var3) {
      }

      @Override
      class="kw">public void collectNonMatching(@Nonnull Ref<EntityStore> var1, @Nonnull ComponentAccessor<EntityStore> var2) {
      }

      @Override
      class="kw">public boolean terminateOnFirstMatch() {
         class="kw">return true;
      }

      @Override
      class="kw">public void cleanup() {
      }
   };

   void init(@Nonnull Ref<EntityStore> var1, @Nonnull ExecutionSupport var2, @Nonnull ComponentAccessor<EntityStore> var3);

   void collectMatching(@Nonnull Ref<EntityStore> var1, @Nonnull Ref<EntityStore> var2, @Nonnull ComponentAccessor<EntityStore> var3);

   void collectNonMatching(@Nonnull Ref<EntityStore> var1, @Nonnull ComponentAccessor<EntityStore> var2);

   boolean terminateOnFirstMatch();

   void cleanup();
}