File tree Expand file tree Collapse file tree 2 files changed +10
-14
lines changed
Expand file tree Collapse file tree 2 files changed +10
-14
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,14 @@ pipeline:
1616 - gm4.plugins.extend.module
1717
1818meta :
19+ animals :
20+ - chicken
21+ - cow
22+ - hoglin
23+ - mooshroom
24+ - pig
25+ - rabbit
26+ - sheep
1927 gm4 :
2028 versioning :
2129 schedule_loops : []
Original file line number Diff line number Diff line change 55logger = logging .getLogger (__name__ )
66
77def beet_default (ctx : Context ):
8- # List of supported entities
9- # This list is defined in 2 other places, translations.csv and the guidebook
10- entity_ids = [
11- "chicken" ,
12- "cow" ,
13- "hoglin" ,
14- "mooshroom" ,
15- "pig" ,
16- "rabbit" ,
17- "sheep"
18- ]
19- ctx .meta ['animals' ] = entity_ids
20-
8+ # List of supported animals defined in beet.yaml as well as the guidebook page
219 # for each supported entity, render a copy of the "templates" directory with the appropriate entity-id
22- for entity in entity_ids :
10+ for entity in ctx . meta [ 'animals' ] :
2311 subproject_config = {
2412 "data_pack" : {
2513 "load" : [
You can’t perform that action at this time.
0 commit comments