public class EntityTntMinecart extends EntityAbstractMinecart implements org.cloudburstmc.api.entity.vehicle.TntMinecart, org.cloudburstmc.api.entity.Explosive
Nukkit Project.
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 |
|---|
EntityTntMinecart(org.cloudburstmc.api.entity.EntityType<org.cloudburstmc.api.entity.vehicle.TntMinecart> type,
org.cloudburstmc.api.level.Location location) |
| Modifier and Type | Method and Description |
|---|---|
void |
activate(int x,
int y,
int z,
boolean flag) |
void |
dropItem() |
void |
explode() |
void |
explode(double square) |
org.cloudburstmc.api.util.data.MinecartType |
getMinecartType() |
void |
initEntity() |
boolean |
isRideable() |
boolean |
mount(org.cloudburstmc.api.entity.Entity entity,
org.cloudburstmc.api.util.data.MountType mode)
Mount or dismounts an Entity from a/into vehicle
|
boolean |
onInteract(org.cloudburstmc.api.player.Player player,
org.cloudburstmc.api.item.ItemStack item,
com.nukkitx.math.vector.Vector3f clickedPos) |
boolean |
onUpdate(int currentTick) |
attack, canDoInteraction, close, getBaseOffset, getDerailedVelocityMod, getDisplayBlock, getDisplayOffset, getDrag, getFlyingVelocityMod, getHeight, getMaxSpeed, getName, getWidth, hasDisplay, hasNameTag, isSlowWhenEmpty, kill, loadAdditionalData, onEntityCollision, 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, 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, mount, onDismount, onEntityCollision, onMount, onStruckByLightning, 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 EntityTntMinecart(org.cloudburstmc.api.entity.EntityType<org.cloudburstmc.api.entity.vehicle.TntMinecart> type,
org.cloudburstmc.api.level.Location location)
public boolean isRideable()
isRideable in class EntityAbstractMinecartpublic void initEntity()
initEntity in class EntityAbstractMinecartpublic boolean onUpdate(int currentTick)
onUpdate in interface org.cloudburstmc.api.entity.EntityonUpdate in class EntityAbstractMinecartpublic void activate(int x,
int y,
int z,
boolean flag)
activate in class EntityAbstractMinecartpublic void explode()
explode in interface org.cloudburstmc.api.entity.Explosivepublic void explode(double square)
public void dropItem()
dropItem in class EntityAbstractMinecartpublic org.cloudburstmc.api.util.data.MinecartType getMinecartType()
getMinecartType in class EntityAbstractMinecartpublic boolean onInteract(org.cloudburstmc.api.player.Player player,
org.cloudburstmc.api.item.ItemStack item,
com.nukkitx.math.vector.Vector3f clickedPos)
onInteract in interface org.cloudburstmc.api.entity.EntityonInteract in class EntityAbstractMinecartpublic boolean mount(org.cloudburstmc.api.entity.Entity entity,
org.cloudburstmc.api.util.data.MountType mode)
BaseEntitymount in interface org.cloudburstmc.api.entity.Entitymount in interface org.cloudburstmc.api.entity.Rideablemount in class BaseEntityentity - The target Entitytrue if the mounting successfulCopyright © 2021. All rights reserved.