1

Bats

DeluxeSoda 6/20/24 6:48 pm
269
6/20/2024 8:37 pm
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?
Posted by
DeluxeSoda
Level 1 : New Miner
1

  Have something to say?

JoinSign in

3

Team UNNAMED
06/20/2024 8:37 pm
He/They • Level 69 : High Grandmaster Creeper
no
1
TheKingCreeper
06/20/2024 8:22 pm
He/Him • Level 35 : Artisan Creeper Prince
history
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
1
Team UNNAMED
06/20/2024 8:37 pm
He/They • Level 69 : High Grandmaster Creeper
coincidence, not
1

Welcome