1

Wall that doesn't let players pass, but allows snowballs.

RadiantGaming's Avatar RadiantGaming7/7/16 9:07 am
1 emeralds 254 4
7/7/2016 9:42 am
RadiantGaming's Avatar RadiantGaming
I need a way of making some sort of barrier that either teleports a player somewhere or kills them, but allows snowballs to pass. Help?

Cheers
Radiant
Posted by RadiantGaming's Avatar
RadiantGaming
Level 21 : Expert Button Pusher
17

Create an account or sign in to comment.

4

RadiantGaming
07/07/2016 9:42 am
Level 21 : Expert Button Pusher
RadiantGaming's Avatar
LexxerJust create an invisible entity (WhitherSkull or ArmorStand) and execute a command near it, if a player is near that entity.

/execute @e[type=WitherSkull,name="unpassable"] ~ ~ ~ /tp @a[type=Player,r=2] X Y Z

Would teleport a player within a radius of 2 from the witherSkull named "unpassed" to the X Y and Z coordinate.
This will only affect players.


Cool, I'll try it out. Cheers man.
1
Lexxer
07/07/2016 9:39 am
Level 29 : Expert Caveman
Lexxer's Avatar
Just create an invisible entity (WhitherSkull or ArmorStand) and execute a command near it, if a player is near that entity.

/execute @e[type=WitherSkull,name="unpassable"] ~ ~ ~ /tp @a[type=Player,r=2] X Y Z

Would teleport a player within a radius of 2 from the witherSkull named "unpassable" to the X Y and Z coordinate.
This will only affect players.
1
Dlljs
07/07/2016 9:18 am
Level 37 : Artisan Nerd
Dlljs's Avatar
Put in a repeating (purple) command block:
/kill @e[type=!Snowball,x=X,y=Y,z=Z,r=0,rm=5
X, Y & Z are the coordinates of where the barrier is.
More info: http://minecraft.gamepedia.com/Commands#kill
1
RadiantGaming
07/07/2016 9:28 am
Level 21 : Expert Button Pusher
RadiantGaming's Avatar
It's supposed to kill players. And it's a lot of space, and I'm lazy so if there's any simpler solutions?

EDIT: I missed the exclamation mark. But is there any quicker way to set it up?
1
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome