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 TypeMethodDescriptionbooleandefault EntityType<LiveItemFrame,ItemFrameSnapshot>getType()Gets the type of the entityvoidsetItemRotation(Direction direction, boolean flip)Methods inherited from interface org.core.entity.scene.AttachableEntity
getDirection, getDirections, setDirectionMethods 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, setYawMethods 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:EntityGets the type of the entity
-