HyCodeYourTale
classpublicPriority 1

ProjectileConfig

com.hypixel.hytale.server.core.modules.projectile.config.ProjectileConfig

implements JsonAssetWithMap<String, DefaultAssetMap<String, ProjectileConfig>>, NetworkSerializable, BallisticData

18

Methods

18

Public Methods

13

Fields

1

Constructors

Constants

AssetBuilderCodec<String, ProjectileConfig>CODEC= AssetBuilderCodec.builder( ProjectileConfig.class, ProjectileConfig::new, ...
ValidatorCache<String>VALIDATOR_CACHE= new ValidatorCache<>(new AssetKeyValidator<>(ProjectileConfig::getAssetStore))

Constructors

public
ProjectileConfig()

Methods

Public Methods (18)

publicstatic
DefaultAssetMap<String, ProjectileConfig> getAssetMap()
@Nonnull
publicstatic
AssetStore<String, ProjectileConfig, DefaultAssetMap<String, ProjectileConfig>> getAssetStore()
@Nonnull
public
Vector3d getCalculatedOffset(float pitch, float yaw)
@Nonnull
public
double getDepthShot()
@Override
public
double getGravity()
@Override
public
String getId()
@Nullable
public
Map<InteractionType, String> getInteractions()
public
double getLaunchForce()
public
int getLaunchWorldSoundEventIndex()
public
Model getModel()
@Nonnull
public
double getMuzzleVelocity()
@Override
public
PhysicsConfig getPhysicsConfig()
@Nonnull
public
int getProjectileSoundEventIndex()
public
Vector3f getSpawnOffset()
@Nonnull
public
Direction getSpawnRotationOffset()
@Nonnull
public
double getVerticalCenterShot()
@Override
public
boolean isPitchAdjustShot()
@Override
public
com.hypixel.hytale.protocol.ProjectileConfig toPacket()
@Nonnull

Fields

Protected Fields (12)

protectedAssetExtraInfo.Data data
protectedModel generatedModel
protectedString id
protecteddouble launchForce
protectedString launchLocalSoundEventId
protectedint launchLocalSoundEventIndex
protectedString launchWorldSoundEventId
protectedint launchWorldSoundEventIndex
protectedString model
protectedPhysicsConfig physicsConfig
protectedString projectileSoundEventId
protectedint projectileSoundEventIndex

Private/Package Fields (1)

privateAssetStore<String, ProjectileConfig, DefaultAssetMap<String, ProjectileConfig>> ASSET_STORE

Related Classes