mirror of
https://github.com/kolbytn/mindcraft.git
synced 2025-08-05 14:55:43 +02:00
added agent_code folder
This commit is contained in:
parent
7a37757b69
commit
eb885c02b5
2 changed files with 7 additions and 1 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -5,4 +5,4 @@ temp.js
|
|||
scratch.js
|
||||
# ignore eveything in agent_code except for 0.js
|
||||
agent_code/**
|
||||
!agent_code/0.js
|
||||
!agent_code/template.js
|
6
agent_code/template.js
Normal file
6
agent_code/template.js
Normal file
|
@ -0,0 +1,6 @@
|
|||
import * as skills from '../utils/skills.js';
|
||||
import * as world from '../utils/world.js';
|
||||
|
||||
export async function main(bot) {
|
||||
// agent's code goes here
|
||||
}
|
Loading…
Add table
Reference in a new issue