Page 1 of 1
Making an npc die when it touches a certain block.
Posted: Tue Aug 05, 2025 7:37 pm
by NRG Bandit
Is it possible to change an npcs setting so that it dies when it touches a certain block
Re: Making an npc die when it touches a certain block.
Posted: Fri Aug 08, 2025 2:23 pm
by Tetri the Yumemi Fan
idk about settings, but there is a way
step 1. edit any lava block gfx to look the same as certain block (copy and paste)
thats pretty all
Re: Making an npc die when it touches a certain block.
Posted: Fri Aug 08, 2025 4:50 pm
by Shaktool
Tetri the Yumemi Fan wrote: ↑Fri Aug 08, 2025 2:23 pm
idk about settings, but there is a way
step 1. edit any lava block gfx to look the same as certain block (copy and paste)
thats pretty all
And what if a player touches it unaware it will kill them?
Re: Making an npc die when it touches a certain block.
Posted: Fri Aug 08, 2025 6:40 pm
by Emral
Version 2.1 of this pack includes something called the "Customizable NPC Remover". I haven't deeply investigated it myself, but I assume customizable means that it can check for certain IDs and remove them if they come in contact with it. And if not, it may be possible to edit the code to check for only certain IDs.
viewtopic.php?t=29888
The author of the pack may be able to help if you're struggling.
Re: Making an npc die when it touches a certain block.
Posted: Thu Aug 14, 2025 3:41 pm
by NRG Bandit
Sorry for not responding, I actually found what to do. I just used a lava block and made it passable for all characters, thanks though