Class EntityEnderCrystal

java.lang.Object
org.cloudburstmc.server.entity.BaseEntity
org.cloudburstmc.server.entity.misc.EntityEnderCrystal
All Implemented Interfaces:
org.cloudburstmc.api.entity.Entity, org.cloudburstmc.api.entity.Explosive, org.cloudburstmc.api.entity.misc.EnderCrystal

public class EntityEnderCrystal extends BaseEntity implements org.cloudburstmc.api.entity.misc.EnderCrystal, org.cloudburstmc.api.entity.Explosive
Created by PetteriM1
  • Constructor Details

    • EntityEnderCrystal

      public EntityEnderCrystal(org.cloudburstmc.api.entity.EntityType<org.cloudburstmc.api.entity.misc.EnderCrystal> type, org.cloudburstmc.api.level.Location location)
  • Method Details

    • initEntity

      protected void initEntity()
      Overrides:
      initEntity in class BaseEntity
    • getHeight

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

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

      public boolean attack(org.cloudburstmc.api.event.entity.EntityDamageEvent source)
      Specified by:
      attack in interface org.cloudburstmc.api.entity.Entity
      Overrides:
      attack in class BaseEntity
    • explode

      public void explode()
      Specified by:
      explode in interface org.cloudburstmc.api.entity.Explosive
    • canCollideWith

      public boolean canCollideWith(org.cloudburstmc.api.entity.Entity entity)
      Specified by:
      canCollideWith in interface org.cloudburstmc.api.entity.Entity
      Overrides:
      canCollideWith in class BaseEntity
    • showBase

      public boolean showBase()
    • setShowBase

      public void setShowBase(boolean value)