Class PlayerUtils
java.lang.Object
dev.lone.itemsadder.api.scriptinginternal.PlayerUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BlockblockInFront(Player player) static BlockblockInFront(Player player, int maxDistance) static @Nullable EntityentityInFront(Player player) static @Nullable EntityentityInFront(Player player, int maxDistance) static booleanstatic booleanisHeld(Player player, CustomStack customStack) static booleanstatic booleanstatic booleanremoveItem(Player player, String namespacedId) static boolean
-
Constructor Details
-
PlayerUtils
public PlayerUtils()
-
-
Method Details
-
isHeld
-
isHeld
-
isHeld
-
setHeld
-
giveItem
-
removeItem
-
blockInFront
-
blockInFront
-
entityInFront
-
entityInFront
-