SensorWithEntityFilters
Package: com.hypixel.hytale.server.npc.corecomponents
public abstract class SensorWithEntityFilters extends SensorBase implements IAnnotatedComponentCollectionFields
Section titled “Fields”| Modifier | Type | Name |
|---|---|---|
@Nonnull private final | IEntityFilter[] | filters |
Constructors
Section titled “Constructors”| Modifier | Signature |
|---|---|
public | SensorWithEntityFilters(@Nonnull BuilderSensorBase builderSensorBase, @Nonnull IEntityFilter[] filters) |
Methods
Section titled “Methods”| Modifier | Return Type | Signature |
|---|---|---|
@Override public | void | registerWithSupport(Role role) |
@Override public | void | `motionControllerChanged(@Nullable 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.