Started by
Dr_Dariano
on
Topic category: Help with Minecraft modding (Java Edition)
So, I have been trying to create a horror mod for the past month now, and I can't seem to get this one thing to work. My vision is that when the entity chases the player(s), if it is objected by blocks, it will mine the block in front of it to continue chasing the player. It is a Biped entity, so I want it to mine a 2x1 tunnel, so it can continue running, or a 1x1 hole if it is digging down. I have tried everything I could think of, but it doesn't work. Is this even possible to do, and if so, can you please tell me how to do it. Thanks!
By the way, I am using MCreator 2023.4 and the mod is being made for 1.20.1.
Edited by Dr_Dariano on Tue, 04/09/2024 - 21:40
You essentially need a procedure to determine when the entity is blocked, and what block to mine. I haven't done something like this specifically, but I think I've got some general pointers for both problems.
Also, good job being descriptive and including your version type, a lot of help requests can be frustratingly vague! Maybe title stuff a bit more descriptively though, otherwise mods aren't super likely to help. =)