tutorial:enchantments
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
tutorial:enchantments [2022/12/11 21:30] – Registry to Registries haykam | 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(Registries.ENCHANTMENT, | + | Registry.register(Registries.ENCHANTMENT, |
} | } | ||
} | } |
tutorial/enchantments.txt · Last modified: 2023/01/04 13:52 by datsuns