IAdditionalDataProviderpublic abstract class AbstractEntityItem extends Entity
canBreathe, canClimb, canSwim, chunkX, chunkY, currentAiTask, dead, facing, fallStartY, interpolationX, interpolationY, isClimbing, isFalling, lastSyncX, lastSyncY, submergedLiquid, ticksExistedcollidedHor, collidedVert, currentBounds, lastTickX, lastTickY, motionX, motionY, onGround, world| Constructor | Description |
|---|---|
AbstractEntityItem(IWorld world) |
| Modifier and Type | Method | Description |
|---|---|---|
abstract boolean |
canPickUp() |
|
abstract ItemInstance |
getItem() |
|
abstract void |
setItem(ItemInstance instance) |
|
static AbstractEntityItem |
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, 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 AbstractEntityItem(IWorld world)
public static AbstractEntityItem 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()