posted Jun 22, 2014, 5:55 AM by Adrian Brightmoore
[
updated Jun 22, 2014, 6:26 AM
]
@rsmalec was musing that saplings should plant themselves occasionally. I take a look at how that might work... Commands Setup: - /scoreboard objectives add SAPLINGS dummy
- /scoreboard objectives add SAPLINGSPOP dummy
Counter (delay before planting): - /scoreboard players add @e[type=Item] SAPLINGS 1 {Item:{id:minecraft:sapling}}
- /scoreboard players set @e[score_SAPLINGS_min=80] SAPLINGSPOP 1 {Item:{id:minecraft:sapling}}
Auto-planting: - /execute @e[score_SAPLINGSPOP_min=1] ~ ~ ~ setblock ~ ~ ~ minecraft:sapling
- /execute @e[score_SAPLINGSPOP_min=1] ~ ~ ~ kill @e[type=Item,r=1]
|
 Updating...
AutoPlantingSapling.zip (8304k) Adrian Brightmoore, Jun 22, 2014, 5:59 AM
|