classpublicPriority 3
BuilderRole
com.hypixel.hytale.server.npc.role.builders.BuilderRole
extends SpawnableWithModelBuilder
implements SpawnEffect
89
Methods
89
Public Methods
39
Fields
1
Constructors
Constructors
public
BuilderRole()Methods
Public Methods (89)
public
Role build(BuilderSupport builderSupport)@Nonnull
public
SpawnTestResult canSpawn(SpawningContext context)@Nonnull@Override
public
Class<Role> category()@Nonnull@Override
public
Scope createExecutionScope()@Nonnull@Override
public
Scope createModifierScope(ExecutionContext executionContext)@Nullable@Override
public
String getAllowedEnvironments()public
String getAppearance(BuilderSupport builderSupport)public
String[] getArmor()public
int getAttitudeGroup(BuilderSupport support)public
Role.AvoidanceMode getAvoidanceMode()public
String getBalanceAsset(BuilderSupport support)@Nullable
public
BuilderDescriptorState getBuilderDescriptorState()@Nonnull@Override
public
Int2ObjectMap<IntSet> getBusyStates()public
double getCollisionDistance()public
double getCollisionForceFalloff()public
double getCollisionRadius()public
float getCollisionViewAngle()public
double getDeathAnimationTime()public
Instruction getDeathInstruction(BuilderSupport support)@Nullable
public
String getDeathInteraction(BuilderSupport builderSupport)@Nullable
public
EnumSet<RoleDebugFlags> getDebugFlags()@Nonnull
public
Attitude getDefaultNPCAttitude(BuilderSupport support)public
byte getDefaultOffHandSlot(BuilderSupport support)public
Attitude getDefaultPlayerAttitude(BuilderSupport support)public
float getDespawnAnimationTime()public
int[] getDisableDamageGroups(BuilderSupport support)public
String[] getDisplayNames()@Nullable
public
String getDropListId(BuilderSupport builderSupport)public
double getEntityAvoidanceStrength()public
String[] getFlockAllowedRoles(BuilderSupport support)@Nonnull
public
double getFlockInfluenceRange()public
String[] getFlockSpawnTypes(BuilderSupport support)@Nullable
public
double getFlockWeightAlignment()public
double getFlockWeightCohesion()public
double getFlockWeightSeparation()public
String[] getHotbarItems(BuilderSupport support)@Nullable
public
int getHotbarSlots()public
String getIdentifier()@Nonnull@Override
public
double getInertia()public
String getInitialMotionController(BuilderSupport support)public
List<Instruction> getInstructionList(BuilderSupport support)@Nullable
public
Instruction getInteractionInstruction(BuilderSupport support)@Nullable
public
Map<String, String> getInteractionVars(BuilderSupport support)@Nullable
public
String getInventoryItemsDropList(BuilderSupport support)public
int getInventorySlots()public
int getItemAttitudeGroup(BuilderSupport support)public
double getKnockbackScale(BuilderSupport support)public
String getLongDescription()@Nonnull@Override
public
int getMaxHealth(BuilderSupport builderSupport)public
String getMemoriesCategory(ExecutionContext context, Scope modifierScope)@Override
public
String getMemoriesNameOverride(ExecutionContext context, Scope modifierScope)@Override
public
String getMemoriesNameOverride(ExecutionContext context)public
Map<String, MotionController> getMotionControllerMap(BuilderSupport support)@Nullable
public
String getNameTranslationKey(BuilderSupport support)public
String getNameTranslationKey(ExecutionContext context, Scope modifierScope)@Nonnull@Override
public
String[] getOffHandItems(BuilderSupport support)@Nullable
public
int getOffHandSlots()public
int getOpaqueBlockSet()public
double getSeparationDistance()public
double getSeparationDistanceTarget()public
double getSeparationFarRadiusTarget()public
double getSeparationNearRadiusTarget()public
double getSeparationWeight()public
String getShortDescription()@Nonnull@Override
public
float getSpawnLockTime(BuilderSupport support)public
String getSpawnModelName(ExecutionContext context, Scope modifierScope)@Override
public
Vector3d getSpawnParticleOffset()@Override
public
String getSpawnParticles()@Override
public
double getSpawnViewDistance()@Override
public
String getStartState()public
int getStartStateIndex()public
int getStartSubStateIndex()public
StateTransitionController getStateTransitionController(BuilderSupport support)@Nullable
public
boolean isApplySeparation(BuilderSupport support)public
boolean isAvoidingEntities()public
boolean isBreathesInAir(BuilderSupport support)public
boolean isBreathesInWater(BuilderSupport support)public
boolean isCanLeadFlock(BuilderSupport support)public
boolean isCorpseStaysInFlock()public
boolean isDisableDamageFlock()publicfinal
boolean isEnabled(ExecutionContext context)@Override
public
boolean isFlockSpawnTypeRandom(BuilderSupport support)public
boolean isInvulnerable(BuilderSupport support)public
boolean isMemory(ExecutionContext context)public
boolean isMemory(ExecutionContext context, Scope modifierScope)@Override
public
boolean isPickupDropOnDeath()public
boolean isStayingInEnvironment()public
void markNeedsReload()@Override
public
void registerStateEvaluator(BuilderSupport support)Fields
Protected Fields (39)
protected
String allowedEnvironmentsprotected
boolean applyAvoidanceprotected
String[] armorprotected
Role.AvoidanceMode avoidanceModeprotected
Int2ObjectMap<IntSet> busyStatesprotected
double collisionDistanceprotected
double collisionForceFalloffprotected
double collisionRadiusprotected
float collisionViewAngleprotected
boolean corpseStaysInFlockprotected
double deathAnimationTimeprotected
String debugFlagsprotected
String defaultSubStateprotected
float despawnAnimationTimeprotected
boolean disableDamageFlockprotected
String[] displayNamesprotected
double entityAvoidanceStrengthprotected
double flockInfluenceRangeprotected
double flockWeightAlignmentprotected
double flockWeightCohesionprotected
double flockWeightSeparationprotected
int hotbarSlotsprotected
double inertiaprotected
int inventorySlotsprotected
int offHandSlotsprotected
String opaqueBlockSetprotected
boolean pickupDropOnDeathprotected
double separationDistanceprotected
double separationDistanceTargetprotected
double separationFarRadiusTargetprotected
double separationNearRadiusTargetprotected
double separationWeightprotected
double[] spawnParticleOffsetprotected
String spawnParticlesprotected
double spawnViewDistanceprotected
String startStateprotected
int startStateIndexprotected
int startSubStateIndexprotected
boolean stayInEnvironmentRelated Classes
Used By
Vector3dAttitudeBlockSetNPCPluginBuilderBuilderCodecObjectHelperBuilderCombatConfigBuilderDescriptorStateBuilderFactoryBuilderInfoBuilderObjectListHelperBuilderObjectReferenceHelperBuilderSupportBuilderTemplateInteractionVarsBuilderValidationHelperFeatureEvaluatorHelperInstructionContextHelperInstructionTypeSpawnableWithModelBuilderAssetArrayHolder+43 more