@minecraftbot-com/plugin 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +177 -0
- package/README.md +45 -2
- package/dist/api.d.ts +351 -0
- package/dist/api.js +2 -0
- package/dist/cli/api.d.ts +26 -0
- package/dist/cli/api.js +61 -0
- package/dist/cli/build.d.ts +23 -0
- package/dist/cli/build.js +65 -0
- package/dist/cli/check.d.ts +10 -0
- package/dist/cli/check.js +98 -0
- package/dist/cli/config.d.ts +11 -0
- package/dist/cli/config.js +38 -0
- package/dist/cli/create.d.ts +2 -0
- package/dist/cli/create.js +39 -0
- package/dist/cli/dev-mcp.d.ts +36 -0
- package/dist/cli/dev-mcp.js +101 -0
- package/dist/cli/dev.d.ts +15 -0
- package/dist/cli/dev.js +261 -0
- package/dist/cli/fetch-guard.d.ts +7 -0
- package/dist/cli/fetch-guard.js +66 -0
- package/dist/cli/main.d.ts +2 -0
- package/dist/cli/main.js +112 -0
- package/dist/cli/mcp.d.ts +24 -0
- package/dist/cli/mcp.js +136 -0
- package/dist/cli/output.d.ts +11 -0
- package/dist/cli/output.js +25 -0
- package/dist/cli/test.d.ts +2 -0
- package/dist/cli/test.js +39 -0
- package/dist/errors.d.ts +22 -0
- package/dist/errors.js +35 -0
- package/dist/generated/block-states.d.ts +4087 -0
- package/dist/generated/block-states.js +2 -0
- package/dist/generated/blocks.d.ts +1289 -0
- package/dist/generated/blocks.js +1291 -0
- package/dist/generated/contracts.d.ts +304 -0
- package/dist/generated/contracts.js +327 -0
- package/dist/generated/effects.d.ts +43 -0
- package/dist/generated/effects.js +45 -0
- package/dist/generated/entities.d.ts +164 -0
- package/dist/generated/entities.js +166 -0
- package/dist/generated/items.d.ts +1661 -0
- package/dist/generated/items.js +1663 -0
- package/dist/generated/operations.d.ts +7 -0
- package/dist/generated/operations.js +65 -0
- package/dist/generated/permission-labels.d.ts +3 -0
- package/dist/generated/permission-labels.js +17 -0
- package/dist/generated/version.d.ts +2 -0
- package/dist/generated/version.js +3 -0
- package/dist/host/index.d.ts +7 -0
- package/dist/host/index.js +5 -0
- package/dist/index.d.ts +19 -0
- package/dist/index.js +13 -0
- package/dist/permissions.d.ts +11 -0
- package/dist/permissions.js +18 -0
- package/dist/plugin.d.ts +86 -0
- package/dist/plugin.js +26 -0
- package/dist/protocol.d.ts +167 -0
- package/dist/protocol.js +4 -0
- package/dist/runtime/connection.d.ts +52 -0
- package/dist/runtime/connection.js +132 -0
- package/dist/runtime/handles.d.ts +95 -0
- package/dist/runtime/handles.js +289 -0
- package/dist/runtime/memory-transport.d.ts +6 -0
- package/dist/runtime/memory-transport.js +39 -0
- package/dist/runtime/runtime.d.ts +57 -0
- package/dist/runtime/runtime.js +265 -0
- package/dist/runtime/scope.d.ts +25 -0
- package/dist/runtime/scope.js +94 -0
- package/dist/runtime/storage-runtime.d.ts +10 -0
- package/dist/runtime/storage-runtime.js +131 -0
- package/dist/settings.d.ts +111 -0
- package/dist/settings.js +78 -0
- package/dist/storage.d.ts +78 -0
- package/dist/storage.js +24 -0
- package/dist/testing/fake-container.d.ts +175 -0
- package/dist/testing/fake-container.js +483 -0
- package/dist/testing/index.d.ts +37 -0
- package/dist/testing/index.js +54 -0
- package/dist/types.d.ts +65 -0
- package/dist/types.js +54 -0
- package/llms.txt +11 -0
- package/package.json +55 -4
- package/src/api.ts +334 -0
- package/src/cli/api.ts +79 -0
- package/src/cli/build.ts +76 -0
- package/src/cli/check.ts +103 -0
- package/src/cli/config.ts +48 -0
- package/src/cli/create.ts +38 -0
- package/src/cli/dev-mcp.ts +131 -0
- package/src/cli/dev.ts +272 -0
- package/src/cli/fetch-guard.ts +61 -0
- package/src/cli/main.ts +113 -0
- package/src/cli/mcp.ts +168 -0
- package/src/cli/output.ts +30 -0
- package/src/cli/test.ts +38 -0
- package/src/errors.ts +34 -0
- package/src/generated/block-states.ts +892 -0
- package/src/generated/blocks.ts +1291 -0
- package/src/generated/contracts.ts +329 -0
- package/src/generated/effects.ts +45 -0
- package/src/generated/entities.ts +166 -0
- package/src/generated/items.ts +1663 -0
- package/src/generated/operations.ts +69 -0
- package/src/generated/permission-labels.ts +19 -0
- package/src/generated/version.ts +3 -0
- package/src/host/index.ts +9 -0
- package/src/index.ts +34 -0
- package/src/permissions.ts +23 -0
- package/src/plugin.ts +105 -0
- package/src/protocol.ts +107 -0
- package/src/runtime/connection.ts +167 -0
- package/src/runtime/handles.ts +337 -0
- package/src/runtime/memory-transport.ts +41 -0
- package/src/runtime/runtime.ts +281 -0
- package/src/runtime/scope.ts +101 -0
- package/src/runtime/storage-runtime.ts +138 -0
- package/src/settings.ts +118 -0
- package/src/storage.ts +82 -0
- package/src/testing/fake-container.ts +571 -0
- package/src/testing/index.ts +70 -0
- package/src/types.ts +88 -0
- package/templates/basic/AGENTS.md +31 -0
- package/templates/basic/README.md +13 -0
- package/templates/basic/gitignore +3 -0
- package/templates/basic/package.json +18 -0
- package/templates/basic/src/index.ts +20 -0
- package/templates/basic/test/plugin.test.ts +14 -0
- package/templates/basic/tsconfig.json +14 -0
|
@@ -0,0 +1,329 @@
|
|
|
1
|
+
// Generated from Minecraft 26.3 and the MineBot plugin protocol. Do not edit.
|
|
2
|
+
|
|
3
|
+
import { network as networkPermission } from "../permissions.js";
|
|
4
|
+
|
|
5
|
+
/** Why `bot.attack` didn't hit. */
|
|
6
|
+
export enum AttackFailure {
|
|
7
|
+
/** The entity is too far away (more than about 3 blocks). */
|
|
8
|
+
OutOfReach = "OutOfReach",
|
|
9
|
+
/** No entity with that id is near the bot any more. */
|
|
10
|
+
NotFound = "NotFound",
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
/** Why connecting, disconnecting or reconnecting a bot of the profile didn't work. */
|
|
14
|
+
export enum BotControlFailure {
|
|
15
|
+
/** No bot with that id in this profile. */
|
|
16
|
+
UnknownBot = "UnknownBot",
|
|
17
|
+
/** The bot is already connected. */
|
|
18
|
+
AlreadyConnected = "AlreadyConnected",
|
|
19
|
+
/** The bot is already disconnected. */
|
|
20
|
+
AlreadyDisconnected = "AlreadyDisconnected",
|
|
21
|
+
/** The bot is paused on the dashboard; the user has to unpause it. */
|
|
22
|
+
Paused = "Paused",
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/** Events of one bot. Subscribe with `bot.on(BotEvent.X, handler)`; listeners end when the bot stops. */
|
|
26
|
+
export enum BotEvent {
|
|
27
|
+
/** A chat or system message arrived. Needs `Permission.ChatRead`. */
|
|
28
|
+
Chat = "Chat",
|
|
29
|
+
/** A player joined the server (the player list). Needs `Permission.EntitiesRead`. */
|
|
30
|
+
PlayerJoined = "PlayerJoined",
|
|
31
|
+
/** A player left the server. Needs `Permission.EntitiesRead`. */
|
|
32
|
+
PlayerLeft = "PlayerLeft",
|
|
33
|
+
/** The bot died. */
|
|
34
|
+
Died = "Died",
|
|
35
|
+
/** The bot respawned after dying. */
|
|
36
|
+
Respawned = "Respawned",
|
|
37
|
+
/** The bot's health or food changed. */
|
|
38
|
+
HealthChanged = "HealthChanged",
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/** Why opening a chest (or another container) or moving items in or out of it didn't work. */
|
|
42
|
+
export enum ContainerFailure {
|
|
43
|
+
/** The block isn't a container the bot can open (chest, barrel, shulker box, hopper, furnace, ...). */
|
|
44
|
+
NotAContainer = "NotAContainer",
|
|
45
|
+
/** The block is out of reach; walk closer first: `await bot.goto(chest, { within: 3 })`. */
|
|
46
|
+
OutOfReach = "OutOfReach",
|
|
47
|
+
/** It didn't open: a block above the chest, a lock, or the server refused. */
|
|
48
|
+
DidNotOpen = "DidNotOpen",
|
|
49
|
+
/** The container is closed (by `close`, by the server, or because another one opened). Open it again. */
|
|
50
|
+
Closed = "Closed",
|
|
51
|
+
/** The item isn't there to move. */
|
|
52
|
+
NoItem = "NoItem",
|
|
53
|
+
/** No room where the items were going. */
|
|
54
|
+
Full = "Full",
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
/** Parts of the bot one plugin can drive exclusively. While a plugin that declares a unit in `exclusive` runs on a bot, other plugins that need the same unit don't start there. */
|
|
58
|
+
export enum ControlUnit {
|
|
59
|
+
/** Walking and pathfinding. */
|
|
60
|
+
Movement = "Movement",
|
|
61
|
+
/** Where the bot looks. */
|
|
62
|
+
Look = "Look",
|
|
63
|
+
/** The held item: digging, placing, attacking, eating. */
|
|
64
|
+
Hand = "Hand",
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/** Why `bot.craft` didn't craft. */
|
|
68
|
+
export enum CraftFailure {
|
|
69
|
+
/** No crafting recipe makes this item on this server's version. */
|
|
70
|
+
NoRecipe = "NoRecipe",
|
|
71
|
+
/** The inventory lacks the ingredients; the message says what is missing. */
|
|
72
|
+
MissingIngredients = "MissingIngredients",
|
|
73
|
+
/** The recipe needs a crafting table and none is within reach (walk to one, or pass `table`). */
|
|
74
|
+
NoCraftingTable = "NoCraftingTable",
|
|
75
|
+
/** No room in the inventory for the result. */
|
|
76
|
+
InventoryFull = "InventoryFull",
|
|
77
|
+
/** The table didn't open or the server didn't hand out the result (its recipe may differ on this version). */
|
|
78
|
+
Failed = "Failed",
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
/** Why `bot.dig` did not break the block. */
|
|
82
|
+
export enum DigFailure {
|
|
83
|
+
/** The block is too far away: move closer first (within about 4.5 blocks). */
|
|
84
|
+
OutOfReach = "OutOfReach",
|
|
85
|
+
/** There is no block there (air, water) or the chunk isn't loaded. */
|
|
86
|
+
NothingThere = "NothingThere",
|
|
87
|
+
/** The block can't be broken (bedrock, barrier) or the server refused. */
|
|
88
|
+
Unbreakable = "Unbreakable",
|
|
89
|
+
/** Something with a higher priority took over the bot's hands. */
|
|
90
|
+
Interrupted = "Interrupted",
|
|
91
|
+
/** The block was still there after digging. */
|
|
92
|
+
Failed = "Failed",
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
/** Where an item is equipped. */
|
|
96
|
+
export enum EquipmentSlot {
|
|
97
|
+
Hand = "Hand",
|
|
98
|
+
OffHand = "OffHand",
|
|
99
|
+
Head = "Head",
|
|
100
|
+
Chest = "Chest",
|
|
101
|
+
Legs = "Legs",
|
|
102
|
+
Feet = "Feet",
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
/** Codes of `PluginError`: mistakes in plugin code, not game outcomes. */
|
|
106
|
+
export enum ErrorCode {
|
|
107
|
+
/** The plugin didn't declare the permission this call needs. */
|
|
108
|
+
PermissionDenied = "PermissionDenied",
|
|
109
|
+
/** The arguments were missing or invalid. */
|
|
110
|
+
BadArguments = "BadArguments",
|
|
111
|
+
/** The container doesn't know this operation (an SDK newer than the container?). */
|
|
112
|
+
UnknownOperation = "UnknownOperation",
|
|
113
|
+
/** The plugin isn't running on that bot. */
|
|
114
|
+
BotNotRunning = "BotNotRunning",
|
|
115
|
+
/** Too many calls per second; slow down. */
|
|
116
|
+
RateLimited = "RateLimited",
|
|
117
|
+
/** Too many calls waiting at once. */
|
|
118
|
+
TooManyCalls = "TooManyCalls",
|
|
119
|
+
/** A frame was larger than 64 KB. */
|
|
120
|
+
FrameTooLarge = "FrameTooLarge",
|
|
121
|
+
/** Storage for this scope is full (1 MB). */
|
|
122
|
+
StorageFull = "StorageFull",
|
|
123
|
+
/** A stored value is larger than 64 KB, or isn't JSON. */
|
|
124
|
+
ValueTooLarge = "ValueTooLarge",
|
|
125
|
+
/** Something failed inside the bot container. */
|
|
126
|
+
InternalError = "InternalError",
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
/** The bot's game mode. */
|
|
130
|
+
export enum GameMode {
|
|
131
|
+
Survival = "Survival",
|
|
132
|
+
Creative = "Creative",
|
|
133
|
+
Adventure = "Adventure",
|
|
134
|
+
Spectator = "Spectator",
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
/** Why `bot.activateBlock` or `bot.useItem` didn't work. */
|
|
138
|
+
export enum InteractFailure {
|
|
139
|
+
/** The block is too far away: move closer first. */
|
|
140
|
+
OutOfReach = "OutOfReach",
|
|
141
|
+
/** There is no block there, or nothing in the hand. */
|
|
142
|
+
NothingThere = "NothingThere",
|
|
143
|
+
/** The server didn't react. */
|
|
144
|
+
Failed = "Failed",
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
/** Why an inventory action didn't work. */
|
|
148
|
+
export enum InventoryFailure {
|
|
149
|
+
/** The bot has no such item. */
|
|
150
|
+
NoItem = "NoItem",
|
|
151
|
+
/** The server didn't accept the change. */
|
|
152
|
+
Failed = "Failed",
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
/** Why `bot.goto` or `bot.follow` did not get there. */
|
|
156
|
+
export enum MoveFailure {
|
|
157
|
+
/** No walkable path was found within the search range. */
|
|
158
|
+
NoPath = "NoPath",
|
|
159
|
+
/** The move took longer than its `timeout`. */
|
|
160
|
+
Timeout = "Timeout",
|
|
161
|
+
/** Something with a higher priority (a command, a macro) took over the movement. */
|
|
162
|
+
Interrupted = "Interrupted",
|
|
163
|
+
/** The entity being followed despawned or went out of range. */
|
|
164
|
+
TargetLost = "TargetLost",
|
|
165
|
+
/** The target is in a part of the world the bot hasn't loaded. */
|
|
166
|
+
NotLoaded = "NotLoaded",
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
/** What your plugin may do. Declare every permission it needs in `permissions`; a call outside the list fails with a message naming the permission to add. Network access is `Permission.network("host")`. */
|
|
170
|
+
export enum Permission {
|
|
171
|
+
/** Blocks, block search and the bot's position. */
|
|
172
|
+
WorldRead = "WorldRead",
|
|
173
|
+
/** Nearby entities and players, the player list, players joining and leaving. */
|
|
174
|
+
EntitiesRead = "EntitiesRead",
|
|
175
|
+
/** Walk to positions, follow entities, look around, jump. */
|
|
176
|
+
Move = "Move",
|
|
177
|
+
/** Dig and place blocks, use blocks (doors, buttons, chests) and the held item. */
|
|
178
|
+
Interact = "Interact",
|
|
179
|
+
/** Attack entities. */
|
|
180
|
+
Attack = "Attack",
|
|
181
|
+
/** Inventory, held item and equipment. */
|
|
182
|
+
InventoryRead = "InventoryRead",
|
|
183
|
+
/** Equip, hold, drop and craft items, and open chests and other containers to put items in or take them out. */
|
|
184
|
+
InventoryManage = "InventoryManage",
|
|
185
|
+
/** Chat and system messages (`BotEvent.Chat`). */
|
|
186
|
+
ChatRead = "ChatRead",
|
|
187
|
+
/** Send chat messages (not commands; see `Commands`). */
|
|
188
|
+
ChatSend = "ChatSend",
|
|
189
|
+
/** Run server commands such as `/home` or `/pay`. */
|
|
190
|
+
Commands = "Commands",
|
|
191
|
+
/** Connect, disconnect and reconnect any bot of the profile, enabled or not. */
|
|
192
|
+
ProfileBots = "ProfileBots",
|
|
193
|
+
/** Start and stop plugin instances (built-in and custom) on the profile's bots. */
|
|
194
|
+
ProfilePlugins = "ProfilePlugins",
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
export namespace Permission {
|
|
198
|
+
/**
|
|
199
|
+
* Lets the plugin `fetch` a host over HTTPS: `Permission.network("api.example.com")`. `"*.example.com"`
|
|
200
|
+
* covers every subdomain; a bare `*` is never allowed.
|
|
201
|
+
*/
|
|
202
|
+
export const network = networkPermission;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
/** Why `bot.place` did not place the block. */
|
|
206
|
+
export enum PlaceFailure {
|
|
207
|
+
/** The position is too far away: move closer first. */
|
|
208
|
+
OutOfReach = "OutOfReach",
|
|
209
|
+
/** The bot has no such item in its inventory. */
|
|
210
|
+
NoItem = "NoItem",
|
|
211
|
+
/** Something is already there. */
|
|
212
|
+
Occupied = "Occupied",
|
|
213
|
+
/** There is no block next to the position to place against. */
|
|
214
|
+
NoSupport = "NoSupport",
|
|
215
|
+
/** The block didn't appear after placing. */
|
|
216
|
+
Failed = "Failed",
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
/** Why starting or stopping another plugin didn't work. */
|
|
220
|
+
export enum PluginControlFailure {
|
|
221
|
+
/** The profile has no instance of that plugin: the user has to add it on the dashboard first. */
|
|
222
|
+
NotInstalled = "NotInstalled",
|
|
223
|
+
/** It is already running on that bot (start) or not running (stop). */
|
|
224
|
+
NoChange = "NoChange",
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
/** Where the plugin runs: `Dev` under `minebot dev` on your machine, `Hosted` on MineBot's runner. */
|
|
228
|
+
export enum PluginMode {
|
|
229
|
+
Dev = "Dev",
|
|
230
|
+
Hosted = "Hosted",
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
/** Events of the whole profile, for `runProfile`. Subscribe with `profile.on(ProfileEvent.X, handler)`. */
|
|
234
|
+
export enum ProfileEvent {
|
|
235
|
+
/** A bot of the profile connected and spawned. */
|
|
236
|
+
BotConnected = "BotConnected",
|
|
237
|
+
/** A bot of the profile disconnected or was kicked; `reason` is the server's message. */
|
|
238
|
+
BotDisconnected = "BotDisconnected",
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
/** Why the bot container refused the connection. */
|
|
242
|
+
export enum RejectReason {
|
|
243
|
+
/** The SDK speaks a protocol version the container doesn't; update `@minecraftbot-com/plugin`. */
|
|
244
|
+
UnsupportedProtocol = "UnsupportedProtocol",
|
|
245
|
+
/** The token is invalid, expired or revoked: run `minebot login` again. */
|
|
246
|
+
InvalidToken = "InvalidToken",
|
|
247
|
+
/** The token is for another profile. */
|
|
248
|
+
WrongProfile = "WrongProfile",
|
|
249
|
+
/** The plugin asks for permissions the user hasn't approved. */
|
|
250
|
+
PermissionsChanged = "PermissionsChanged",
|
|
251
|
+
/** The plugin is disabled or uninstalled. */
|
|
252
|
+
Disabled = "Disabled",
|
|
253
|
+
/** Custom plugins aren't enabled for this account yet. */
|
|
254
|
+
FeatureDisabled = "FeatureDisabled",
|
|
255
|
+
/** The manifest is invalid (see the message). */
|
|
256
|
+
BadManifest = "BadManifest",
|
|
257
|
+
/** The first frame wasn't a hello, or it took too long. */
|
|
258
|
+
BadHandshake = "BadHandshake",
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
/** Why a run ended. `run` code doesn't need to handle it: waiting calls end on their own. */
|
|
262
|
+
export enum StopReason {
|
|
263
|
+
/** The user stopped the plugin or removed the bot from it. */
|
|
264
|
+
UserStopped = "UserStopped",
|
|
265
|
+
/** The bot disconnected. */
|
|
266
|
+
BotDisconnected = "BotDisconnected",
|
|
267
|
+
/** The profile stopped. */
|
|
268
|
+
ProfileStopped = "ProfileStopped",
|
|
269
|
+
/** The plugin was disabled or uninstalled. */
|
|
270
|
+
PluginDisabled = "PluginDisabled",
|
|
271
|
+
/** Another plugin started or stopped this one (`Permission.ProfilePlugins`). */
|
|
272
|
+
StoppedByPlugin = "StoppedByPlugin",
|
|
273
|
+
/** A newer session of the same plugin connected (for example `minebot dev` restarted). */
|
|
274
|
+
Replaced = "Replaced",
|
|
275
|
+
/** The connection to the bot container ended. */
|
|
276
|
+
Disconnected = "Disconnected",
|
|
277
|
+
/** Someone ended the session from the dashboard. */
|
|
278
|
+
EndedByUser = "EndedByUser",
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
/** Who a stored value is shared by. */
|
|
282
|
+
export enum StorageScope {
|
|
283
|
+
/** Every bot of the profile (the default). */
|
|
284
|
+
Profile = "Profile",
|
|
285
|
+
/** One value per bot (per Minecraft account; survives renames). */
|
|
286
|
+
Bot = "Bot",
|
|
287
|
+
/** All profiles of the user who installed the plugin. */
|
|
288
|
+
User = "User",
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
/** Built-in MineBot plugins, for `bot.plugins.start` and `bot.plugins.stop` (needs `Permission.ProfilePlugins`). */
|
|
292
|
+
export enum BuiltInPlugin {
|
|
293
|
+
/** Area Miner: Mines a selected area. */
|
|
294
|
+
AreaMiner = "official-area-miner",
|
|
295
|
+
/** Auto Armor: Makes the bot equip the best armor that is available. */
|
|
296
|
+
AutoArmor = "official-auto-armor",
|
|
297
|
+
/** Auto Eater: Makes the bots eat food when their hunger is low. */
|
|
298
|
+
AutoEater = "official-auto-eat",
|
|
299
|
+
/** Auto Potion: Makes the bots throw/drink potions. */
|
|
300
|
+
AutoPotion = "official-auto-potion",
|
|
301
|
+
/** Chat To Discord: Sends the server's chat to a specified discord server. */
|
|
302
|
+
ChatToDiscord = "official-chat-to-discord",
|
|
303
|
+
/** Cobblestone Generator Farmer: Mines cobblestone and other blocks that get generated by a cobblestone generator. */
|
|
304
|
+
CobbleStoneGenerator = "official-cobble-gen-farmer",
|
|
305
|
+
/** FTop To Discord: Posts FTop/ISTop stats to the discord. */
|
|
306
|
+
FTop = "official-ftop-to-discord",
|
|
307
|
+
/** Farmer: Farms various types of crops (wheat, carrots, potatoes, etc.). */
|
|
308
|
+
Farmer = "official-farmer",
|
|
309
|
+
/** Fish Farmer: Catches fish at the closest water pool. */
|
|
310
|
+
FishFarmer = "official-fish-farmer",
|
|
311
|
+
/** Follower: Makes the bots follow a certain player. */
|
|
312
|
+
Follower = "official-follower",
|
|
313
|
+
/** Freeze: Freezes the bot in place, disabling falling, all movement, etc. Plugin known previously as No Fall. */
|
|
314
|
+
Freeze = "official-freeze",
|
|
315
|
+
/** Mob Farmer: Monster killer for mob farms. */
|
|
316
|
+
MobFarmer = "official-mod-farmer",
|
|
317
|
+
/** Netherwart Farmer: Automatically farms nether warts and replants them. */
|
|
318
|
+
NetherwartFarmer = "official-netherwart-farmer",
|
|
319
|
+
/** Ore Miner: Mines ores using xray. */
|
|
320
|
+
OreMiner = "official-ore-miner",
|
|
321
|
+
/** Raid Alerts: Notifies the user on discord when an explosion occurs/mobs appear/players get close. */
|
|
322
|
+
RaidAlerts = "official-raid-alerts",
|
|
323
|
+
/** Shield Aura: Makes the bots follow a certain player and defend him from other players. */
|
|
324
|
+
ShieldAura = "official-shield-aura",
|
|
325
|
+
/** Sugarcane Farmer: Automatically farms sugarcanes. */
|
|
326
|
+
SugarcaneFarmer = "official-sugarcane-farmer",
|
|
327
|
+
/** Wander: Makes the bots wander aimlessly. */
|
|
328
|
+
Wander = "official-wander",
|
|
329
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
// Generated from Minecraft 26.3 and the MineBot plugin protocol. Do not edit.
|
|
2
|
+
|
|
3
|
+
/** Every status effect of Minecraft 26.3, as namespaced ids. */
|
|
4
|
+
export enum Effect {
|
|
5
|
+
Absorption = "minecraft:absorption",
|
|
6
|
+
BadOmen = "minecraft:bad_omen",
|
|
7
|
+
Blindness = "minecraft:blindness",
|
|
8
|
+
BreathOfTheNautilus = "minecraft:breath_of_the_nautilus",
|
|
9
|
+
ConduitPower = "minecraft:conduit_power",
|
|
10
|
+
Darkness = "minecraft:darkness",
|
|
11
|
+
DolphinsGrace = "minecraft:dolphins_grace",
|
|
12
|
+
FireResistance = "minecraft:fire_resistance",
|
|
13
|
+
Glowing = "minecraft:glowing",
|
|
14
|
+
Haste = "minecraft:haste",
|
|
15
|
+
HealthBoost = "minecraft:health_boost",
|
|
16
|
+
HeroOfTheVillage = "minecraft:hero_of_the_village",
|
|
17
|
+
Hunger = "minecraft:hunger",
|
|
18
|
+
Infested = "minecraft:infested",
|
|
19
|
+
InstantDamage = "minecraft:instant_damage",
|
|
20
|
+
InstantHealth = "minecraft:instant_health",
|
|
21
|
+
Invisibility = "minecraft:invisibility",
|
|
22
|
+
JumpBoost = "minecraft:jump_boost",
|
|
23
|
+
Levitation = "minecraft:levitation",
|
|
24
|
+
Luck = "minecraft:luck",
|
|
25
|
+
MiningFatigue = "minecraft:mining_fatigue",
|
|
26
|
+
Nausea = "minecraft:nausea",
|
|
27
|
+
NightVision = "minecraft:night_vision",
|
|
28
|
+
Oozing = "minecraft:oozing",
|
|
29
|
+
Poison = "minecraft:poison",
|
|
30
|
+
RaidOmen = "minecraft:raid_omen",
|
|
31
|
+
Regeneration = "minecraft:regeneration",
|
|
32
|
+
Resistance = "minecraft:resistance",
|
|
33
|
+
Saturation = "minecraft:saturation",
|
|
34
|
+
SlowFalling = "minecraft:slow_falling",
|
|
35
|
+
Slowness = "minecraft:slowness",
|
|
36
|
+
Speed = "minecraft:speed",
|
|
37
|
+
Strength = "minecraft:strength",
|
|
38
|
+
TrialOmen = "minecraft:trial_omen",
|
|
39
|
+
Unluck = "minecraft:unluck",
|
|
40
|
+
WaterBreathing = "minecraft:water_breathing",
|
|
41
|
+
Weakness = "minecraft:weakness",
|
|
42
|
+
Weaving = "minecraft:weaving",
|
|
43
|
+
WindCharged = "minecraft:wind_charged",
|
|
44
|
+
Wither = "minecraft:wither",
|
|
45
|
+
}
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
// Generated from Minecraft 26.3 and the MineBot plugin protocol. Do not edit.
|
|
2
|
+
|
|
3
|
+
/** Every entity type of Minecraft 26.3 (mobs, animals, players, items on the ground, ...), as namespaced ids. */
|
|
4
|
+
export enum Entity {
|
|
5
|
+
AcaciaBoat = "minecraft:acacia_boat",
|
|
6
|
+
AcaciaChestBoat = "minecraft:acacia_chest_boat",
|
|
7
|
+
Allay = "minecraft:allay",
|
|
8
|
+
AreaEffectCloud = "minecraft:area_effect_cloud",
|
|
9
|
+
Armadillo = "minecraft:armadillo",
|
|
10
|
+
ArmorStand = "minecraft:armor_stand",
|
|
11
|
+
Arrow = "minecraft:arrow",
|
|
12
|
+
Axolotl = "minecraft:axolotl",
|
|
13
|
+
BambooChestRaft = "minecraft:bamboo_chest_raft",
|
|
14
|
+
BambooRaft = "minecraft:bamboo_raft",
|
|
15
|
+
Bat = "minecraft:bat",
|
|
16
|
+
Bee = "minecraft:bee",
|
|
17
|
+
BirchBoat = "minecraft:birch_boat",
|
|
18
|
+
BirchChestBoat = "minecraft:birch_chest_boat",
|
|
19
|
+
Blaze = "minecraft:blaze",
|
|
20
|
+
BlockDisplay = "minecraft:block_display",
|
|
21
|
+
Bogged = "minecraft:bogged",
|
|
22
|
+
Breeze = "minecraft:breeze",
|
|
23
|
+
BreezeWindCharge = "minecraft:breeze_wind_charge",
|
|
24
|
+
Camel = "minecraft:camel",
|
|
25
|
+
CamelHusk = "minecraft:camel_husk",
|
|
26
|
+
Cat = "minecraft:cat",
|
|
27
|
+
CaveSpider = "minecraft:cave_spider",
|
|
28
|
+
CherryBoat = "minecraft:cherry_boat",
|
|
29
|
+
CherryChestBoat = "minecraft:cherry_chest_boat",
|
|
30
|
+
ChestMinecart = "minecraft:chest_minecart",
|
|
31
|
+
Chicken = "minecraft:chicken",
|
|
32
|
+
Cod = "minecraft:cod",
|
|
33
|
+
CommandBlockMinecart = "minecraft:command_block_minecart",
|
|
34
|
+
CopperGolem = "minecraft:copper_golem",
|
|
35
|
+
Cow = "minecraft:cow",
|
|
36
|
+
Creaking = "minecraft:creaking",
|
|
37
|
+
Creeper = "minecraft:creeper",
|
|
38
|
+
Cushion = "minecraft:cushion",
|
|
39
|
+
DarkOakBoat = "minecraft:dark_oak_boat",
|
|
40
|
+
DarkOakChestBoat = "minecraft:dark_oak_chest_boat",
|
|
41
|
+
Dolphin = "minecraft:dolphin",
|
|
42
|
+
Donkey = "minecraft:donkey",
|
|
43
|
+
DragonFireball = "minecraft:dragon_fireball",
|
|
44
|
+
Drowned = "minecraft:drowned",
|
|
45
|
+
Egg = "minecraft:egg",
|
|
46
|
+
ElderGuardian = "minecraft:elder_guardian",
|
|
47
|
+
EndCrystal = "minecraft:end_crystal",
|
|
48
|
+
EnderDragon = "minecraft:ender_dragon",
|
|
49
|
+
EnderPearl = "minecraft:ender_pearl",
|
|
50
|
+
Enderman = "minecraft:enderman",
|
|
51
|
+
Endermite = "minecraft:endermite",
|
|
52
|
+
Evoker = "minecraft:evoker",
|
|
53
|
+
EvokerFangs = "minecraft:evoker_fangs",
|
|
54
|
+
ExperienceBottle = "minecraft:experience_bottle",
|
|
55
|
+
ExperienceOrb = "minecraft:experience_orb",
|
|
56
|
+
EyeOfEnder = "minecraft:eye_of_ender",
|
|
57
|
+
FallingBlock = "minecraft:falling_block",
|
|
58
|
+
Fireball = "minecraft:fireball",
|
|
59
|
+
FireworkRocket = "minecraft:firework_rocket",
|
|
60
|
+
FishingBobber = "minecraft:fishing_bobber",
|
|
61
|
+
Fox = "minecraft:fox",
|
|
62
|
+
Frog = "minecraft:frog",
|
|
63
|
+
FurnaceMinecart = "minecraft:furnace_minecart",
|
|
64
|
+
Ghast = "minecraft:ghast",
|
|
65
|
+
Giant = "minecraft:giant",
|
|
66
|
+
GlowItemFrame = "minecraft:glow_item_frame",
|
|
67
|
+
GlowSquid = "minecraft:glow_squid",
|
|
68
|
+
Goat = "minecraft:goat",
|
|
69
|
+
Guardian = "minecraft:guardian",
|
|
70
|
+
HappyGhast = "minecraft:happy_ghast",
|
|
71
|
+
Hoglin = "minecraft:hoglin",
|
|
72
|
+
HopperMinecart = "minecraft:hopper_minecart",
|
|
73
|
+
Horse = "minecraft:horse",
|
|
74
|
+
Husk = "minecraft:husk",
|
|
75
|
+
Illusioner = "minecraft:illusioner",
|
|
76
|
+
Interaction = "minecraft:interaction",
|
|
77
|
+
IronGolem = "minecraft:iron_golem",
|
|
78
|
+
Item = "minecraft:item",
|
|
79
|
+
ItemDisplay = "minecraft:item_display",
|
|
80
|
+
ItemFrame = "minecraft:item_frame",
|
|
81
|
+
JungleBoat = "minecraft:jungle_boat",
|
|
82
|
+
JungleChestBoat = "minecraft:jungle_chest_boat",
|
|
83
|
+
LeashKnot = "minecraft:leash_knot",
|
|
84
|
+
LightningBolt = "minecraft:lightning_bolt",
|
|
85
|
+
LingeringPotion = "minecraft:lingering_potion",
|
|
86
|
+
Llama = "minecraft:llama",
|
|
87
|
+
LlamaSpit = "minecraft:llama_spit",
|
|
88
|
+
MagmaCube = "minecraft:magma_cube",
|
|
89
|
+
MangroveBoat = "minecraft:mangrove_boat",
|
|
90
|
+
MangroveChestBoat = "minecraft:mangrove_chest_boat",
|
|
91
|
+
Mannequin = "minecraft:mannequin",
|
|
92
|
+
Marker = "minecraft:marker",
|
|
93
|
+
Minecart = "minecraft:minecart",
|
|
94
|
+
Mooshroom = "minecraft:mooshroom",
|
|
95
|
+
Mule = "minecraft:mule",
|
|
96
|
+
Nautilus = "minecraft:nautilus",
|
|
97
|
+
OakBoat = "minecraft:oak_boat",
|
|
98
|
+
OakChestBoat = "minecraft:oak_chest_boat",
|
|
99
|
+
Ocelot = "minecraft:ocelot",
|
|
100
|
+
OminousItemSpawner = "minecraft:ominous_item_spawner",
|
|
101
|
+
Painting = "minecraft:painting",
|
|
102
|
+
PaleOakBoat = "minecraft:pale_oak_boat",
|
|
103
|
+
PaleOakChestBoat = "minecraft:pale_oak_chest_boat",
|
|
104
|
+
Panda = "minecraft:panda",
|
|
105
|
+
Parched = "minecraft:parched",
|
|
106
|
+
Parrot = "minecraft:parrot",
|
|
107
|
+
Phantom = "minecraft:phantom",
|
|
108
|
+
Pig = "minecraft:pig",
|
|
109
|
+
Piglin = "minecraft:piglin",
|
|
110
|
+
PiglinBrute = "minecraft:piglin_brute",
|
|
111
|
+
Pillager = "minecraft:pillager",
|
|
112
|
+
Player = "minecraft:player",
|
|
113
|
+
PolarBear = "minecraft:polar_bear",
|
|
114
|
+
PoplarBoat = "minecraft:poplar_boat",
|
|
115
|
+
PoplarChestBoat = "minecraft:poplar_chest_boat",
|
|
116
|
+
Pufferfish = "minecraft:pufferfish",
|
|
117
|
+
Rabbit = "minecraft:rabbit",
|
|
118
|
+
Ravager = "minecraft:ravager",
|
|
119
|
+
Salmon = "minecraft:salmon",
|
|
120
|
+
Sheep = "minecraft:sheep",
|
|
121
|
+
Shulker = "minecraft:shulker",
|
|
122
|
+
ShulkerBullet = "minecraft:shulker_bullet",
|
|
123
|
+
Silverfish = "minecraft:silverfish",
|
|
124
|
+
Skeleton = "minecraft:skeleton",
|
|
125
|
+
SkeletonHorse = "minecraft:skeleton_horse",
|
|
126
|
+
Slime = "minecraft:slime",
|
|
127
|
+
SmallFireball = "minecraft:small_fireball",
|
|
128
|
+
Sniffer = "minecraft:sniffer",
|
|
129
|
+
SnowGolem = "minecraft:snow_golem",
|
|
130
|
+
Snowball = "minecraft:snowball",
|
|
131
|
+
SpawnerMinecart = "minecraft:spawner_minecart",
|
|
132
|
+
SpectralArrow = "minecraft:spectral_arrow",
|
|
133
|
+
Spider = "minecraft:spider",
|
|
134
|
+
SplashPotion = "minecraft:splash_potion",
|
|
135
|
+
SpruceBoat = "minecraft:spruce_boat",
|
|
136
|
+
SpruceChestBoat = "minecraft:spruce_chest_boat",
|
|
137
|
+
Squid = "minecraft:squid",
|
|
138
|
+
Stray = "minecraft:stray",
|
|
139
|
+
Strider = "minecraft:strider",
|
|
140
|
+
SulfurCube = "minecraft:sulfur_cube",
|
|
141
|
+
Tadpole = "minecraft:tadpole",
|
|
142
|
+
TextDisplay = "minecraft:text_display",
|
|
143
|
+
Tnt = "minecraft:tnt",
|
|
144
|
+
TntMinecart = "minecraft:tnt_minecart",
|
|
145
|
+
TraderLlama = "minecraft:trader_llama",
|
|
146
|
+
Trident = "minecraft:trident",
|
|
147
|
+
TropicalFish = "minecraft:tropical_fish",
|
|
148
|
+
Turtle = "minecraft:turtle",
|
|
149
|
+
Vex = "minecraft:vex",
|
|
150
|
+
Villager = "minecraft:villager",
|
|
151
|
+
Vindicator = "minecraft:vindicator",
|
|
152
|
+
WanderingTrader = "minecraft:wandering_trader",
|
|
153
|
+
Warden = "minecraft:warden",
|
|
154
|
+
WindCharge = "minecraft:wind_charge",
|
|
155
|
+
Witch = "minecraft:witch",
|
|
156
|
+
Wither = "minecraft:wither",
|
|
157
|
+
WitherSkeleton = "minecraft:wither_skeleton",
|
|
158
|
+
WitherSkull = "minecraft:wither_skull",
|
|
159
|
+
Wolf = "minecraft:wolf",
|
|
160
|
+
Zoglin = "minecraft:zoglin",
|
|
161
|
+
Zombie = "minecraft:zombie",
|
|
162
|
+
ZombieHorse = "minecraft:zombie_horse",
|
|
163
|
+
ZombieNautilus = "minecraft:zombie_nautilus",
|
|
164
|
+
ZombieVillager = "minecraft:zombie_villager",
|
|
165
|
+
ZombifiedPiglin = "minecraft:zombified_piglin",
|
|
166
|
+
}
|