Started by
Claistien
on
Topic category: Help with Minecraft modding (Java Edition)
so, to put it simply, I want a villager to exchange a specific enchantment book, the problem is that here is the error it gives me
C:\Users\Claistien\MCreatorWorkspaces\ruby_mod\src\main\java\net\mcreator\rubymod\village\TradevillageTrade.java:28: error: cannot find symbol
EnchantmentHelper.addEnchantment(enchantedBook, FlamingarmorEnchantment.enchantment, 1);
^
symbol: method addEnchantment(net.minecraft.item.ItemStack,net.minecraft.enchantment.Enchantment,int)
location: class net.minecraft.enchantment.EnchantmentHelper
i really need help
I suggest opening a bug report on github
why should i do that???
So we have more context and that developers and contributors can fix the bug. It is not mandatory to do that, but without opening a bug report on our issue tracker, there is not much chance of it getting fixed