public class EntityChestMinecart extends EntityAbstractMinecart implements org.cloudburstmc.api.entity.vehicle.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(org.cloudburstmc.api.entity.EntityType<org.cloudburstmc.api.entity.vehicle.ChestMinecart> type,
org.cloudburstmc.api.level.Location location) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
activate(int x,
int y,
int z,
boolean flag) |
void |
dropItem() |
org.cloudburstmc.api.util.data.MinecartType |
getMinecartType() |
void |
initEntity() |
boolean |
isRideable() |
boolean |
mount(org.cloudburstmc.api.entity.Entity entity) |
boolean |
onInteract(org.cloudburstmc.api.player.Player p,
org.cloudburstmc.api.item.ItemStack 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, despawnFrom, despawnFromAll, dismount, entityBaseTick, entityBaseTick, extinguish, fall, fastMove, getAbsorption, getAir, getBlocksAround, getBoundingBox, getCardinalDirection, getChunk, getCollisionBlocks, getData, getDirection, getDirectionPlane, getDirectionVector, getEffect, getEffect, getEffects, getEyeHeight, getFireTicks, getGravity, getHealth, getHighestPosition, getHorizontalDirection, getLastDamageCause, getLength, getLevel, getLocation, getMaxHealth, 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, hasEffect, 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, removeEffect, resetFallDistance, respawnToAll, scheduleUpdate, sendData, sendData, sendFlags, sendPotionEffects, setAbsorption, setAir, setCanClimb, setCanClimb, setCanClimbWalls, setCanClimbWalls, setFallDistance, setHealth, setHighestPosition, setImmobile, setImmobile, setInvulnerable, setLastDamageCause, setMaxHealth, setMotion, setNameTag, setNameTagAlwaysVisible, setNameTagAlwaysVisible, setNameTagVisible, setNameTagVisible, setNoDamageTicks, setOnFire, setOnGround, setOwner, setPosition, setPositionAndRotation, setRotation, setScale, setScoreTag, setSeatPosition, spawnTo, 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, extinguish, fall, getAbsorption, getBoundingBox, getChunk, getDirection, getDirectionPlane, getDirectionVector, getDrag, getEffect, 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, getType, getUniqueId, getVehicle, getViewers, getWidth, getX, getY, getYaw, getZ, hasControllingPassenger, hasEffect, hasEffect, hasNameTag, heal, heal, isAlive, isClosed, isControlling, isNameTagVisible, isOnFire, isOnGround, isPassenger, isUndead, kill, onDismount, onEntityCollision, onMount, onStruckByLightning, onUpdate, removeAllEffects, removeEffect, removeEffect, resetFallDistance, setAbsorption, setHealth, setHighestPosition, setMaxHealth, setMotion, setNameTag, setNameTagVisible, setNoDamageTicks, setOnFire, setOnGround, setOwner, setPosition, setPositionAndRotation, setRotation, setScale, setSeatPosition, spawnTo, spawnToAll, teleport, teleport, teleport, teleportpublic EntityChestMinecart(org.cloudburstmc.api.entity.EntityType<org.cloudburstmc.api.entity.vehicle.ChestMinecart> type,
org.cloudburstmc.api.level.Location location)
public void initEntity()
initEntity in class EntityAbstractMinecartpublic org.cloudburstmc.api.util.data.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 mount(org.cloudburstmc.api.entity.Entity entity)
mount in interface org.cloudburstmc.api.entity.Entitypublic boolean onInteract(org.cloudburstmc.api.player.Player p,
org.cloudburstmc.api.item.ItemStack item,
com.nukkitx.math.vector.Vector3f clickedPos)
onInteract in interface org.cloudburstmc.api.entity.EntityonInteract in class EntityAbstractMinecartCopyright © 2021. All rights reserved.