public class GlowBoat extends GlowVehicle implements org.bukkit.entity.Boat
active, airDrag, applyDragBeforeAccel, boundingBox, ENTITY_ID_NOBODY, entityId, gravityAccel, liquidDrag, location, metadata, passengerChanged, previousLocation, removed, server, slipMultiplier, teleported, ticksLived, vehicle, velocity, velocityChanged, world, worldLock| Constructor and Description |
|---|
GlowBoat(org.bukkit.Location location)
Creates a boat.
|
| Modifier and Type | Method and Description |
|---|---|
List<com.flowpowered.network.Message> |
createSpawnMessage()
Creates a list of
Messages which can be sent to a client to spawn this entity. |
boolean |
entityInteract(GlowPlayer player,
InteractEntityMessage message) |
boolean |
getLeftPaddleTurning() |
double |
getMaxSpeed() |
double |
getOccupiedDeceleration() |
boolean |
getRightPaddleTurning() |
org.bukkit.entity.EntityType |
getType() |
double |
getUnoccupiedDeceleration() |
org.bukkit.TreeSpecies |
getWoodType() |
boolean |
getWorkOnLand() |
boolean |
isEmpty() |
void |
reset()
Resets the previous location and other properties to their current value.
|
void |
setLeftPaddleTurning(boolean leftPaddleTurning) |
void |
setMaxSpeed(double v) |
void |
setOccupiedDeceleration(double v) |
void |
setRightPaddleTurning(boolean rightPaddleTurning) |
void |
setUnoccupiedDeceleration(double v) |
void |
setWoodType(org.bukkit.TreeSpecies treeSpecies) |
void |
setWorkOnLand(boolean workOnLand) |
addAttachment, addAttachment, addAttachment, addAttachment, addPassenger, addScoreboardTag, collide, createAfterSpawnMessage, createUpdateMessage, damage, damage, damage, damage, eject, equals, fromMobSpawner, getCardinalFacing, getChunk, getCustomName, getCustomTags, getDismountLocation, getEffectivePermissions, getEntityId, getFacing, getFallDistance, getFireTicks, getGravityAccel, getHeight, getLastDamageCause, getLeashedEntities, getLeashHolder, getLocation, getLocation, getMaxFireTicks, getMetadata, getMetadata, getMountLocation, getName, getNearbyEntities, getOrigin, getPassenger, getPassengers, getPistonMoveReaction, getPortalCooldown, getScoreboardTags, getServer, getTicksLived, getUniqueId, getVehicle, getVelocity, getWidth, getWorld, hasDefaultLandingBehavior, hasFriction, hasGravity, hashCode, hasMetadata, hasMoved, hasPermission, hasPermission, hasRotated, intersects, isCustomNameVisible, isDead, isGlowing, isInsideVehicle, isInvulnerable, isLeashed, isOnGround, isOp, isPermissionSet, isPermissionSet, isRemoved, isSilent, isTeleported, isTouchingMaterial, isValid, isWithinDistance, isWithinDistance, leaveVehicle, playEffect, playEffectKnownAndSelf, pulse, pulsePhysics, recalculatePermissions, remove, removeAttachment, removeMetadata, removePassenger, removeScoreboardTag, sendMessage, sendMessage, setAirDrag, setApplyDragBeforeAccel, setBoundingBox, setCustomName, setCustomNameVisible, setFallDistance, setFireTicks, setFriction, setGlowing, setGravity, setGravityAccel, setInvulnerable, setLastDamageCause, setLeashHolder, setLeashHolderUniqueId, setLiquidDrag, setMetadata, setOnGround, setOp, setPassenger, setPortalCooldown, setRawLocation, setRawLocation, setSilent, setSize, setTicksLived, setUniqueId, setVelocity, shouldSave, spigot, teleport, teleport, teleport, teleport, teleportToEnd, teleportToSpawn, toString, updateBoundingBoxclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddPassenger, addScoreboardTag, eject, fromMobSpawner, getChunk, getEntityId, getFallDistance, getFireTicks, getHeight, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getNearbyEntities, getOrigin, getPassenger, getPassengers, getPistonMoveReaction, getPortalCooldown, getScoreboardTags, getServer, getTicksLived, getUniqueId, getVehicle, getWidth, getWorld, hasGravity, isCustomNameVisible, isDead, isGlowing, isInsideVehicle, isInvulnerable, isOnGround, isSilent, isValid, leaveVehicle, playEffect, remove, removePassenger, removeScoreboardTag, setCustomNameVisible, setFallDistance, setFireTicks, setGlowing, setGravity, setInvulnerable, setLastDamageCause, setPassenger, setPortalCooldown, setSilent, setTicksLived, spigot, teleport, teleport, teleport, teleportgetMetadata, hasMetadata, removeMetadata, setMetadatagetName, sendMessage, sendMessage, sendMessage, sendMessagepublic GlowBoat(org.bukkit.Location location)
location - the boat's locationpublic org.bukkit.entity.EntityType getType()
getType in interface org.bukkit.entity.EntitygetType in class GlowEntitypublic List<com.flowpowered.network.Message> createSpawnMessage()
GlowEntityMessages which can be sent to a client to spawn this entity.
Implementations in concrete subclasses may return a shallowly immutable list.createSpawnMessage in class GlowEntitypublic void reset()
GlowEntityreset in class GlowEntitypublic boolean isEmpty()
isEmpty in interface org.bukkit.entity.EntityisEmpty in class GlowEntitypublic boolean entityInteract(GlowPlayer player, InteractEntityMessage message)
entityInteract in class GlowEntitypublic void setWoodType(org.bukkit.TreeSpecies treeSpecies)
setWoodType in interface org.bukkit.entity.Boatpublic double getMaxSpeed()
getMaxSpeed in interface org.bukkit.entity.Boatpublic void setMaxSpeed(double v)
setMaxSpeed in interface org.bukkit.entity.Boatpublic double getOccupiedDeceleration()
getOccupiedDeceleration in interface org.bukkit.entity.Boatpublic void setOccupiedDeceleration(double v)
setOccupiedDeceleration in interface org.bukkit.entity.Boatpublic double getUnoccupiedDeceleration()
getUnoccupiedDeceleration in interface org.bukkit.entity.Boatpublic void setUnoccupiedDeceleration(double v)
setUnoccupiedDeceleration in interface org.bukkit.entity.Boatpublic boolean getWorkOnLand()
getWorkOnLand in interface org.bukkit.entity.Boatpublic void setWorkOnLand(boolean workOnLand)
setWorkOnLand in interface org.bukkit.entity.Boatpublic boolean getRightPaddleTurning()
public void setRightPaddleTurning(boolean rightPaddleTurning)
public boolean getLeftPaddleTurning()
public void setLeftPaddleTurning(boolean leftPaddleTurning)
public org.bukkit.TreeSpecies getWoodType()
getWoodType in interface org.bukkit.entity.BoatCopyright © 2021. All rights reserved.