public abstract class AbstractItemEntity extends Entity
Entity.IFactorycanBreathe, canClimb, canSwim, chunkX, chunkY, currentAiTask, dead, facing, fallStartY, interpolationX, interpolationY, isClimbing, isDropping, isFalling, isFlying, lastSyncX, lastSyncY, submergedLiquid, ticksExistedcollidedHor, collidedVert, currentBounds, lastTickX, lastTickY, motionX, motionY, onGround, world| Constructor and Description |
|---|
AbstractItemEntity(IWorld world) |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
canPickUp() |
abstract ItemInstance |
getItem() |
abstract void |
setItem(ItemInstance instance) |
static AbstractItemEntity |
spawn(IWorld world,
ItemInstance inst,
double x,
double y,
double motionX,
double motionY) |
addAiTask, addEffect, applyKnockback, applyMotion, canCollideWith, doesInterpolate, doesSave, doesSync, getActiveEffects, getAdditionalData, getDespawnHandler, getEffectModifier, getEyeHeight, getHeight, getInteractionPriority, getMaxInteractionDistance, getOrCreateAdditionalData, getRegistryName, getRenderer, getRenderPriority, getSyncFrequency, getTask, getTaskId, getUniqueId, getWidth, hasAdditionalData, hasEffect, isDead, load, moveToChunk, moveToWorld, onAttack, onCollideWithEntity, onCollideWithTile, onEntityCollision, onEntityIntersection, onGroundHit, onInteractWith, onInteractWithBreakKey, onIntersectWithEntity, onIntersectWithTile, onPositionReset, onRemoveFromWorld, onTileCollision, onTileIntersection, removeEffect, save, sendToClients, setAdditionalData, setDead, setReadyToRemove, setUniqueId, shouldBeFalling, shouldBeRemoved, shouldMakeChunkPersist, shouldRender, shouldStartClimbing, updatecanCollideWithTile, getLerpedX, getLerpedY, getOriginX, getOriginY, getX, getY, move, resetBounds, setBounds, setBoundsOrigin, setPospublic AbstractItemEntity(IWorld world)
public static AbstractItemEntity spawn(IWorld world, ItemInstance inst, double x, double y, double motionX, double motionY)
public abstract ItemInstance getItem()
public abstract void setItem(ItemInstance instance)
public abstract boolean canPickUp()