Package org.bukkit.entity
Interface ComplexEntityPart
- All Superinterfaces:
CommandSender
,Entity
,Metadatable
,Permissible
,ServerOperator
- All Known Subinterfaces:
EnderDragonPart
public interface ComplexEntityPart extends Entity
Represents a single part of a
ComplexLivingEntity
-
Nested Class Summary
-
Method Summary
Modifier and Type Method Description ComplexLivingEntity
getParent()
Gets the parentComplexLivingEntity
of this part.Methods inherited from interface org.bukkit.entity.Entity
eject, getCustomName, getEntityId, getFallDistance, getFireTicks, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getNearbyEntities, getPassenger, getServer, getTicksLived, getType, getUniqueId, getVehicle, getVelocity, getWorld, isCustomNameVisible, isDead, isEmpty, isInsideVehicle, isOnGround, isValid, leaveVehicle, playEffect, remove, setCustomName, setCustomNameVisible, setFallDistance, setFireTicks, setLastDamageCause, setPassenger, setTicksLived, setVelocity, spigot, teleport, teleport, teleport, teleport
Methods inherited from interface org.bukkit.metadata.Metadatable
getMetadata, hasMetadata, removeMetadata, setMetadata
Methods inherited from interface org.bukkit.permissions.Permissible
addAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachment
-
Method Details
-
getParent
ComplexLivingEntity getParent()Gets the parentComplexLivingEntity
of this part.- Returns:
- Parent complex entity
-