Create

Create

86M Downloads

Attack Mode Deployers Dealing Damage of Last Equipped Weapon

noahtheb0ss opened this issue ยท 0 comments

commented

Describe the Bug

Unequipped deployers set to attack mode who have previously been given a weapon, seem to deal as much damage as the unenchanted base weapon of what it was once holding. The effect seems to go away once you log out and back in to the world (singleplayer)

Reproduction Steps

  1. Place a deployer with rotational energy supplied
  2. Give it a weapon
  3. Take away the weapon, with either your hand or a chute or funnel, just not instantly
  4. to test stand in front in survival mode or place mobs in front of it
    ...

Expected Result

Damage will be dealt equal to the damage the weapon the deployer last held (sharpness, smite, bane of arthropods won't add any damage)

Screenshots and Videos

https://youtu.be/oHAi8o6lVSU
Video file was too big to upload here

Crash Report or Log

No response

Operating System

macOS Ventura 13.3.1 (a)

Mod Version

0.5.1b

Minecraft Version

1.19.2

Forge Version

43.2.11

Other Mods

OptiFine_1.19.2_HD_U_I1.jar
jei-1.19.2-forge-11.6.0.1015.jar
journeymap-1.19.2-5.9.7-forge.jar
worldedit-mod-7.2.12.jar

Additional Context

I was just trying to set up a mob killer for a husk farm which drops zinc in the datapack I made for the create mod, and I noticed the deployer killing mobs in 3 hits, which I investigated further.