tutorial:tags
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| tutorial:tags [2024/01/05 13:53] – Switch minecraft wiki link to indie site cph101 | tutorial:tags [2024/06/17 13:05] (current) – solidblock | ||
|---|---|---|---|
| Line 7: | Line 7: | ||
| ==== Defining through JSON ==== | ==== Defining through JSON ==== | ||
| - | File Location: '' | + | File Location: |
| + | * '' | ||
| + | * '' | ||
| <code javascript> | <code javascript> | ||
| Line 26: | Line 28: | ||
| Vanilla tag objects can be found in class ''< | Vanilla tag objects can be found in class ''< | ||
| - | === Minecraft 1.19.3 | + | === Minecraft 1.21 and above === |
| + | |||
| + | < | ||
| + | public class ModBlockTags { | ||
| + | public static final TagKey< | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | === Minecraft 1.19.3 | ||
| < | < | ||
| Line 84: | Line 94: | ||
| ==== Existing conventional tags ===== | ==== Existing conventional tags ===== | ||
| - | Fabric API ships definitions for conventional tags in its '' | + | Fabric API ships definitions for conventional tags in its '' |
| A (possibly outdated) directory of general known conventional tags is available on [[community: | A (possibly outdated) directory of general known conventional tags is available on [[community: | ||
tutorial/tags.1704462815.txt.gz · Last modified: 2024/01/05 13:53 by cph101