tutorial:enchantments
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tutorial:enchantments [2022/06/23 00:42] – Updated tutorial to 1.19 outercloudstudio | tutorial:enchantments [2023/01/04 13:52] (current) – [Registering Enchantment] In Sample Code: pass FROST variable to the 3rd param of Registry#register(). datsuns | ||
---|---|---|---|
Line 85: | Line 85: | ||
@Override | @Override | ||
public void onInitialize() { | public void onInitialize() { | ||
- | Registry.register(Registry.ENCHANTMENT, | + | Registry.register(Registries.ENCHANTMENT, |
} | } | ||
} | } |
tutorial/enchantments.txt · Last modified: 2023/01/04 13:52 by datsuns