Class DeployableTrapSpawnerConfig
java.lang.Object
com.hypixel.hytale.builtin.deployables.config.DeployableConfig
com.hypixel.hytale.builtin.deployables.config.DeployableAoeConfig
com.hypixel.hytale.builtin.deployables.config.DeployableTrapConfig
com.hypixel.hytale.builtin.deployables.config.DeployableTrapSpawnerConfig
- All Implemented Interfaces:
NetworkSerializable<DeployableConfig>
-
Nested Class Summary
Nested classes/interfaces inherited from class com.hypixel.hytale.builtin.deployables.config.DeployableAoeConfig
DeployableAoeConfig.ShapeNested classes/interfaces inherited from class com.hypixel.hytale.builtin.deployables.config.DeployableConfig
DeployableConfig.StatConfig -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BuilderCodec<DeployableTrapSpawnerConfig> private String[]private DeployableSpawner[]Fields inherited from class com.hypixel.hytale.builtin.deployables.config.DeployableTrapConfig
activeDuration, destroyOnTriggered, fuzeDurationFields inherited from class com.hypixel.hytale.builtin.deployables.config.DeployableAoeConfig
attackEnemies, attackOwner, attackTeam, damageAmount, damageCause, damageInterval, effectsToApply, endRadius, height, processedDamageCause, radiusChangeTime, shape, startRadiusFields inherited from class com.hypixel.hytale.builtin.deployables.config.DeployableConfig
ambientSoundEventId, ambientSoundEventIndex, BASE_CODEC, deploySoundEventId, deploySoundEventIndex, despawnParticles, despawnSoundEventId, despawnSoundEventIndex, dieSoundEventId, dieSoundEventIndex, generatedModel, generatedModelPreview, hitboxCollisionConfigId, hitboxCollisionConfigIndex, spawnParticles, statValues -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidonTriggered(Store<EntityStore> store, Ref<EntityStore> ref) voidtick(DeployableComponent deployableComponent, float dt, int index, ArchetypeChunk<EntityStore> archetypeChunk, Store<EntityStore> store, CommandBuffer<EntityStore> commandBuffer) private voidtickDeployAnimationState(Store<EntityStore> store, DeployableComponent component, Ref<EntityStore> entityRef) private voidtickDeploymentState(Store<EntityStore> store, DeployableComponent component, Ref<EntityStore> entityRef) private voidtickDespawnState(DeployableComponent component, Ref<EntityStore> entityRef, Store<EntityStore> store) private voidtickFuzeState(Store<EntityStore> store, DeployableComponent component) private voidtickLiveState(Store<EntityStore> store, DeployableComponent component, Ref<EntityStore> entityRef, CommandBuffer<EntityStore> commandBuffer, float dt) private voidtickTriggeredState(CommandBuffer<EntityStore> commandBuffer, Store<EntityStore> store, DeployableComponent component, Ref<EntityStore> entityRef) Methods inherited from class com.hypixel.hytale.builtin.deployables.config.DeployableTrapConfig
handleDetection, isLive, toStringMethods inherited from class com.hypixel.hytale.builtin.deployables.config.DeployableAoeConfig
applyEffectToTarget, attackTarget, canAttackEntity, getDamageCause, getRadius, handleDebugGraphicsMethods inherited from class com.hypixel.hytale.builtin.deployables.config.DeployableConfig
firstTick, getAllowPlaceOnWalls, getAmbientSoundEventIndex, getCountTowardsGlobalLimit, getDebugVisuals, getDeploySoundEventIndex, getDespawnParticles, getDespawnSoundEventIndex, getDieSoundEventIndex, getHitboxCollisionConfigIndex, getId, getInvulnerable, getLiveDuration, getLiveDurationInMillis, getMaxLiveCount, getModel, getModelPreview, getSpawnParticles, getStatValues, getWireframeDebugVisuals, playAnimation, stopAnimation, toPacket
-
Field Details
-
CODEC
-
deployableSpawnerIds
-
deployableSpawners
-
-
Constructor Details
-
DeployableTrapSpawnerConfig
public DeployableTrapSpawnerConfig()
-
-
Method Details
-
tick
public void tick(@Nonnull DeployableComponent deployableComponent, float dt, int index, @Nonnull ArchetypeChunk<EntityStore> archetypeChunk, @Nonnull Store<EntityStore> store, @Nonnull CommandBuffer<EntityStore> commandBuffer) - Overrides:
tickin classDeployableTrapConfig
-
tickDeploymentState
private void tickDeploymentState(@Nonnull Store<EntityStore> store, @Nonnull DeployableComponent component, @Nonnull Ref<EntityStore> entityRef) -
tickDeployAnimationState
private void tickDeployAnimationState(Store<EntityStore> store, DeployableComponent component, Ref<EntityStore> entityRef) -
tickFuzeState
private void tickFuzeState(@Nonnull Store<EntityStore> store, @Nonnull DeployableComponent component) -
tickLiveState
private void tickLiveState(@Nonnull Store<EntityStore> store, @Nonnull DeployableComponent component, @Nonnull Ref<EntityStore> entityRef, CommandBuffer<EntityStore> commandBuffer, float dt) -
tickTriggeredState
private void tickTriggeredState(CommandBuffer<EntityStore> commandBuffer, @Nonnull Store<EntityStore> store, @Nonnull DeployableComponent component, @Nonnull Ref<EntityStore> entityRef) -
tickDespawnState
private void tickDespawnState(@Nonnull DeployableComponent component, @Nonnull Ref<EntityStore> entityRef, @Nonnull Store<EntityStore> store) -
onTriggered
- Overrides:
onTriggeredin classDeployableTrapConfig
-