How to tell if a player is in a car?
Posted: Fri May 03, 2013 9:05 pm
I'm working on a mod for the wiki that creates a bomber, you can look at it here. I haven't actually posted any code for it though lol
Anyways what I would like to do is to check for spawners (and maybe creepers) under the bomber, if it finds any then it 'drops' a bomb to kill the spawner. However, I do not want the game to be constantly checking if it is on top of a spawner, only when the player is in a bomber...Does anyone know of a way to do this?
Anyways what I would like to do is to check for spawners (and maybe creepers) under the bomber, if it finds any then it 'drops' a bomb to kill the spawner. However, I do not want the game to be constantly checking if it is on top of a spawner, only when the player is in a bomber...Does anyone know of a way to do this?