tutorial:datagen_advancements
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
tutorial:datagen_advancements [2023/06/05 17:34] – Create pack as variable, otherwise other providers can't be added mcrafterzz | tutorial:datagen_advancements [2023/09/24 18:52] – Use new minecraft wiki mattidragon | ||
---|---|---|---|
Line 13: | Line 13: | ||
Unfortunately there' | Unfortunately there' | ||
- | <code java [highlight_lines_extra=" | + | <code java [highlight_lines_extra=" |
import net.fabricmc.fabric.api.datagen.v1.DataGeneratorEntrypoint; | import net.fabricmc.fabric.api.datagen.v1.DataGeneratorEntrypoint; | ||
import net.fabricmc.fabric.api.datagen.v1.FabricDataGenerator; | import net.fabricmc.fabric.api.datagen.v1.FabricDataGenerator; | ||
Line 216: | Line 216: | ||
* This name is only ever used by '' | * This name is only ever used by '' | ||
- | The second argument is the criterion. In our example we use the '' | + | The second argument is the criterion. In our example we use the '' |
| PlayerHurtEntityCriterion.class | ImpossibleCriterion.class | Criterion.class | AbstractCriterion.class | VillagerTradeCriterion.class | | PlayerHurtEntityCriterion.class | ImpossibleCriterion.class | Criterion.class | AbstractCriterion.class | VillagerTradeCriterion.class |
tutorial/datagen_advancements.txt · Last modified: 2023/10/02 23:11 by jmanc3