Package dev.boze.api.event
Class EventGrim.Interact
java.lang.Object
dev.boze.api.event.EventGrim
dev.boze.api.event.EventGrim.Interact
- Enclosing class:
EventGrim
-
Nested Class Summary
Nested classes/interfaces inherited from class dev.boze.api.event.EventGrim
EventGrim.Interact, EventGrim.Rotate
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic EventGrim.Interact
get
(boolean dirty) Gets the event instance - this is called once a tick by Boze, and should not be called by addonsboolean
isDirty()
abstract void
place
(PlaceInteraction placeInteraction) Execute a place interaction
-
Constructor Details
-
Interact
public Interact()
-
-
Method Details
-
get
Gets the event instance - this is called once a tick by Boze, and should not be called by addons- Parameters:
dirty
- Whether Boze has already interacted with the server- Returns:
- The event instance
-
place
Execute a place interactionThis will not rotate - that has to be done on EventGrim.Rotate
- Parameters:
placeInteraction
- The place interaction to execute
-
isDirty
public boolean isDirty()- Returns:
- Whether Boze has already interacted with the server
-