Class EntityHostile

All Implemented Interfaces:
org.cloudburstmc.api.entity.Creature, org.cloudburstmc.api.entity.Damageable, org.cloudburstmc.api.entity.Entity, org.cloudburstmc.api.entity.Living, org.cloudburstmc.api.inventory.InventoryHolder
Direct Known Subclasses:
EntityBlaze, EntityCaveSpider, EntityCreeper, EntityDeprecatedZombieVillager, EntityDrowned, EntityElderGuardian, EntityEnderDragon, EntityEnderman, EntityEndermite, EntityEvocationIllager, EntityGhast, EntityGuardian, EntityHusk, EntityMagmaCube, EntityPhantom, EntityPillager, EntityRavager, EntityShulker, EntitySilverfish, EntitySkeleton, EntitySlime, EntitySpider, EntityStray, EntityVex, EntityVindicator, EntityWitch, EntityWither, EntityWitherSkeleton, EntityZombie, EntityZombiePigman, EntityZombieVillager

public abstract class EntityHostile extends EntityCreature
author: MagicDroidX Nukkit Project
  • Constructor Details

    • EntityHostile

      public EntityHostile(org.cloudburstmc.api.entity.EntityType<?> type, org.cloudburstmc.api.level.Location location)
  • Method Details

    • onInteract

      public boolean onInteract(org.cloudburstmc.api.player.Player player, org.cloudburstmc.api.item.ItemStack item, com.nukkitx.math.vector.Vector3f clickedPos)
      Specified by:
      onInteract in interface org.cloudburstmc.api.entity.Entity
      Overrides:
      onInteract in class BaseEntity