hackcraft library

A Dart library for Minecraft hacking and automation.

Classes

Block
Represents a block in the Minecraft world.
ChatMessage
Represents a chat message from a player.
CoordinateData
Represents coordinate data with a type.
Coordinates
Helper class for creating CoordinateData.
CoordinateType
Defines Minecraft coordinate types.
Entity
EventMessage
Represents a custom event message.
InteractEvent
Represents an interaction event.
Inventory
ItemStack
Represents an item stack in an inventory.
Location
Represents a location in the Minecraft world.
Player
RedstonePower
Represents a change in Redstone power.
Side
Represents block placement sides.
Volume

Functions

strToBool(String s) bool
Converts a string to a boolean value.

Typedefs

EntityEventCallback = void Function(Entity entity, EventMessage event)

Exceptions / Errors

UninitializedClientError
Custom exception for uninitialized WebSocketClient.
WebSocketMessageError
Custom error for WebSocket messages of type 'error'.