Adding/expanding documentation
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
This commit is contained in:
@@ -2,6 +2,7 @@ package org.bukkit.entity;
|
||||
|
||||
import org.bukkit.Art;
|
||||
import org.bukkit.block.BlockFace;
|
||||
import org.bukkit.event.painting.PaintingBreakEvent;
|
||||
import org.bukkit.material.Attachable;
|
||||
|
||||
/**
|
||||
@@ -29,7 +30,7 @@ public interface Painting extends Entity, Attachable {
|
||||
* @param art The new art
|
||||
* @param force 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 PAINTING_BREAK event.
|
||||
* this by catching the {@link PaintingBreakEvent}.
|
||||
* @return False if force was false and the new art won't fit at the painting's current location
|
||||
*/
|
||||
public boolean setArt(Art art, boolean force);
|
||||
|
||||
Reference in New Issue
Block a user