Feature
Package: com.hypixel.hytale.server.npc.asset.builder
public enum Feature implements Supplier<String>Defines the features (target types and capabilities) that NPC builders can require or provide. Used by the feature evaluator system to ensure that actions and motions have access to the target types they need.
Constants
Section titled “Constants”| Constant | Description |
|---|---|
Player | "player target" — requires a player target. |
NPC | "NPC target" — requires an NPC target. |
Drop | "dropped item target" — requires a dropped item target. |
Position | "vector position" — requires a position vector. |
Path | "path" — requires a navigation path. |
Static Fields
Section titled “Static Fields”| Field | Type | Contents |
|---|---|---|
AnyPosition | EnumSet<Feature> | Player, NPC, Drop, Position |
AnyEntity | EnumSet<Feature> | Player, NPC, Drop |
LiveEntity | EnumSet<Feature> | Player, NPC |
Methods
Section titled “Methods”public String get()Returns the human-readable description.
Related Types
Section titled “Related Types”- FeatureEvaluatorHelper — evaluates feature requirements
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.