abstract class DeployableConfig implements NetworkSerializable
Class DeployableConfig. Provides deployableconfig functionality for the Hytale server.
java.lang.Object > DeployableConfig
Field Summary
deploySoundEventId
Field deploySoundEventId.
despawnSoundEventId
Field despawnSoundEventId.
dieSoundEventId
Field dieSoundEventId.
ambientSoundEventId
Field ambientSoundEventId.
spawnParticles
Field spawnParticles.
despawnParticles
Field despawnParticles.
generatedModel
Field generatedModel.
generatedModelPreview
Field generatedModelPreview.
hitboxCollisionConfigId
Field hitboxCollisionConfigId.
hitboxCollisionConfigIndex
Field hitboxCollisionConfigIndex.
id
Field id.
maxLiveCount
Field maxLiveCount.
model
Field model.
modelPreview
Field modelPreview.
modelScale
Field modelScale.
liveDuration
Field liveDuration.
invulnerable
Field invulnerable.
debugVisuals
Field debugVisuals.
allowPlaceOnWalls
Field allowPlaceOnWalls.
wireframeDebugVisuals
Field wireframeDebugVisuals.
countTowardsGlobalLimit
Field countTowardsGlobalLimit.
externalData
Field externalData.
networkIdComponent
Field networkIdComponent.
ref
Field ref.
config
Field config.
max
Field max.
initial
Field initial.
Method Detail
DeployableConfig
protected
DeployableConfig
()
Method DeployableConfig.
playAnimation
void
playAnimation
(@Nonnull final Store store, @Nonnull final Ref ref, @Nonnull final DeployableConfig config, @Nonnull final String animationSetKey)
Method playAnimation.
- Parameters:
@Nonnull final Storestore@Nonnull final Refref@Nonnull final DeployableConfigconfig@Nonnull final StringanimationSetKey
stopAnimation
void
stopAnimation
(@Nonnull final Store store, @Nonnull final ArchetypeChunk archetypeChunk, final int index)
Method stopAnimation.
- Parameters:
@Nonnull final Storestore@Nonnull final ArchetypeChunkarchetypeChunkfinal intindex
getHitboxCollisionConfigIndex
int
getHitboxCollisionConfigIndex
()
Method getHitboxCollisionConfigIndex.
getLiveDurationInMillis
long
getLiveDurationInMillis
()
Method getLiveDurationInMillis.
getLiveDuration
float
getLiveDuration
()
Method getLiveDuration.
getId
String
getId
()
Method getId.
getMaxLiveCount
int
getMaxLiveCount
()
Method getMaxLiveCount.
getInvulnerable
boolean
getInvulnerable
()
Method getInvulnerable.
getStatValues
StatConfig>
getStatValues
()
Method getStatValues.
getDespawnSoundEventIndex
int
getDespawnSoundEventIndex
()
Method getDespawnSoundEventIndex.
getDeploySoundEventIndex
int
getDeploySoundEventIndex
()
Method getDeploySoundEventIndex.
getDieSoundEventIndex
int
getDieSoundEventIndex
()
Method getDieSoundEventIndex.
getAmbientSoundEventIndex
int
getAmbientSoundEventIndex
()
Method getAmbientSoundEventIndex.
getSpawnParticles
ModelParticle[]
getSpawnParticles
()
Method getSpawnParticles.
getDespawnParticles
ModelParticle[]
getDespawnParticles
()
Method getDespawnParticles.
getDebugVisuals
boolean
getDebugVisuals
()
Method getDebugVisuals.
getAllowPlaceOnWalls
boolean
getAllowPlaceOnWalls
()
Method getAllowPlaceOnWalls.
getWireframeDebugVisuals
boolean
getWireframeDebugVisuals
()
Method getWireframeDebugVisuals.
getCountTowardsGlobalLimit
boolean
getCountTowardsGlobalLimit
()
Method getCountTowardsGlobalLimit.
tick
void
tick
(@Nonnull final DeployableComponent deployableComponent, final float dt, final int index, @Nonnull final ArchetypeChunk archetypeChunk, @Nonnull final Store store, @Nonnull final CommandBuffer commandBuffer)
Method tick.
- Parameters:
@Nonnull final DeployableComponentdeployableComponentfinal floatdtfinal intindex@Nonnull final ArchetypeChunkarchetypeChunk@Nonnull final Storestore@Nonnull final CommandBuffercommandBuffer
firstTick
void
firstTick
(@Nonnull final DeployableComponent deployableComponent, final float dt, final int index, @Nonnull final ArchetypeChunk archetypeChunk, @Nonnull final Store store, @Nonnull final CommandBuffer commandBuffer)
Method firstTick.
- Parameters:
@Nonnull final DeployableComponentdeployableComponentfinal floatdtfinal intindex@Nonnull final ArchetypeChunkarchetypeChunk@Nonnull final Storestore@Nonnull final CommandBuffercommandBuffer
toPacket
com.hypixel.hytale.protocol.DeployableConfig
toPacket
()
Method toPacket.
toString
String
toString
()
Method toString.
deployment
upon
deployment
(at deployment location)
Method deployment.
- Parameters:
at deploymentlocation
StatConfig
private
StatConfig
()
Method StatConfig.
getMax
float
getMax
()
Method getMax.
getInitial
float
getInitial
()
Method getInitial.