13
0
geforkt von Mirrors/Paper

Item#canEntityPickup

Dieser Commit ist enthalten in:
BillyGalbreath 2017-05-05 03:57:08 -05:00
Ursprung 0c37d20354
Commit 9dc1cc8212

Datei anzeigen

@ -89,4 +89,20 @@ public interface Item extends Entity {
*/
@Nullable
public UUID getThrower();
// Paper start
/**
* Gets if non-player entities can pick this Item up
*
* @return True if non-player entities can pickup
*/
public boolean canMobPickup();
/**
* Sets if non-player entities can pick this Item up
*
* @param canMobPickup True to allow non-player entity pickup
*/
public void setCanMobPickup(boolean canMobPickup);
// Paper end
}