ja:tutorial:enchantments
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
ja:tutorial:enchantments [2022/08/20 07:52] – created skytomo | ja:tutorial:enchantments [2023/01/04 13:53] (current) – [Registering Enchantment] サンプルコード:register()の第3引数にFROSTを渡す datsuns | ||
---|---|---|---|
Line 85: | Line 85: | ||
@Override | @Override | ||
public void onInitialize() { | public void onInitialize() { | ||
- | Registry.register(Registry.ENCHANTMENT, | + | Registry.register(Registries.ENCHANTMENT, |
} | } | ||
} | } |
ja/tutorial/enchantments.1660981955.txt.gz · Last modified: 2022/08/20 07:52 by skytomo