Adding/expanding documentation

This commit is contained in:
Celtic Minstrel
2012-02-26 12:13:30 -05:00
committed by EvilSeph
parent 17403d617a
commit 18a4a25c8b
20 changed files with 162 additions and 16 deletions

View File

@@ -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);