public class EntityCreeper extends EntityHostile implements org.cloudburstmc.api.entity.hostile.Creeper
attackTime, invisible, movementSpeed, turtleTicksabsorption, 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 |
|---|
EntityCreeper(org.cloudburstmc.api.entity.EntityType<org.cloudburstmc.api.entity.hostile.Creeper> type,
org.cloudburstmc.api.level.Location location) |
| Modifier and Type | Method and Description |
|---|---|
org.cloudburstmc.api.item.ItemStack[] |
getDrops() |
float |
getHeight() |
String |
getName() |
float |
getWidth() |
protected void |
initEntity() |
boolean |
isPowered() |
void |
loadAdditionalData(com.nukkitx.nbt.NbtMap tag) |
void |
onStruckByLightning(org.cloudburstmc.api.entity.misc.LightningBolt lightningBolt) |
void |
saveAdditionalData(com.nukkitx.nbt.NbtMapBuilder tag) |
void |
setPowered(boolean powered) |
void |
setPowered(org.cloudburstmc.api.entity.misc.LightningBolt lightningBolt) |
onInteractgetInventoryattack, collidingWith, entityBaseTick, entityBaseTick, getAirTicks, getDrag, getGravity, getLineOfSight, getLineOfSight, getLineOfSight, getMovementSpeed, getTargetBlock, getTargetBlock, hasLineOfSight, kill, knockBack, setAirTicks, setHealth, setMovementSpeedaddEffect, addMotion, addMovement, attack, broadcastLinkPacket, canBeMovedByCurrents, canClimb, canClimbWalls, canCollide, canCollideWith, canPassThrough, canTriggerPressurePlate, canTriggerWalking, checkBlockCollision, checkChunks, checkGroundState, checkObstruction, checkObstruction, close, createAddEntityPacket, despawnFrom, despawnFrom, despawnFromAll, dismount, extinguish, fall, fastMove, getAbsorption, getAir, getBaseOffset, getBlocksAround, getBoundingBox, getCardinalDirection, getChunk, getCollisionBlocks, getData, getDirection, getDirectionPlane, getDirectionVector, getEffect, getEffect, getEffects, getEyeHeight, getFireTicks, 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, hasNameTag, heal, heal, init, isAlive, isClosed, isControlling, isImmobile, isInsideOfFire, isInsideOfSolid, isInsideOfWater, isInvulnerable, isNameTagAlwaysVisible, isNameTagVisible, isOnGround, isPassenger, mount, move, move, onCollideWithPlayer, onDismount, onEntityCollision, onInteract, onMount, onUpdate, recalculateBoundingBox, recalculateEffectColor, removeAllEffects, removeEffect, removeEffect, resetFallDistance, respawnToAll, scheduleUpdate, sendData, sendData, sendFlags, sendPotionEffects, setAbsorption, setAir, setCanClimb, setCanClimb, setCanClimbWalls, setCanClimbWalls, setFallDistance, 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, dismount, extinguish, fall, getAbsorption, getBoundingBox, getChunk, getDirection, getDirectionPlane, getDirectionVector, getDrag, getEffect, getEffect, getEffects, getEyeHeight, getFireTicks, getGravity, getHealth, getHighestPosition, getHorizontalDirection, getLastDamageCause, getLength, getLevel, getLocation, getMaxHealth, getMotion, getNameTag, getNoDamageTicks, getOwner, getPassengers, getPitch, getPosition, getRuntimeId, getScale, getSeatPosition, getServer, getType, getUniqueId, getVehicle, getViewers, getX, getY, getYaw, getZ, hasControllingPassenger, hasEffect, hasEffect, hasNameTag, heal, heal, isAlive, isClosed, isControlling, isNameTagVisible, isOnFire, isOnGround, isPassenger, isUndead, kill, mount, mount, onDismount, onEntityCollision, onInteract, onMount, 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 EntityCreeper(org.cloudburstmc.api.entity.EntityType<org.cloudburstmc.api.entity.hostile.Creeper> type,
org.cloudburstmc.api.level.Location location)
protected void initEntity()
initEntity in class BaseEntitypublic float getWidth()
getWidth in interface org.cloudburstmc.api.entity.EntitygetWidth in class BaseEntitypublic float getHeight()
getHeight in interface org.cloudburstmc.api.entity.EntitygetHeight in class BaseEntitypublic void loadAdditionalData(com.nukkitx.nbt.NbtMap tag)
loadAdditionalData in class EntityCreaturepublic void saveAdditionalData(com.nukkitx.nbt.NbtMapBuilder tag)
saveAdditionalData in class EntityLivingpublic boolean isPowered()
public void setPowered(org.cloudburstmc.api.entity.misc.LightningBolt lightningBolt)
public void setPowered(boolean powered)
public void onStruckByLightning(org.cloudburstmc.api.entity.misc.LightningBolt lightningBolt)
onStruckByLightning in interface org.cloudburstmc.api.entity.EntityonStruckByLightning in class BaseEntitypublic String getName()
getName in interface org.cloudburstmc.api.entity.EntitygetName in class BaseEntitypublic org.cloudburstmc.api.item.ItemStack[] getDrops()
getDrops in class EntityLivingCopyright © 2021. All rights reserved.