Plated Spike fakeplayer position
someaddons opened this issue ยท 2 comments
Issue type:
- ๐ Bug
Short description:
We've run into an issue with minecolonies mobs being killed by plated spikes, since the fakeplayer you're using for the plated spike damage source is not using the position of the plated spike block to deal damage from, leading to issues with modded entities using the attacking players position.
Steps to reproduce the problem:
- ...
Expected behaviour:
Create a dedicated fakeplayer for which you adjust the position accordingly upon damaging an entity.
Ideally you also assign the fakeplayer the UUID of the player placing down the block, as chunk claim mods need that info to work, else they either allow all fakeplayers to modify claimed chunks or none of them can do so, even the claim owners fakeplayers.
Versions:
- This mod: Evilcraft
- Minecraft: 1.21 Neoforge
- Mod loader version: