Interface DroppedItemSnapshot
- All Superinterfaces:
DroppedItem<EntitySnapshot<? extends LiveEntity>>
,Entity<EntitySnapshot<? extends LiveEntity>>
,EntitySnapshot<LiveDroppedItem>
,ItemHoldingEntity<EntitySnapshot<? extends LiveEntity>>
,LivingEntity<EntitySnapshot<? extends LiveEntity>>
,Positionable<SyncExactPosition>
public interface DroppedItemSnapshot
extends DroppedItem<EntitySnapshot<? extends LiveEntity>>, EntitySnapshot<LiveDroppedItem>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.core.entity.EntitySnapshot
EntitySnapshot.NoneDestructibleSnapshot<E extends LiveEntity>
-
Method Summary
Modifier and TypeMethodDescriptiondefault EntityType<LiveDroppedItem,DroppedItemSnapshot>
getType()
Gets the type of the entityMethods inherited from interface org.core.entity.scene.droppeditem.DroppedItem
createSnapshot, getPickupDelayTicks, setPickupDelay, setPickupDelay
Methods inherited from interface org.core.entity.Entity
addPassengers, addPassengers, clearPassengers, 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.EntitySnapshot
createSnapshot, getCreatedFrom, spawnEntity
-
Method Details
-
getHoldingItem
SlotSnapshot getHoldingItem()- Specified by:
getHoldingItem
in interfaceItemHoldingEntity<EntitySnapshot<? extends LiveEntity>>
-
getType
Description copied from interface:Entity
Gets the type of the entity- Specified by:
getType
in interfaceDroppedItem<EntitySnapshot<? extends LiveEntity>>
- Specified by:
getType
in interfaceEntity<EntitySnapshot<? extends LiveEntity>>
- Returns:
- The Entity Type
-