Package devs.beer.nativepackets.api
Interface SpectatorActionPacketView
- All Superinterfaces:
PacketView
Serverbound spectator target action.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanintReturns the target entity ID, or-1when the target is cleared.Methods inherited from interface devs.beer.nativepackets.api.PacketView
isModified, nativeHandle, type
-
Method Details
-
hasTargetEntity
boolean hasTargetEntity() -
targetEntityId
int targetEntityId()Returns the target entity ID, or-1when the target is cleared.
-