forked from feather-rs/feather
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcli.yml
More file actions
136 lines (129 loc) · 4.03 KB
/
cli.yml
File metadata and controls
136 lines (129 loc) · 4.03 KB
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
name: blocks_generator
version: "0.1.0"
author: "caelunshun <caelunshun@gmail.com>"
about: "Generates block state ID mappings and Rust Block enum for various Minecraft versions"
subcommands:
- block-mappings:
about: "Generates a block state ID mapping file from the given data report"
args:
- input:
short: i
help: "blocks.json data report generated by Vanilla"
required: true
takes_value: true
- output:
short: o
help: "output file to write data to"
required: true
takes_value: true
- native:
short: n
help: "the data report corresponding to the server's native version to refer to"
required: true
takes_value: true
- proto:
short: p
help: "the protocol version ID corresponding to the input file's version"
required: true
takes_value: true
- ver:
short: v
help: "the name of the Minecraft version of the input file"
required: true
takes_value: true
- native-block-mappings:
about: "Generates a native block state ID mapping file from the server's native data report"
args:
- input:
short: i
help: "blocks.json data report corresponding to the server's native version"
required: true
takes_value: true
- output:
short: o
help: "output file to write mappings to"
required: true
takes_value: true
- proto:
short: p
help: "the protocol version ID corresponding to the input file's version"
required: true
takes_value: true
- ver:
short: v
help: "the name of the Minecraft version of the input file"
required: true
takes_value: true
- block-rust:
about: "Generates Rust enum and block data structs for the server's native version"
args:
- input:
short: i
help: "blocks.json report corresponding to the server's native version"
required: true
takes_value: true
- output:
short: o
help: "Rust file to write code to. This file will be OVERWRITTEN"
required: true
takes_value: true
- item-mappings:
about: "Generates native item protocol ID mappings"
args:
- input:
short: i
help: "items.json report corresponding to the server's native version"
required: true
takes_value: true
- output:
short: o
help: "output file to write mappings to"
required: true
takes_value: true
- item-rust:
about: "Generates Rust code for native item ID mappings"
args:
- input:
short: i
help: "items.json report"
required: true
takes_value: true
- output:
short: o
help: "output file to write code to"
required: true
takes_value: true
- items-to-blocks:
about: "Generates mappings from items to blocks"
args:
- items:
long: items
help: "Item report"
required: true
takes_value: true
- blocks:
long: blocks
help: "Blocks report"
required: true
takes_value: true
- output:
long: output
short: o
help: "Rust output file"
required: true
takes_value: true
- biomes:
about: "Generates biome mappings"
args:
- input:
long: input
short: i
required: true
takes_value: true
help: "1.14 registries.json report"
- output:
long: output
short: o
required: true
takes_value: true
help: "Output file to write code to"