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
Message s 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, updateBoundingBox
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addPassenger, 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, teleport
getMetadata, hasMetadata, removeMetadata, setMetadata
getName, sendMessage, sendMessage, sendMessage, sendMessage
public GlowBoat(org.bukkit.Location location)
location
- the boat's locationpublic org.bukkit.entity.EntityType getType()
getType
in interface org.bukkit.entity.Entity
getType
in class GlowEntity
public List<com.flowpowered.network.Message> createSpawnMessage()
GlowEntity
Message
s which can be sent to a client to spawn this entity.
Implementations in concrete subclasses may return a shallowly immutable list.createSpawnMessage
in class GlowEntity
public void reset()
GlowEntity
reset
in class GlowEntity
public boolean isEmpty()
isEmpty
in interface org.bukkit.entity.Entity
isEmpty
in class GlowEntity
public boolean entityInteract(GlowPlayer player, InteractEntityMessage message)
entityInteract
in class GlowEntity
public void setWoodType(org.bukkit.TreeSpecies treeSpecies)
setWoodType
in interface org.bukkit.entity.Boat
public double getMaxSpeed()
getMaxSpeed
in interface org.bukkit.entity.Boat
public void setMaxSpeed(double v)
setMaxSpeed
in interface org.bukkit.entity.Boat
public double getOccupiedDeceleration()
getOccupiedDeceleration
in interface org.bukkit.entity.Boat
public void setOccupiedDeceleration(double v)
setOccupiedDeceleration
in interface org.bukkit.entity.Boat
public double getUnoccupiedDeceleration()
getUnoccupiedDeceleration
in interface org.bukkit.entity.Boat
public void setUnoccupiedDeceleration(double v)
setUnoccupiedDeceleration
in interface org.bukkit.entity.Boat
public boolean getWorkOnLand()
getWorkOnLand
in interface org.bukkit.entity.Boat
public void setWorkOnLand(boolean workOnLand)
setWorkOnLand
in interface org.bukkit.entity.Boat
public 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.Boat
Copyright © 2021. All rights reserved.