You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+20-9Lines changed: 20 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ This is a project that, when finished, will allow for the creation of data packs
28
28
- [ ] [default tags](#default-item-tags)
29
29
30
30
# How To Use
31
-
Download both "main.py" and "tags.py" and put them in your chosen project root directory. Create a directory called "tags" (where your tags go) and create your files (files can be present in any subdirectory that does not have "." at the beginning of it). Copy the ".saved" directory into your root (you can delete any file that is in the "you can delete this" directory) In your "main.mcscript" file (create one if you don't have it; must be in root directory), add the following line to specify your pack details:
31
+
Download both "main.py" and "tags.py" and put them in your chosen project root directory. Create a directory called "tags" (where your tags go) and create your files (files can be present in any subdirectory that does not have "." at the beginning of it). Copy the ".saved" directory into your root (you can delete any file that doesn't begin with "minecraft" in ".saved/tags") In your "main.mcscript" file (create one if you don't have it; must be in root directory), add the following line to specify your pack details:
32
32
33
33
pack-info: "[Pack name]" "[Pack ID (used for namespace)]" "[Pack description]" [Use snapshots (true or false)];
34
34
@@ -169,18 +169,29 @@ The following information is stored for every entity in the ".saved/data/entity_
169
169
|width|The witdth of the entities hitbox in blocks|decimal number
170
170
|height|The height of the entities hitbox in blocks|decimal number
171
171
|length|The height of the entities hitbox in blocks (for most entities this is eqwual to the width)|decimal number
172
-
|volume|The total amount of space in blocks the entity takes up. Calculated using the formula "length \* width \* height"|decimal number
172
+
|volume|The total amount of space in blocks the entity takes up. Calculated using the formula "length * width * height"|decimal number
173
173
|health|The maximum amount of health points this entity can have. "n/a" for entities that do not have health.|n/a or integer
174
-
|environment|The prefered environment for this entity|land, air, or water
174
+
|environment|The preferred environment for this entity|land, air, or water
175
175
|dimension|The dimension(s) this entity may be found naturally.|all, none, overworld, nether, end, or overworld/nether
176
176
177
177
# Default Entity Tags
178
178
The following entity tags are implemented into Minecraft by default and provided in the ".saved/tags" directory of the generator:
Each function you create using mcscript files will be added to the ".saved/data/functions.csv" file. You can also define external functions to be included within your mcscript file using 'def {namespace}:{function name}" (WIP). The following information is stored:
190
+
|key|description|possible values
191
+
|--|--|--|
192
+
|namespace|The namespace the entry is defined in.|string, no spaces or ":"|
193
+
|name|The name of the function as well as the data pack path it is stored in.|string, no spaces|
194
+
195
+
196
+
# Default Function Tags
197
+
Minecraft doesn't implement functions by default, so there are no default tags for functions.
0 commit comments