public interface Painting extends Hanging
Entity.Spigot
Modifier and Type | Method and Description |
---|---|
Art |
getArt()
Get the art on this painting
|
boolean |
setArt(Art art)
Set the art on this painting
|
boolean |
setArt(Art art,
boolean force)
Set the art on this painting
|
setFacingDirection
addPassenger, addScoreboardTag, eject, fromMobSpawner, getChunk, getEntityId, getFallDistance, getFireTicks, getHeight, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getNearbyEntities, getOrigin, getPassenger, getPassengers, getPistonMoveReaction, getPortalCooldown, getScoreboardTags, getServer, getTicksLived, getType, getUniqueId, getVehicle, getVelocity, getWidth, getWorld, hasGravity, isCustomNameVisible, isDead, isEmpty, isGlowing, isInsideVehicle, isInvulnerable, isOnGround, isSilent, isValid, leaveVehicle, playEffect, remove, removePassenger, removeScoreboardTag, setCustomNameVisible, setFallDistance, setFireTicks, setGlowing, setGravity, setInvulnerable, setLastDamageCause, setPassenger, setPortalCooldown, setSilent, setTicksLived, setVelocity, spigot, teleport, teleport, teleport, teleport
getMetadata, hasMetadata, removeMetadata, setMetadata
getName, sendMessage, sendMessage, sendMessage, sendMessage
addAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachment
isOp, setOp
getCustomName, setCustomName
getAttachedFace
getFacing, setFacingDirection
Art getArt()
boolean setArt(Art art)
art
- The new artboolean setArt(Art art, boolean force)
art
- The new artforce
- If true, force the new art regardless of whether it fits
at the current location. Note that forcing it where it can't fit
normally causes it to drop as an item unless you override this by
catching the HangingBreakEvent
.Copyright © 2021. All rights reserved.