13
0
geforkt von Mirrors/Paper

Add Player#getFishHook

Dieser Commit ist enthalten in:
u9g 2022-06-14 19:35:21 -04:00
Ursprung b4e03d9221
Commit b780ff7251

Datei anzeigen

@ -425,6 +425,13 @@ public interface HumanEntity extends LivingEntity, AnimalTamer, InventoryHolder
@Nullable
public Location getPotentialBedLocation();
// Paper end
// Paper start
/**
* @return the player's fishing hook if they are fishing
*/
@Nullable
FishHook getFishHook();
// Paper end
/**
* Attempts to make the entity sleep at the given location.