Skip to content

SensorWithEntityFilters

Package: com.hypixel.hytale.server.npc.corecomponents

public abstract class SensorWithEntityFilters extends SensorBase implements IAnnotatedComponentCollection
ModifierTypeName
@Nonnull private finalIEntityFilter[]filters
ModifierSignature
publicSensorWithEntityFilters(@Nonnull BuilderSensorBase builderSensorBase, @Nonnull IEntityFilter[] filters)
ModifierReturn TypeSignature
@Override publicvoidregisterWithSupport(Role role)
@Override publicvoid`motionControllerChanged(@Nullable Ref ref,
@Nonnull NPCEntity npcComponent,
MotionController motionController,
@Nullable ComponentAccessor<EntityStore> componentAccessor)` |

| @Override public | void | loaded(Role role) | | @Override public | void | spawned(Role role) | | @Override public | void | unloaded(Role role) | | @Override public | void | removed(Role role) | | @Override public | void | teleported(Role role, World from, World to) | | @Override public | int | componentCount() | | @Override public | IAnnotatedComponent | getComponent(int index) | | @Override public | void | setContext(IAnnotatedComponent parent, int index) | | protected | boolean | matchesFilters(@Nonnull Ref<EntityStore> ref, @Nonnull Ref<EntityStore> targetRef, @Nonnull Role role, @Nonnull Store<EntityStore> store) | | protected | float | findViewAngleFromFilters() |

Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.