Published Nov 13th, 2014, 11/13/14 1:37 pm
- 5,862 views, 1 today
- 217 downloads, 0 today
1,446
Minecraft Tutorial Playlist ► www.youtube.com/playlist?list=PLEB388783144C45A8
This video will show you how to build a contraption that stops enderman griefing your world by giving them invisible barrier blocks and removing them when placed down by the endermen.
Commands
/scoreboard objectives add block dummy
1: fill ~ ~1 ~ ~3 ~1 ~ stone
2: fill ~ ~-1 ~ ~3 ~-1 ~ redstone_block
3: scoreboard players set @e[type=Enderman] block 1 {carried:0s}
4: execute @e[type=Enderman,score_block_min=1] ~ ~ ~ fill ~-2 ~-2 ~-2 ~2 ~2 ~2 air 0 replace barrier
5: entitydata @e[type=Enderman,score_block_min=1] {carried:minecraft:barrier}
6: scoreboard players reset @e[type=Enderman,score_block_min=1] block
Optional Commands
/scoreboard objectives add timer stat.timeSinceDeath
7: execute @a[score_timer_min=100] ~ ~ ~ fill ~-2 ~-2 ~-2 ~2 ~2 ~2 air 0 replace barrier
8: scoreboard players set @a[score_timer_min=100] timer 0
Gamerule Commands
/gamerule commandBlockOutput false
/gamerule logAdminCommands false
This video will show you how to build a contraption that stops enderman griefing your world by giving them invisible barrier blocks and removing them when placed down by the endermen.
Commands
/scoreboard objectives add block dummy
1: fill ~ ~1 ~ ~3 ~1 ~ stone
2: fill ~ ~-1 ~ ~3 ~-1 ~ redstone_block
3: scoreboard players set @e[type=Enderman] block 1 {carried:0s}
4: execute @e[type=Enderman,score_block_min=1] ~ ~ ~ fill ~-2 ~-2 ~-2 ~2 ~2 ~2 air 0 replace barrier
5: entitydata @e[type=Enderman,score_block_min=1] {carried:minecraft:barrier}
6: scoreboard players reset @e[type=Enderman,score_block_min=1] block
Optional Commands
/scoreboard objectives add timer stat.timeSinceDeath
7: execute @a[score_timer_min=100] ~ ~ ~ fill ~-2 ~-2 ~-2 ~2 ~2 ~2 air 0 replace barrier
8: scoreboard players set @a[score_timer_min=100] timer 0
Gamerule Commands
/gamerule commandBlockOutput false
/gamerule logAdminCommands false
Progress | 100% complete |
3142194
2
Create an account or sign in to comment.
/gamerule mobGriefing false
?
becaufe the creeper does not destroy