Package de.ellpeck.rockbottom.api.entity
Class AbstractBoomerangEntity
java.lang.Object
de.ellpeck.rockbottom.api.entity.MovableWorldObject
de.ellpeck.rockbottom.api.entity.Entity
de.ellpeck.rockbottom.api.entity.AbstractBoomerangEntity
- All Implemented Interfaces:
IAdditionalDataProvider
-
Nested Class Summary
Nested classes/interfaces inherited from class de.ellpeck.rockbottom.api.entity.Entity
Entity.IFactory -
Field Summary
Fields inherited from class de.ellpeck.rockbottom.api.entity.Entity
canBreathe, canClimb, canSwim, chunkX, chunkY, currentAiTask, dead, facing, fallStartY, interpolationX, interpolationY, isClimbing, isDropping, isFalling, isFlying, lastSyncX, lastSyncY, submergedLiquid, ticksExistedFields inherited from class de.ellpeck.rockbottom.api.entity.MovableWorldObject
collidedHor, collidedVert, currentBounds, lastTickX, lastTickY, motionX, motionY, onGround, world -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract ItemInstancegetItem()abstract doubleabstract doubleabstract doubleabstract voidsetItem(ItemInstance item) abstract voidsetMaxDistance(double maxDistance) abstract voidsetStart(double x, double y) Methods inherited from class de.ellpeck.rockbottom.api.entity.Entity
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, updateMethods inherited from class de.ellpeck.rockbottom.api.entity.MovableWorldObject
canCollideWithTile, getLerpedX, getLerpedY, getOriginX, getOriginY, getX, getY, move, resetBounds, setBounds, setBoundsOrigin, setPos
-
Constructor Details
-
AbstractBoomerangEntity
-
-
Method Details
-
setStart
public abstract void setStart(double x, double y) -
getStartX
public abstract double getStartX() -
getStartY
public abstract double getStartY() -
getMaxDistanceSq
public abstract double getMaxDistanceSq() -
setMaxDistance
public abstract void setMaxDistance(double maxDistance) -
getItem
-
setItem
-