Class BuilderRole

All Implemented Interfaces:
NamedSchema, SchemaConvertable<Void>, Builder<Role>, BuilderContext, SpawnEffect, ISpawnable, ISpawnableWithModel
Direct Known Subclasses:
BuilderRoleAbstract

public class BuilderRole extends SpawnableWithModelBuilder<Role> implements SpawnEffect
  • Field Details

    • displayNames

      protected String[] displayNames
    • appearance

      protected final AssetHolder appearance
    • dropListId

      protected final AssetHolder dropListId
    • maxHealth

      protected final IntHolder maxHealth
    • startState

      protected String startState
    • defaultSubState

      protected String defaultSubState
    • startStateIndex

      protected int startStateIndex
    • startSubStateIndex

      protected int startSubStateIndex
    • parsedDebugFlags

      protected final EnumSet<RoleDebugFlags> parsedDebugFlags
    • debugFlags

      protected String debugFlags
    • inertia

      protected double inertia
    • knockbackScale

      protected double knockbackScale
    • opaqueBlockSet

      protected String opaqueBlockSet
    • applyAvoidance

      protected boolean applyAvoidance
    • entityAvoidanceStrength

      protected double entityAvoidanceStrength
    • collisionDistance

      protected double collisionDistance
    • collisionForceFalloff

      protected double collisionForceFalloff
    • collisionRadius

      protected double collisionRadius
    • collisionViewAngle

      protected float collisionViewAngle
    • separationDistance

      protected double separationDistance
    • separationWeight

      protected double separationWeight
    • separationDistanceTarget

      protected double separationDistanceTarget
    • separationNearRadiusTarget

      protected double separationNearRadiusTarget
    • separationFarRadiusTarget

      protected double separationFarRadiusTarget
    • applySeparation

      protected final BooleanHolder applySeparation
    • stayInEnvironment

      protected boolean stayInEnvironment
    • allowedEnvironments

      protected String allowedEnvironments
    • flockSpawnTypes

      protected final StringArrayHolder flockSpawnTypes
    • flockSpawnTypeRandom

      protected final BooleanHolder flockSpawnTypeRandom
    • flockAllowedRoles

      protected final StringArrayHolder flockAllowedRoles
    • canLeadFlock

      protected final BooleanHolder canLeadFlock
    • spawnLockTime

      protected final FloatHolder spawnLockTime
    • flockWeightAlignment

      protected double flockWeightAlignment
    • flockWeightSeparation

      protected double flockWeightSeparation
    • flockWeightCohesion

      protected double flockWeightCohesion
    • flockInfluenceRange

      protected double flockInfluenceRange
    • corpseStaysInFlock

      protected boolean corpseStaysInFlock
    • invulnerable

      protected final BooleanHolder invulnerable
    • breathesInAir

      protected final BooleanHolder breathesInAir
    • breathesInWater

      protected final BooleanHolder breathesInWater
    • hotbarItems

      protected final AssetArrayHolder hotbarItems
    • offHandItems

      protected final AssetArrayHolder offHandItems
    • inventoryItemsDropList

      protected final AssetHolder inventoryItemsDropList
    • defaultOffHandSlot

      protected final IntHolder defaultOffHandSlot
    • pickupDropOnDeath

      protected boolean pickupDropOnDeath
    • armor

      protected String[] armor
    • deathAnimationTime

      protected double deathAnimationTime
    • despawnAnimationTime

      protected float despawnAnimationTime
    • deathInteraction

      @Nonnull protected AssetHolder deathInteraction
    • avoidanceMode

      protected Role.AvoidanceMode avoidanceMode
    • disableDamageFlock

      protected boolean disableDamageFlock
    • disableDamageGroups

      protected final AssetArrayHolder disableDamageGroups
    • spawnParticles

      protected String spawnParticles
    • spawnParticleOffset

      protected double[] spawnParticleOffset
    • spawnViewDistance

      protected double spawnViewDistance
    • inventorySlots

      protected int inventorySlots
    • hotbarSlots

      protected int hotbarSlots
    • offHandSlots

      protected int offHandSlots
    • defaultPlayerAttitude

      protected final EnumHolder<Attitude> defaultPlayerAttitude
    • defaultNPCAttitude

      protected final EnumHolder<Attitude> defaultNPCAttitude
    • attitudeGroup

      protected final AssetHolder attitudeGroup
    • itemAttitudeGroup

      protected final AssetHolder itemAttitudeGroup
    • busyStates

      protected it.unimi.dsi.fastutil.ints.Int2ObjectMap<it.unimi.dsi.fastutil.ints.IntSet> busyStates
    • motionControllers

      protected final BuilderObjectReferenceHelper<Map<String,com.hypixel.hytale.server.npc.movement.controllers.MotionController>> motionControllers
    • instructionList

      protected final BuilderObjectListHelper<Instruction> instructionList
    • interactionInstruction

      protected final BuilderObjectReferenceHelper<Instruction> interactionInstruction
    • deathInstruction

      protected final BuilderObjectReferenceHelper<Instruction> deathInstruction
    • stateTransitionController

      protected final BuilderObjectReferenceHelper<StateTransitionController> stateTransitionController
    • initialMotionController

      protected final StringHolder initialMotionController
    • stateEvaluator

      protected final BuilderCodecObjectHelper<StateEvaluator> stateEvaluator
    • combatConfig

      protected final BuilderCombatConfig combatConfig
    • interactionVars

      protected final BuilderTemplateInteractionVars interactionVars
    • isMemory

      protected final BooleanHolder isMemory
    • memoriesCategory

      protected final StringHolder memoriesCategory
    • memoriesNameOverride

      protected final StringHolder memoriesNameOverride
    • nameTranslationKey

      protected final StringHolder nameTranslationKey
  • Constructor Details

    • BuilderRole

      public BuilderRole()
  • Method Details