Contents
Class NearbyCountCondition
java.lang.Object
com.hypixel.hytale.server.npc.decisionmaker.core.conditions.base.Condition
com.hypixel.hytale.server.npc.decisionmaker.core.conditions.base.ScaledCurveCondition
com.hypixel.hytale.server.npc.decisionmaker.core.conditions.NearbyCountCondition
- All Implemented Interfaces:
JsonAsset<String>, JsonAssetWithMap<String, IndexedLookupTableAssetMap<String, Condition>>
-
Field Summary
FieldsFields inherited from class ScaledCurveCondition
ABSTRACT_CODEC -
Method Summary
Modifier and TypeMethodDescriptionintdoublegetRange()voidsetupNPC(ExecutionSupport executionSupport) This method is called when an NPC is instantiated in order to initialise certain parameters on the NPC to be able to supply requisite information for the conditiontoString()Methods inherited from class ScaledCurveCondition
calculateUtility, getResponseCurve, getSimplicityMethods inherited from class Condition
getAlwaysTrueFor, getAssetMap, getAssetStore, getId, getReference, setupNPC
-
Field Details
-
CODEC
-
-
Method Details
-
getRange
public double getRange() -
getNpcGroup
-
getNpcGroupIndex
public int getNpcGroupIndex() -
setupNPC
Description copied from class:ConditionThis method is called when an NPC is instantiated in order to initialise certain parameters on the NPC to be able to supply requisite information for the condition -
toString
- Overrides:
toStringin classScaledCurveCondition
-