User Tools

Site Tools


tutorial:datagen_tags

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
tutorial:datagen_tags [2023/06/05 18:20] – Update to new syntax mcrafterzztutorial:datagen_tags [2023/06/05 18:22] (current) – [Adding stuff to the builder] mcrafterzz
Line 80: Line 80:
  
 <code java> <code java>
-private static final TagKey<Item> SMELLY_ITEMS = TagKey.of(Registry.ITEM_KEY, new Identifier("mymod:smelly_items"));+private static final TagKey<Item> SMELLY_ITEMS = TagKey.of(RegistryKeys.ITEM_KEY, new Identifier("mymod:smelly_items"));
  
 @Override @Override
tutorial/datagen_tags.txt · Last modified: 2023/06/05 18:22 by mcrafterzz