-
Notifications
You must be signed in to change notification settings - Fork 0
Home
These files are published in ParacraftBuildinMod.zip when paracraft is published.
Git clone this project to
[paracraft_rootdir]/npl_packages/Agents
Create Agent Sign Block:
Specify global
and always update
in agent editor page:
Agent files will be saved to [paracraft_rootdir]/npl_packages/Agents/Mod/*.xml
Git commit npl_packages/Agents
. When the ParacraftbuildinMod CI is run, these agent files will be published.
Please note, in order for always update to work, one must increase the version number manually each time you modify and commit changes.
Open and edit block_list.xml
, and add a line like
<block name="AgentSignBlock" uid="MacroPlatform" tip="宏示教" icon="Texture/blocks/items/agentsign.png" server_data='{agentPackageName="macroplatform", tooltip="宏示教", agentUrl="Mod/Agents/macroplatform.xml", isGlobal=true,updateMethod="always"}'/>
It is recommended that each agent or a group of related agents are saved in a dedicated paracraft world. If several developers want to cooperate on the agent code, they can edit the same world together. This will make version management easier.
All agents in different worlds are all saved to /npl_packages/Agents
git projects for uploading and packaging.