Posted May 28, 201510 yr Hey there, I am getting this message when failing to compile: http://puu.sh/i2PEH.png Only issue is, those lines of code are needed, and do do things... How can I stop Forge from saying it is deprecated? Everything works as it should in the dev environment. I can delete those lines of code and the mod loads... however, it doesn't do what it should (fill the Blood Altar) Why bother?
May 28, 201510 yr Thats not deprecated, those are missing, you need to call existing methods. I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon
May 28, 201510 yr Author Thats not deprecated, those are missing, you need to call existing methods. I would understand that if it didn't not work when the lines: altarEntity.sacrificialDaggerCall(amount, false); altarEntity.startCycle(); were removed from: public void findAndFillAltar(World world, EntityPlayer player, int amount) { int posX = (int) Math.round(player.posX - 0.5f); int posY = (int) player.posY; int posZ = (int) Math.round(player.posZ - 0.5f); IBloodAltar altarEntity = getAltar(world, posX, posY, posZ); if (altarEntity == null) { return; } altarEntity.sacrificialDaggerCall(amount, false); altarEntity.startCycle(); } But seeing as when those 2 lines get removed I can compile, but the item doesn't fill the altar, it makes me wonder Why bother?
May 28, 201510 yr You need to add a compile time dependency so Gradle knows to include Blood Magic when compiling your mod. Don't make mods if you don't know Java. Check out my website: http://shadowfacts.net Developer of many mods
May 28, 201510 yr Maybe a gradle dependency is pointing to the wrong version of Blood Magic. The compiler seems to have recognized symbol IBloodAlter.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.