Package org.core.entity.scene.itemframe
Interface ItemFrame<E extends Entity<?>>
- All Superinterfaces:
AttachableEntity<E>
,Entity<E>
,ItemHoldingEntity<E>
,LivingEntity<E>
,Positionable<SyncExactPosition>
- All Known Subinterfaces:
ItemFrameSnapshot
,LiveItemFrame
-
Method Summary
Modifier and TypeMethodDescriptionboolean
default EntityType<LiveItemFrame,ItemFrameSnapshot>
getType()
Gets the type of the entityvoid
setItemRotation(Direction direction, boolean flip)
Methods inherited from interface org.core.entity.scene.AttachableEntity
getDirection, getDirections, setDirection
Methods inherited from interface org.core.entity.Entity
addPassengers, addPassengers, clearPassengers, createSnapshot, getAttachedTo, getCustomNameComponent, getFacingDirection, getPassengers, getPitch, getPosition, getRoll, getVelocity, getYaw, hasGravity, hasPassengers, isCustomNameVisible, isOnGround, isRemoved, removePassengers, removePassengers, setCustomName, setCustomName, setCustomNameVisible, setGravity, setPitch, setPosition, setPosition, setPosition, setPosition, setRoll, setVelocity, setVelocity, setYaw
Methods inherited from interface org.core.entity.ItemHoldingEntity
getHoldingItem
-
Method Details
-
setItem
-
getItemRotation
Direction getItemRotation() -
getItemRotationFlip
boolean getItemRotationFlip() -
setItemRotation
- Throws:
DirectionNotSupported
-
getType
Description copied from interface:Entity
Gets the type of the entity
-