public class EntityChestMinecart extends EntityAbstractMinecart implements ChestMinecart
rollingDirectionabsorption, age, blocksAround, boundingBox, chunk, closed, collisionBlockStates, data, deadTicks, effects, entityCollisionReduction, fallDistance, fireProof, fireTicks, firstMove, hasSpawned, health, highestPosition, inBlock, inPortalTicks, invulnerable, isCollided, isCollidedHorizontally, isCollidedVertically, isPlayer, isStatic, justCreated, keepMovement, lastDamageCause, lastMotion, lastPitch, lastPosition, lastUpdate, lastYaw, level, maxFireTicks, motion, motionChanged, noDamageTicks, onGround, passengers, pitch, pitchDelta, position, positionChanged, scale, server, tag, ticksLived, timing, vehicle, yaw, yawDelta, ySize| Constructor and Description |
|---|
EntityChestMinecart(EntityType<ChestMinecart> type,
Location location) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
activate(int x,
int y,
int z,
boolean flag) |
void |
dropItem() |
MinecartType |
getMinecartType() |
void |
initEntity() |
boolean |
isRideable() |
boolean |
mount(Entity entity) |
boolean |
onInteract(Player p,
Item item,
com.nukkitx.math.vector.Vector3f clickedPos) |
attack, canDoInteraction, close, getBaseOffset, getDerailedVelocityMod, getDisplayBlock, getDisplayOffset, getDrag, getFlyingVelocityMod, getHeight, getMaxSpeed, getName, getWidth, hasDisplay, hasNameTag, isSlowWhenEmpty, kill, loadAdditionalData, onEntityCollision, onUpdate, saveAdditionalData, setCurrentSpeed, setDerailedVelocityMod, setDisplay, setDisplayBlock, setDisplayBlockOffset, setFlyingVelocityMod, setMaximumSpeed, setName, setSlowWhenEmptygetDamage, getInteractButtonText, getRollingAmplitude, getRollingDirection, performHurtAnimation, setDamage, setRollingAmplitude, setRollingDirectionaddEffect, addMotion, addMovement, attack, broadcastLinkPacket, canBeMovedByCurrents, canClimb, canClimbWalls, canCollide, canCollideWith, canPassThrough, canTriggerPressurePlate, canTriggerWalking, checkBlockCollision, checkChunks, checkGroundState, checkObstruction, checkObstruction, createAddEntityPacket, despawnFrom, despawnFromAll, dismount, entityBaseTick, entityBaseTick, extinguish, fall, fastMove, getAbsorption, getAir, getBlocksAround, getBoundingBox, getCardinalDirection, getCollisionBlocks, getData, getDirection, getDirectionPlane, getDirectionVector, getEffect, getEffects, getEyeHeight, getFireTicks, getGravity, getHealth, getHighestPosition, getHorizontalDirection, getLastDamageCause, getLength, getLevel, getLocation, getMaxHealth, getMetadata, getMotion, getMountedOffset, getNameTag, getNoDamageTicks, getOwner, getPassenger, getPassengers, getPitch, getPosition, getRuntimeId, getScale, getScoreTag, getSeatPosition, getServer, getStepHeight, getTag, getType, getUniqueId, getVehicle, getViewers, getX, getY, getYaw, getZ, handleLavaMovement, hasControllingPassenger, hasEffect, hasMetadata, heal, heal, init, isAlive, isClosed, isControlling, isImmobile, isInsideOfFire, isInsideOfSolid, isInsideOfWater, isInvulnerable, isNameTagAlwaysVisible, isNameTagVisible, isOnGround, isPassenger, mount, move, move, onCollideWithPlayer, onDismount, onInteract, onMount, onStruckByLightning, recalculateBoundingBox, recalculateEffectColor, removeAllEffects, removeEffect, removeMetadata, resetFallDistance, respawnToAll, scheduleUpdate, sendData, sendData, sendFlags, sendPotionEffects, setAbsorption, setAir, setCanClimb, setCanClimb, setCanClimbWalls, setCanClimbWalls, setFallDistance, setHealth, setHighestPosition, setImmobile, setImmobile, setInvulnerable, setLastDamageCause, setMaxHealth, setMetadata, setMotion, setNameTag, setNameTagAlwaysVisible, setNameTagAlwaysVisible, setNameTagVisible, setNameTagVisible, setNoDamageTicks, setOnFire, setOnGround, setOwner, setPosition, setPositionAndRotation, setRotation, setScale, setScoreTag, setSeatPosition, spawnTo, spawnToAll, switchLevel, teleport, teleport, teleport, teleport, toString, updateFallState, updateMovement, updatePassengerPosition, updatePassengersclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddEffect, attack, attack, canBeMovedByCurrents, canCollide, canCollideWith, canPassThrough, canTriggerPressurePlate, close, despawnFrom, despawnFromAll, dismount, extinguish, fall, getAbsorption, getBoundingBox, getData, getDirection, getDirectionPlane, getDirectionVector, getDrag, getEffect, getEffects, getEyeHeight, getFireTicks, getGravity, getHealth, getHeight, getHighestPosition, getHorizontalDirection, getLastDamageCause, getLength, getLevel, getLocation, getMaxHealth, getMotion, getName, getNameTag, getNoDamageTicks, getOwner, getPassengers, getPitch, getPosition, getRuntimeId, getScale, getSeatPosition, getServer, getTag, getType, getUniqueId, getVehicle, getViewers, getWidth, getX, getY, getYaw, getZ, hasControllingPassenger, hasEffect, hasNameTag, heal, heal, isAlive, isClosed, isControlling, isNameTagVisible, isOnFire, isOnGround, isPassenger, isUndead, kill, loadAdditionalData, mount, onDismount, onEntityCollision, onMount, onStruckByLightning, onUpdate, removeAllEffects, removeEffect, resetFallDistance, saveAdditionalData, setAbsorption, setHealth, setHighestPosition, setMaxHealth, setMotion, setNameTag, setNoDamageTicks, setOnFire, setOnGround, setOwner, setPosition, setPositionAndRotation, setRotation, setScale, setSeatPosition, spawnTo, spawnToAll, teleport, teleport, teleport, teleportgetMetadata, hasMetadata, removeMetadata, setMetadatapublic EntityChestMinecart(EntityType<ChestMinecart> type, Location location)
public void initEntity()
initEntity in class EntityAbstractMinecartpublic MinecartType getMinecartType()
getMinecartType in class EntityAbstractMinecartpublic boolean isRideable()
isRideable in class EntityAbstractMinecartpublic void dropItem()
dropItem in class EntityAbstractMinecartprotected void activate(int x,
int y,
int z,
boolean flag)
activate in class EntityAbstractMinecartpublic boolean onInteract(Player p, Item item, com.nukkitx.math.vector.Vector3f clickedPos)
onInteract in interface EntityonInteract in class EntityAbstractMinecartCopyright © 2020. All rights reserved.