Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Replace anything in <> with the numbers you need.
- the x and z have a .5 at the end to have the fallingsand be in line with blocks
- change the MinSpawnDelay and MaxSpawnDelay to how often you want the sand to summon (20=1 second)
- /setblock ~ ~1 ~ minecraft:mob_spawner 0 replace {SpawnData:
- {EntityId:FallingSand,
- Pos:[<x coord>.5,<y coord>.0,<z coord>.5],
- Block:redstone_block,
- Time:1,
- DropItem:0,},
- EntityId:FallingSand,
- SpawnCount:1,
- SpawnRange:1,
- Delay:0,
- MinSpawnDelay:20,
- MaxSpawnDelay:20,
- MaxNearbyEntities:3,
- RequiredPlayerRange:9}
- Random chances command
- /setblock ~ ~1 ~ minecraft:mob_spawner 0 replace
- {MinSpawnDelay:20,
- MaxSpawnDelay:20,
- SpawnCount:1,
- Delay:0,
- RequiredPlayerRange:8,
- MaxNearbyEntities:3,
- SpawnRange:1,
- EntityId:FallingSand,
- SpawnPotentials:
- [{Type:FallingSand,
- Properties:{Pos:[<xcoord1>.5,<ycoord1>.0,<zcoord1>.5],
- Block:redstone_block,
- Time:1,
- DropItem:0,
- Block:redstone_block,
- EntityId:FallingSand,},
- Weight:1},
- {Type:FallingSand,
- Properties:
- {Pos:[<xcoord2>.5,<ycoord2>.0,<zcoord2>.5],
- Block:redstone_block,
- Time:1,
- DropItem:0,
- Block:redstone_block,
- EntityId:FallingSand,},
- Weight:1},
- {Type:FallingSand,
- Properties:
- {Pos:[<xcoord3>.5,<ycoord3>.0,<zcoord3>.5],
- Block:redstone_block,
- Time:1,
- DropItem:0,
- Block:redstone_block,
- EntityId:FallingSand,},
- Weight:1}]}
Advertisement
Add Comment
Please, Sign In to add comment