forked from feather-rs/feather
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcli.yml
More file actions
100 lines (95 loc) · 3.15 KB
/
Copy pathcli.yml
File metadata and controls
100 lines (95 loc) · 3.15 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
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