Mods / Whack'Em!

Category: #Crafting #QoL #Utility
Author: Asraiel
Side: Both
Created: Jul 31st 2021 at 12:04 AM
Last modified: Mar 17th at 3:38 PM
Downloads: 542
Follow Unfollow 5

Are you tired of pushing your sheep around? Don't want to flood your village anymore to move some pigs? Domesticated animals are just not scared of you anymore? Fear not! This mod might be for you.

 

  • Adds a craftable Shepherd's Crook that can:
    • anger animals
      • makes them attack you
    • scare animals
      • makes them flee
    • calm animals
      • removes their current actions (works kind of inconsistently)
  • switch functionality via tool mode (F)
  • crafted from sticks, bones and small or medium pelts
  • fixed durability of 500
  • configurable durability costs
  • configurable minimum generation per tool mode

 

If you have any issues or questions, please hit me up on Discord or comment here.

 

Big Thanks to McBain for offering to update this to 1.16!

Version For Game version Downloads Release date Changelog Download
v0.0.2 236 Mar 17th at 3:38 PM Show whackem_v0.0.2.zip
v0.0.1 306 Jul 31st 2021 at 12:05 AM Show WhackEm_v0.0.1.zip

2 Comments (oldest first | newest first)

SGTSylver, Oct 9th 2021 at 3:37 PM

Version: v1.15.5 (Stable)9/27/2021 11:24:10 PM: Critical error occurred
System.NullReferenceException: Object reference not set to an instance of an object.
at ShepherdsCrook.ItemShepherdsCrook.IsLifestock(EntitySelection entitySel)
at ShepherdsCrook.ItemShepherdsCrook.OnHeldInteractStart(ItemSlot slot, EntityAgent byEntity, BlockSelection blockSel, EntitySelection entitySel, Boolean firstEvent, EnumHandHandling& handling)
at Vintagestory.Client.NoObf.SystemMouseInWorldInteractions.TryBeginUseActiveSlotItem(BlockSelection blockSel, EntitySelection entitySel, EnumHandInteract useType, EnumHandHandling& handling)
at Vintagestory.Client.NoObf.SystemMouseInWorldInteractions.TryBeginUseActiveSlotItem(BlockSelection blockSel, EntitySelection entitySel)
at Vintagestory.Client.NoObf.SystemMouseInWorldInteractions.HandleMouseInteractionsNoBlockSelected(Single dt)
at Vintagestory.Client.NoObf.SystemMouseInWorldInteractions.OnFinalizeFrame(Single dt)
at Vintagestory.Client.NoObf.ClientEventManager.TriggerRenderStage(EnumRenderStage stage, Single dt)
at Vintagestory.Client.NoObf.ClientMain.TriggerRenderStage(EnumRenderStage stage, Single dt)
at Vintagestory.Client.NoObf.ClientMain.RenderToDefaultFramebuffer(Single dt)
at _EMxDKvc7iN7J6hlNFQiKeoxg0Mm._ra0MgpFbqkfgNETNlZ5CppyVnhE(Single )
at _Wwq7msw90Af4XU7mxkxAUKyrS5B._iIGaTXNE8VYTpgEu9zjpAQyJSxd(Single )
at _Wwq7msw90Af4XU7mxkxAUKyrS5B._vCB99EztL7cSfmplK8tyTwrQQxC(Single )
at Vintagestory.Client.NoObf.ClientPlatformWindows.window_RenderFrame(Object sender, FrameEventArgs e)
at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
at OpenTK.GameWindow.RaiseRenderFrame(Double elapsed, Double& timestamp)
at OpenTK.GameWindow.DispatchRenderFrame()
at OpenTK.GameWindow.Run(Double updates_per_second, Double frames_per_second)
at _q065sSmA3CNgGuKTGnlAjR4ljPw._WkSl7yfiyr5DwPiSMvTudNAhp6(_t3ILnyYBq5OoYhhBY3JeTWgFmJDA , String[] )
at _DBu5wiQWRAHGS5G2jiCKymvQ9yE._WkSl7yfiyr5DwPiSMvTudNAhp6(ThreadStart )
-------------------------------
Version: v1.15.5 (Stable)10/7/2021 11:03:14 PM: Critical error occurred
System.NullReferenceException: Object reference not set to an instance of an object.
at ShepherdsCrook.ItemShepherdsCrook.IsLifestock(EntitySelection entitySel)
at ShepherdsCrook.ItemShepherdsCrook.OnHeldInteractStart(ItemSlot slot, EntityAgent byEntity, BlockSelection blockSel, EntitySelection entitySel, Boolean firstEvent, EnumHandHandling& handling)
at Vintagestory.Client.NoObf.SystemMouseInWorldInteractions.TryBeginUseActiveSlotItem(BlockSelection blockSel, EntitySelection entitySel, EnumHandInteract useType, EnumHandHandling& handling)
at Vintagestory.Client.NoObf.SystemMouseInWorldInteractions.TryBeginUseActiveSlotItem(BlockSelection blockSel, EntitySelection entitySel)
at Vintagestory.Client.NoObf.SystemMouseInWorldInteractions.HandleMouseInteractionsNoBlockSelected(Single dt)
at Vintagestory.Client.NoObf.SystemMouseInWorldInteractions.OnFinalizeFrame(Single dt)
at Vintagestory.Client.NoObf.ClientEventManager.TriggerRenderStage(EnumRenderStage stage, Single dt)
at Vintagestory.Client.NoObf.ClientMain.TriggerRenderStage(EnumRenderStage stage, Single dt)
at Vintagestory.Client.NoObf.ClientMain.RenderToDefaultFramebuffer(Single dt)
at _EMxDKvc7iN7J6hlNFQiKeoxg0Mm._ra0MgpFbqkfgNETNlZ5CppyVnhE(Single )
at _Wwq7msw90Af4XU7mxkxAUKyrS5B._iIGaTXNE8VYTpgEu9zjpAQyJSxd(Single )
at _Wwq7msw90Af4XU7mxkxAUKyrS5B._vCB99EztL7cSfmplK8tyTwrQQxC(Single )
at Vintagestory.Client.NoObf.ClientPlatformWindows.window_RenderFrame(Object sender, FrameEventArgs e)
at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
at OpenTK.GameWindow.RaiseRenderFrame(Double elapsed, Double& timestamp)
at OpenTK.GameWindow.DispatchRenderFrame()
at OpenTK.GameWindow.Run(Double updates_per_second, Double frames_per_second)
at _q065sSmA3CNgGuKTGnlAjR4ljPw._WkSl7yfiyr5DwPiSMvTudNAhp6(_t3ILnyYBq5OoYhhBY3JeTWgFmJDA , String[] )
at _DBu5wiQWRAHGS5G2jiCKymvQ9yE._WkSl7yfiyr5DwPiSMvTudNAhp6(ThreadStart )
-------------------------------

SGTSylver, Oct 8th 2021 at 3:15 AM

This mod doesn't seem to be working. Use of the crook results in a crash. 

delete edit