Jump to content

GE Helve Hammer - Extend Helve Hammer Recipes


DrAstralis

Recommended Posts

This is a simple mod to extend the recipes the Helve Hammer is capable of working on to include the other vanilla 2D smithing recipes.  

Allows ingots without a 'recipe' selection to be picked back up as ingots. (Current vanilla behavior is they automatically become arrowhead 'work items' when placed on Anvil)

Extended recipes incur a speed penalty for balance; indicated visually by slag particles during smithing.

Hammers,  Padlocks, and Helve Hammers are "3D" recipes and still need to be crafted traditionally.


This is my first mod and foray into harmony; feedback and bug reports welcome 😀

Download Here:
*please backup your world before enabling the mod.  A few people are experiencing a potentially unrecoverable issue related to other smithing / anvil mods*
v0.1.1 GE Helve Hammer - alpha

Edited by DrAstralis
  • Like 1
  • Amazing! 2
Link to comment
Share on other sites

  • 2 weeks later...

oh shit my world is dead

7.11.2020 13:16:08 [Fatal] System.NullReferenceException: Object reference not set to an instance of an object
  at gehelvehammer.src.GEBlockEntityAnvil.OnHelveHammerHitPatch (Vintagestory.GameContent.BlockEntityAnvil& __instance) [0x00015] in <79c41353989a4bb5ace000cbef0f2ebe>:0 
  at (wrapper dynamic-method) Vintagestory.GameContent.BlockEntityAnvil.Vintagestory.GameContent.BlockEntityAnvil.OnHelveHammerHit_Patch1(Vintagestory.GameContent.BlockEntityAnvil)
  at Vintagestory.GameContent.Mechanics.BEHelveHammer.onEvery25ms (System.Single dt) [0x001c2] in <e2f1b77f4ab84b92981f65a3078802b7>:0 
  at Vintagestory.Common.EventManager.TriggerGameTick (System.Int64 ellapsedMilliseconds, Vintagestory.API.Common.IWorldAccessor world) [0x000d3] in <f4a48dd783cc40918cec721779475ae5>:0 
  at Vintagestory.Server.CoreServerEventManager.TriggerGameTick (System.Int64 ellapsedMilliseconds, Vintagestory.API.Common.IWorldAccessor world) [0x00000] in <f4a48dd783cc40918cec721779475ae5>:0 
  at Vintagestory.Server.ServerMain.Process () [0x001f4] in <f4a48dd783cc40918cec721779475ae5>:0 

@Tyron any chance to delete this block or item ?

Link to comment
Share on other sites

@Lucy Demoon

Hmm.  I've had one other report of this but I've been unable to reproduce it.    Can you confirm if you're running in windows or linux?  Does this error occur for you if you have the mod enabled and create a new world?  Does it continue to happen to your existing world if you disable the mod?

We've incorporated it into a few test servers and our main server without issue so any help narrowing down the cause would be appreciated.

Link to comment
Share on other sites

Installed this on single player, as soon as I built the helvehammer my world stopped loading except for the map and minimap... none of the actual world would load in. I figured it was maybe due to it being a creative world so I loaded into my main world and as soon as I built the helvehammer and windmill, everything stopped updating... eating food, placing or breaking blocks.... i can still run around but nothing updated. I dont see any errors either. I unloaded the mod and still having the same issue, my wold is dead.

Link to comment
Share on other sites

@Deviator

Hmm,  I still cannot recreate this issue.    Are you in windows or Linux?  Do you recall which type of helve hammer  / anvil were in the setup?  Are you on version 1.13.4 (1.14 has changes to the anvil / helve hammer)?  Would you at all mind providing me with the save for either of those instances to see if they have the same issue on my side? (if they load I might be able to recover it as well).  Sorry for the frustration.  Any help would be appreciated.

Edited by DrAstralis
Link to comment
Share on other sites

Am on 1.13.4, Windows. Don't recall which type I played with in creative but was BisBronze for the hammer, and TinBronze for anvil. I unloaded the mod, loaded an old save, reloaded the mod and the helvehammer will bang out a new recipe but the rest of the world stops updating... can't cut grass or change gamemodes or anything, just the helvehammer banging away a new saw then eventually I get disconnected.

 

You can download the world here.

https://drive.google.com/file/d/1sqH2CFXIK-o-TXP2GIJ-rUZCd2c3hEsw/view?usp=sharing

 

Link to comment
Share on other sites

@DrAstralis

 

Might have figured out the conflict. I also use the Anvil Metal Recovery mod and when I have one or the other loaded it seems to be OK, but when I have both, it goes screwy. I can do without the metal recovery but it might be nice if the two could work together for people who still want to smith certain things on the anvil and recover some bits. I did find it strange that the conflict happens even before bits are created or anything is smithed.

 

Link to comment
Share on other sites

@Deviator

Awesome, thank you so much for some insight and the save file.  I'll have to put a notice on the download that it probably wont be immediately compatible with other anvil adjusting mods.  Due to the current nature of the Anvil / helve hammer relationship I had to use Harmony to completely replace the vanilla event methods in order to change the recipes it would accept.  (it also has some small fixes such as, being able to retrieve an ingot once placed on the anvil without it auto converting to arrowheads; which happens in vanilla.)

I'll reach out to them though and see if they their project is open source enough for me to research if its possible to integrate as, given what I learned building this mod, they probably had to do something similar to change how the individual ingot voxels are managed.

again, thank you so much!  I don't run many other mods and it hadn't occurred to me for some reason /facepalm.

 

Edited by DrAstralis
Link to comment
Share on other sites

11 hours ago, Deviator said:

@DrAstralis

 

Might have figured out the conflict. I also use the Anvil Metal Recovery mod and when I have one or the other loaded it seems to be OK, but when I have both, it goes screwy. I can do without the metal recovery but it might be nice if the two could work together for people who still want to smith certain things on the anvil and recover some bits. I did find it strange that the conflict happens even before bits are created or anything is smithed.

 

This is an Anvil Metal Recovery bug, it breaks anvils (without GE Helve Hammer).

Edited by DArkHekRoMaNT
Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...
  • 3 weeks later...
On 12/8/2020 at 7:40 PM, DrAstralis said:

@ray57913

Sorry about that, I'll have to remove the '+' in the versions.  1.14 had a large change to the anvil.  I'll need a week or so to rebuild for the new code.

Really looking forward to use it on 1.14 :3 I did with 1.13.4 and it worked nicely, just (obviously) recipes introduced by mods weren't available

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.