1
Bats
I’m making a mini horror game for my friends to play, and it has dialogue and death spots, my problem is that bats are hitting way more important ones, ones that kill, teleport, or even just cause random dialogue. How do I stop them? I can’t kill them off, they respawn in the map. even If I keep doing while the player does the playing, it kills armor stands and a few cows I have. I wanna get this done soon and I was making a screen recording to send for a little preview to them, but got cut off by a bat flying onto a pressure plate with the command /kill @p on it. Any mods for no bats? Can someone help me please?
3
no
You can spell "Bats" without C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,U,V,W,X,Y,Z
Jokes aside but to solve this you need a command something like this
/execute if entity @e[r=2,type=player] run (rest of command)
The "[r=2,type=player]" part checks if there is a entity within two blocks and if it is a player. you can change it to 1 or 3 or how much you like but. Then it checks if that entity is a player if both are true it runs the command
Jokes aside but to solve this you need a command something like this
/execute if entity @e[r=2,type=player] run (rest of command)
The "[r=2,type=player]" part checks if there is a entity within two blocks and if it is a player. you can change it to 1 or 3 or how much you like but. Then it checks if that entity is a player if both are true it runs the command
coincidence, not
