Package baritone.api.event.events
Class BlockInteractEvent
java.lang.Object
baritone.api.event.events.BlockInteractEvent
Called when the local player interacts with a block, can be either
BlockInteractEvent.Type.START_BREAK or BlockInteractEvent.Type.USE.- Since:
- 8/22/2018
- Author:
- Brady
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionBlockInteractEvent(net.minecraft.core.BlockPos pos, BlockInteractEvent.Type type) -
Method Summary
Modifier and TypeMethodDescriptionfinal net.minecraft.core.BlockPosgetPos()final BlockInteractEvent.TypegetType()
-
Constructor Details
-
BlockInteractEvent
-
-
Method Details
-
getPos
- Returns:
- The position of the block interacted with
-
getType
- Returns:
- The type of interaction with the target block
-