CommandSender
, Entity
, Metadatable
, Nameable
, Permissible
, PersistentDataHolder
, Projectile
, ServerOperator
Egg
, EnderPearl
, Snowball
, ThrownExpBottle
public interface ThrowableProjectile extends Projectile
Entity.Spigot
Modifier and Type | Method | Description |
---|---|---|
@NotNull ItemStack |
getItem() |
Gets the ItemStack the thrown projectile will display.
|
void |
setItem(@NotNull ItemStack item) |
Sets the display ItemStack for the thrown projectile.
|
getName, sendMessage, sendMessage
addPassenger, addScoreboardTag, eject, getBoundingBox, getEntityId, getFacing, getFallDistance, getFireTicks, getHeight, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getNearbyEntities, getPassenger, getPassengers, getPistonMoveReaction, getPortalCooldown, getPose, getScoreboardTags, getServer, getTicksLived, getType, getUniqueId, getVehicle, getVelocity, getWidth, getWorld, hasGravity, isCustomNameVisible, isDead, isEmpty, isGlowing, isInsideVehicle, isInvulnerable, isOnGround, isPersistent, isSilent, isValid, leaveVehicle, playEffect, remove, removePassenger, removeScoreboardTag, setCustomNameVisible, setFallDistance, setFireTicks, setGlowing, setGravity, setInvulnerable, setLastDamageCause, setPassenger, setPersistent, setPortalCooldown, setRotation, setSilent, setTicksLived, setVelocity, spigot, teleport, teleport, teleport, teleport
getMetadata, hasMetadata, removeMetadata, setMetadata
getCustomName, setCustomName
addAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachment
getPersistentDataContainer
doesBounce, getShooter, setBounce, setShooter
isOp, setOp
@NotNull @NotNull ItemStack getItem()
void setItem(@NotNull @NotNull ItemStack item)
item
- ItemStack set to be displayedCopyright © 2020. All rights reserved.