Class DeployableTrapConfig
java.lang.Object
com.hypixel.hytale.builtin.deployables.config.DeployableConfig
com.hypixel.hytale.builtin.deployables.config.DeployableAoeConfig
com.hypixel.hytale.builtin.deployables.config.DeployableTrapConfig
- All Implemented Interfaces:
NetworkSerializable<DeployableConfig>
- Direct Known Subclasses:
DeployableTrapSpawnerConfig
-
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 TypeFieldDescriptionprotected floatstatic final BuilderCodec<DeployableTrapConfig> protected booleanprotected floatFields 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 voidhandleDetection(Store<EntityStore> store, CommandBuffer<EntityStore> commandBuffer, Ref<EntityStore> deployableRef, DeployableComponent deployableComponent, Vector3d position, float radius, DamageCause damageCause) protected booleanisLive(Store<EntityStore> store, DeployableComponent comp) protected voidonTriggered(Store<EntityStore> store, Ref<EntityStore> ref) voidtick(DeployableComponent deployableComponent, float dt, int index, ArchetypeChunk<EntityStore> archetypeChunk, Store<EntityStore> store, CommandBuffer<EntityStore> commandBuffer) toString()Methods 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
-
fuzeDuration
protected float fuzeDuration -
activeDuration
protected float activeDuration -
destroyOnTriggered
protected boolean destroyOnTriggered
-
-
Constructor Details
-
DeployableTrapConfig
protected DeployableTrapConfig()
-
-
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 classDeployableAoeConfig
-
handleDetection
protected void handleDetection(Store<EntityStore> store, CommandBuffer<EntityStore> commandBuffer, Ref<EntityStore> deployableRef, DeployableComponent deployableComponent, Vector3d position, float radius, DamageCause damageCause) - Overrides:
handleDetectionin classDeployableAoeConfig
-
isLive
-
onTriggered
-
toString
- Overrides:
toStringin classDeployableAoeConfig
-