@@ -1,6 +1,5 @@
|
|||||||
package org.bukkit.event.entity;
|
package org.bukkit.event.entity;
|
||||||
|
|
||||||
import org.bukkit.Warning;
|
|
||||||
import org.bukkit.block.Block;
|
import org.bukkit.block.Block;
|
||||||
import org.bukkit.block.BlockFace;
|
import org.bukkit.block.BlockFace;
|
||||||
import org.bukkit.entity.Entity;
|
import org.bukkit.entity.Entity;
|
||||||
@@ -16,11 +15,7 @@ import org.jetbrains.annotations.Nullable;
|
|||||||
* <br>
|
* <br>
|
||||||
* Note that this event is currently only fired for four specific placements:
|
* Note that this event is currently only fired for four specific placements:
|
||||||
* armor stands, boats, minecarts, and end crystals.
|
* armor stands, boats, minecarts, and end crystals.
|
||||||
*
|
|
||||||
* @deprecated draft API
|
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
|
||||||
@Warning(false)
|
|
||||||
public class EntityPlaceEvent extends EntityEvent implements Cancellable {
|
public class EntityPlaceEvent extends EntityEvent implements Cancellable {
|
||||||
|
|
||||||
private static final HandlerList handlers = new HandlerList();
|
private static final HandlerList handlers = new HandlerList();
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ public interface RecipeChoice extends Predicate<ItemStack>, Cloneable {
|
|||||||
* Gets a single item stack representative of this stack choice.
|
* Gets a single item stack representative of this stack choice.
|
||||||
*
|
*
|
||||||
* @return a single representative item
|
* @return a single representative item
|
||||||
* @deprecated for compatability only
|
* @deprecated for compatibility only
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
@NotNull
|
@NotNull
|
||||||
@@ -148,10 +148,7 @@ public interface RecipeChoice extends Predicate<ItemStack>, Cloneable {
|
|||||||
* matched (aside from stack size).
|
* matched (aside from stack size).
|
||||||
* <br>
|
* <br>
|
||||||
* <b>Only valid for shaped recipes</b>
|
* <b>Only valid for shaped recipes</b>
|
||||||
*
|
|
||||||
* @deprecated draft API
|
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
|
||||||
public static class ExactChoice implements RecipeChoice {
|
public static class ExactChoice implements RecipeChoice {
|
||||||
|
|
||||||
private List<ItemStack> choices;
|
private List<ItemStack> choices;
|
||||||
|
|||||||
Reference in New Issue
Block a user