Package org.core.entity.living
Interface ArmoredEntity<E extends Entity<?>>
- All Superinterfaces:
Entity<E>
,InventoryHoldingEntity<E>
,ItemHoldingEntity<E>
,LivingEntity<E>
,Positionable<SyncExactPosition>
- All Known Subinterfaces:
ClassicZombie<E>
,ClassicZombieSnapshot
,LiveClassicZombie
,Zombie<E>
,ZombieVillager<E>
public interface ArmoredEntity<E extends Entity<?>>
extends ItemHoldingEntity<E>, InventoryHoldingEntity<E>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ArmorPart
getArmor()
default Slot
BasicEntityInventory<? extends LiveEntity>
Methods inherited from interface org.core.entity.Entity
addPassengers, addPassengers, clearPassengers, createSnapshot, getAttachedTo, getCustomNameComponent, getFacingDirection, getPassengers, getPitch, getPosition, getRoll, getType, getVelocity, getYaw, hasGravity, hasPassengers, isCustomNameVisible, isOnGround, isRemoved, removePassengers, removePassengers, setCustomName, setCustomName, setCustomNameVisible, setGravity, setPitch, setPosition, setPosition, setPosition, setPosition, setRoll, setVelocity, setVelocity, setYaw
-
Method Details
-
getInventory
BasicEntityInventory<? extends LiveEntity> getInventory()- Specified by:
getInventory
in interfaceInventoryHoldingEntity<E extends Entity<?>>
-
getArmor
-
getHoldingItem
- Specified by:
getHoldingItem
in interfaceItemHoldingEntity<E extends Entity<?>>
-