-
Notifications
You must be signed in to change notification settings - Fork 2
/
example.yaml
76 lines (71 loc) · 1.45 KB
/
example.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# This YAML file will only be used to specify the initial state of the world, and the goal state of the world
# Block and item variants are not currently supported
# the task name
name: "First Problem"
# intialise all block positions
# if there are no blocks, leave this out
blocks:
- position:
x: '0'
y: '4'
z: '1'
type: obsidian
- position:
x: '0'
y: '4'
z: '-3'
type: obsidian
- position:
x: '0'
y: '4'
z: '-4'
type: obsidian
- position:
x: '0'
y: '4'
z: '-5'
type: obsidian
- position:
x: '0'
y: '5'
z: '-6'
type: log
# initialise all floating items in the world
# if there are no items, leave this out
items:
- position:
x: '1'
y: '5'
z: '5'
quantity: 1
type: diamond
- position:
x: '-1'
y: '5'
z: '5'
quantity: 1
type: log
# specify the agnents initial inventory
# if there are no items, leave this out
inventory:
- type: log
quantity: '64'
- type: obsidian
quantity: '64'
# specify the goal: can be agent at a specific location, specific blocks placed at specific locations or agent having specific items in the inventory
# if any one of these is not required, leave it out
goal:
agent:
- position:
x: '-2'
y: '4'
z: '0'
blocks:
- position:
x: '0'
y: '4'
z: '-2'
type: log
inventory:
- type: log
quantity: '1'