ProjectileConfig

public class ProjectileConfig implements JsonAssetWithMap, DefaultAssetMap, ProjectileConfig>>, NetworkSerializable, BallisticData

Class ProjectileConfig. Provides projectileconfig functionality for the Hytale server.

java.lang.Object > ProjectileConfig

Field Summary

data

protected AssetExtraInfo.Data data

Field data.

id

protected String id

Field id.

physicsConfig

protected PhysicsConfig physicsConfig

Field physicsConfig.

model

protected String model

Field model.

generatedModel

protected Model generatedModel

Field generatedModel.

launchForce

protected double launchForce

Field launchForce.

spawnOffset

protected Vector3f spawnOffset

Field spawnOffset.

spawnRotationOffset

protected Direction spawnRotationOffset

Field spawnRotationOffset.

launchLocalSoundEventId

protected String launchLocalSoundEventId

Field launchLocalSoundEventId.

launchWorldSoundEventId

protected String launchWorldSoundEventId

Field launchWorldSoundEventId.

projectileSoundEventId

protected String projectileSoundEventId

Field projectileSoundEventId.

launchLocalSoundEventIndex

protected int launchLocalSoundEventIndex

Field launchLocalSoundEventIndex.

launchWorldSoundEventIndex

protected int launchWorldSoundEventIndex

Field launchWorldSoundEventIndex.

projectileSoundEventIndex

protected int projectileSoundEventIndex

Field projectileSoundEventIndex.

index

final int index

Field index.

modelAsset

final ModelAsset modelAsset

Field modelAsset.

offset

final Vector3d offset

Field offset.

config

final com.hypixel.hytale.protocol.ProjectileConfig config

Field config.

Method Detail

ProjectileConfig

public public ProjectileConfig ()

Method ProjectileConfig.

getAssetStore

public > getAssetStore ()

Method getAssetStore.

getAssetMap

public ProjectileConfig> getAssetMap ()

Method getAssetMap.

getId

public String getId ()

Method getId.

processConfig

protected void processConfig ()

Method processConfig.

getPhysicsConfig

public PhysicsConfig getPhysicsConfig ()

Method getPhysicsConfig.

getModel

public Model getModel ()

Method getModel.

getLaunchForce

public double getLaunchForce ()

Method getLaunchForce.

getMuzzleVelocity

public double getMuzzleVelocity ()

Method getMuzzleVelocity.

getGravity

public double getGravity ()

Method getGravity.

getVerticalCenterShot

public double getVerticalCenterShot ()

Method getVerticalCenterShot.

getDepthShot

public double getDepthShot ()

Method getDepthShot.

isPitchAdjustShot

public boolean isPitchAdjustShot ()

Method isPitchAdjustShot.

getInteractions

public String> getInteractions ()

Method getInteractions.

getLaunchWorldSoundEventIndex

public int getLaunchWorldSoundEventIndex ()

Method getLaunchWorldSoundEventIndex.

getProjectileSoundEventIndex

public int getProjectileSoundEventIndex ()

Method getProjectileSoundEventIndex.

getSpawnOffset

public Vector3f getSpawnOffset ()

Method getSpawnOffset.

getSpawnRotationOffset

public Direction getSpawnRotationOffset ()

Method getSpawnRotationOffset.

getCalculatedOffset

public Vector3d getCalculatedOffset (final float pitch, final float yaw)

Method getCalculatedOffset.

Parameters:
final float pitch
final float yaw

toPacket

public com.hypixel.hytale.protocol.ProjectileConfig toPacket ()

Method toPacket.