Skip to content

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.

ConstantDescription
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.
FieldTypeContents
AnyPositionEnumSet<Feature>Player, NPC, Drop, Position
AnyEntityEnumSet<Feature>Player, NPC, Drop
LiveEntityEnumSet<Feature>Player, NPC
public String get()

Returns the human-readable description.

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