Package net.citizensnpcs.trait
Class RotationTrait
java.lang.Object
net.citizensnpcs.api.trait.Trait
net.citizensnpcs.trait.RotationTrait
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
class
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
getPacketSession
(Player player) void
void
run()
Called every tick if overridden.
-
Constructor Details
-
RotationTrait
public RotationTrait()
-
-
Method Details
-
clearPacketSessions
public void clearPacketSessions() -
createPacketSession
- Returns:
- The created session
-
getGlobalParameters
- Returns:
- The global rotation parameters
-
getPacketSession
-
getPhysicalSession
-
resetPlayerToPhysicalSession
-
run
public void run()Description copied from class:Trait
Called every tick if overridden.
-