mt1006 / mc-mocap-mod

Minecraft mod that allows you to record and replay player movements
https://modrinth.com/mod/motion-capture
GNU Lesser General Public License v3.0
13 stars 2 forks source link

damaging recorded playerasentity in survival #27

Open arepopo opened 4 months ago

arepopo commented 4 months ago

so basically i found out that i can hit/damage the recorded player after i change it to a villager (didn't try other entity), but this only apply when i'm in creative mode, when i'm in survival, the mob is basically invincible (i can't hit it in survival). is there a way i can damage the entity when i'm in survival? anyway, i love this mod!

mt1006 commented 4 months ago

Currently, there isn't a simple way to change it for every playback, but using /data modify entity @e[type=minecraft:villager,limit=1,sort=nearest] Invulnerable set value 0b every time you start playback should work. Generally, it shouldn't be possible to kill entity even in creative mode, but I know it's possible and I will try to fix it in the next version. I'll also add some settings to disable invulnerability so it should be possible to kill entity in survival mode as well.