Package kr.toxicity.model.api.tracker
Class EntityBodyRotator
java.lang.Object
kr.toxicity.model.api.tracker.EntityBodyRotator
Entity body rotator
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbooleanlockRotation(boolean lock) Locks this rotatorvoidreset()Resets rotatorvoidsetValue(@NotNull Consumer<EntityBodyRotator.RotatorData> consumer) Sets the data of this rotator
-
Method Details
-
lockRotation
public boolean lockRotation(boolean lock) Locks this rotator- Parameters:
lock- lock- Returns:
- success
-
setValue
Sets the data of this rotator- Parameters:
consumer- setter
-
reset
public void reset()Resets rotator
-