# API

- [ID System (Item & Block ids)](https://docs.minecraftbot.com/api/id-system-item-and-block-ids.md): Minecraft has stopped using their legacy id system from the 1.13 update and up-wards. That means that legacy id's will only work for 1.8.\*-1.12.\* . This ID system has been created to help with this.
- [Events](https://docs.minecraftbot.com/api/events.md): This section describes the events that can be hooked through Context.Events.
- [Context](https://docs.minecraftbot.com/api/context.md): This section describes (most) classes that can be accessed by Start Plugins from the Context class.
- [Player](https://docs.minecraftbot.com/api/context/player.md)
- [Entities](https://docs.minecraftbot.com/api/context/entities.md)
- [IPlayerEntity](https://docs.minecraftbot.com/api/context/entities/iplayerentity.md): Represents an instance of a player entity. This can also include other bots.
- [IMobEntity](https://docs.minecraftbot.com/api/context/entities/imobentity.md): Represents an instance of a mob. This includes friendly mobs (e.g.: sheep, cow) and aggressive mobs (e.g.: zombie, skeleton).
- [IObjectEntity](https://docs.minecraftbot.com/api/context/entities/iobjectentity.md): Represents an instance of a world object. This includes entites such as dropped item stacks, falling sand, etc.
- [World](https://docs.minecraftbot.com/api/context/world.md)
- [IBlock](https://docs.minecraftbot.com/api/context/world/iblock.md): Represents a block in the world. This can be used to interact with the block (e.g.: dig, use) or block location (e.g.: place at).
- [Containers](https://docs.minecraftbot.com/api/context/containers.md)
- [IWindow](https://docs.minecraftbot.com/api/context/containers/iwindow.md): Represents an instance of a (usually currently open) window/container. This includes double chests, single chests, bot's inventory, etc.
- [ISlot](https://docs.minecraftbot.com/api/context/containers/islot.md): Represents an instance of a slot.
- [Functions](https://docs.minecraftbot.com/api/context/functions.md)
- [Utility](https://docs.minecraftbot.com/api/utility.md)
- [ChestMap](https://docs.minecraftbot.com/api/utility/chestmap.md): Allows you to easily and efficiently (remember full/empty chests) find and open chests by criteria. Create with 'Context.Functions.CreateChestMap()'.
- [LocationBlacklistCollection](https://docs.minecraftbot.com/api/utility/locationblacklistcollection.md): Allows you to "blacklist" (set as invalid) locations for a certain amount of times. Create with 'LocationBlacklistCollection.CreatePerBot(...)' or 'LocationBlacklistCollection.CreateGlobal(...)'.
- [LocationWhitelistCollection](https://docs.minecraftbot.com/api/utility/locationwhitelistcollection.md): Allows you to "whitelist" a location for a certain bot, but "blacklist" it for others. Create with 'LocationWhitelistCollection.Create(...)'.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.minecraftbot.com/api.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
