<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.mutigeraffe.com/index.php?action=history&amp;feed=atom&amp;title=PocketBots%3AModding_API</id>
	<title>PocketBots:Modding API - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.mutigeraffe.com/index.php?action=history&amp;feed=atom&amp;title=PocketBots%3AModding_API"/>
	<link rel="alternate" type="text/html" href="https://wiki.mutigeraffe.com/index.php?title=PocketBots:Modding_API&amp;action=history"/>
	<updated>2026-10-19T15:11:42Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://wiki.mutigeraffe.com/index.php?title=PocketBots:Modding_API&amp;diff=31&amp;oldid=prev</id>
		<title>Maintenance script: PocketBots wiki</title>
		<link rel="alternate" type="text/html" href="https://wiki.mutigeraffe.com/index.php?title=PocketBots:Modding_API&amp;diff=31&amp;oldid=prev"/>
		<updated>2026-10-18T21:41:21Z</updated>

		<summary type="html">&lt;p&gt;PocketBots wiki&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;PocketBots is built to be extended. Other mods can add their own bot types, abilities and bonuses.&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
The public API lives in the &amp;lt;code&amp;gt;api&amp;lt;/code&amp;gt; package of PocketBots:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Class !! Purpose&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;BotType&amp;lt;/code&amp;gt; || Base class for a bot type: id, name, model, fixed bonuses and an optional ability.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;BotAbility&amp;lt;/code&amp;gt; || A special ability that runs while the bot is out.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;BonusType&amp;lt;/code&amp;gt; || A bonus that can be fixed or rolled at random.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;MaxStatBonus&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;PercentBonus&amp;lt;/code&amp;gt; || Ready-made base classes for stat and percentage bonuses.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;PocketBotsApi&amp;lt;/code&amp;gt; || Entry point: &amp;lt;code&amp;gt;registerBotType&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;registerBonusType&amp;lt;/code&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Adding a bot ==&lt;br /&gt;
# Extend &amp;lt;code&amp;gt;BotType&amp;lt;/code&amp;gt; and describe your bot.&lt;br /&gt;
# Optionally return a &amp;lt;code&amp;gt;BotAbility&amp;lt;/code&amp;gt; for a special trick.&lt;br /&gt;
# Register the type with &amp;lt;code&amp;gt;PocketBotsApi.registerBotType&amp;lt;/code&amp;gt; when your mod starts.&lt;br /&gt;
&lt;br /&gt;
Bots from other mods live in the generic &amp;#039;&amp;#039;Bot Capsule&amp;#039;&amp;#039; items and show up in &amp;lt;code&amp;gt;/pb types&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{{PocketBots Nav}}&lt;/div&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
</feed>