Class ProjectileComponent

java.lang.Object
com.hypixel.hytale.server.core.entity.entities.ProjectileComponent
All Implemented Interfaces:
Component<EntityStore>, Cloneable

public class ProjectileComponent extends Object implements Component<EntityStore>
  • Field Details

    • CODEC

      @Nonnull public static final BuilderCodec<ProjectileComponent> CODEC
    • DEFAULT_DESPAWN_SECONDS

      private static final double DEFAULT_DESPAWN_SECONDS
      See Also:
    • simplePhysicsProvider

      private transient SimplePhysicsProvider simplePhysicsProvider
    • appearance

      private transient String appearance
    • projectile

      @Nullable private transient Projectile projectile
    • projectileAssetName

      private String projectileAssetName
    • brokenDamageModifier

      private float brokenDamageModifier
    • deadTimer

      private double deadTimer
    • creatorUuid

      private UUID creatorUuid
    • haveHit

      private boolean haveHit
    • lastBouncePosition

      private Vector3d lastBouncePosition
  • Constructor Details

    • ProjectileComponent

      private ProjectileComponent()
    • ProjectileComponent

      public ProjectileComponent(@Nonnull String projectileAssetName)
    • ProjectileComponent

      public ProjectileComponent(@Nonnull ProjectileComponent other)
  • Method Details