Class EntitySnowball

All Implemented Interfaces:
org.cloudburstmc.api.entity.Entity, org.cloudburstmc.api.entity.Projectile, org.cloudburstmc.api.entity.projectile.Snowball

public class EntitySnowball extends EntityProjectile implements org.cloudburstmc.api.entity.projectile.Snowball
author: MagicDroidX Nukkit Project
  • Constructor Details

    • EntitySnowball

      public EntitySnowball(org.cloudburstmc.api.entity.EntityType<org.cloudburstmc.api.entity.projectile.Snowball> type, org.cloudburstmc.api.level.Location location)
  • Method Details

    • getWidth

      public float getWidth()
      Specified by:
      getWidth in interface org.cloudburstmc.api.entity.Entity
      Overrides:
      getWidth in class BaseEntity
    • getLength

      public float getLength()
      Specified by:
      getLength in interface org.cloudburstmc.api.entity.Entity
      Overrides:
      getLength in class BaseEntity
    • getHeight

      public float getHeight()
      Specified by:
      getHeight in interface org.cloudburstmc.api.entity.Entity
      Overrides:
      getHeight in class BaseEntity
    • getGravity

      public float getGravity()
      Specified by:
      getGravity in interface org.cloudburstmc.api.entity.Entity
      Overrides:
      getGravity in class BaseEntity
    • getDrag

      public float getDrag()
      Specified by:
      getDrag in interface org.cloudburstmc.api.entity.Entity
      Overrides:
      getDrag in class BaseEntity
    • onUpdate

      public boolean onUpdate(int currentTick)
      Specified by:
      onUpdate in interface org.cloudburstmc.api.entity.Entity
      Overrides:
      onUpdate in class EntityProjectile