Previous: https://www.mcmod.cn/post/2515.html
Foreword: In addition to digging obsidian pillars in the background, there are many wonderful uses. Here are some commonly used documents.
Lan Zouyun download: https://wwz.lanzouv.com/b01vpo0yb password: FP3A
1. Preparation instruction files of the number of regulatable people and position direction pre.sh
The text is as follows: SVI and coordinates are examples
#!/bin/sh2. The execution instruction file of the number of people can be modified Kill.sh#
name = SVI
#准 准 准 准
number = 100
#Or
dispnse = overworld
#The initial generated coordinates x is the east and west reference y is the upper and lower reference Z is the north and south reference
x = -221
y = 66
Z = -650
#Is more than 3
d = 3
#
l = 10
#1 direction 1 Southeast 2, northeast 3 southwest 4, northwest
to = 2
#Please do not modify the following content
dx = 0
dz = 0
if ((to == 1))
then
Dx = 1
Dz = 1
FI
if ((to == 2))
then
Dx = 1
Dz = -1
FI
if ((to == 3))
then
Dx = -1
Dz = -1
FI
if ((to == 4))
then
Dx = -1
Dz = 1
FI
For ((i = 1; I <$ Number+1; i ++))
DO
Screen-Dr $ name-x stuff "/execute in mincraft: $ Dimension Run Player $ I Spawn in Survival
"
Screen-Dr $ name-x stuff "/execute in mincraft: $ Dimension Run TP $ i $ x $ y $ z
"
If ((i%l == 0)))
Then
Let Z = Z+D*DZ
Let x = x-l*d*dx
Sleep 1
FI
Let x = x+d*dx
Done
Sleep 1
Screen-DR $ name-x stuff "/say completes the preparatory fake generation
"
The text is as follows: SVI is an example
#!/bin/sh#
name = SVI
#处 处
number = 100
#Please do not modify the following content
For ((i = 1; I <$ Number+1; i ++))
Do screen-Dr $ name-x stuff "player $ i kill
"
Done
Sleep 1
Screen-DR $ name-x stuff "/say completes the dummy cleaning
"
Third, arrange into straight line mining instruction file line.sh
The text is as follows: SVI and coordinates are examples
#!/bin/sh#
#
name = SVI
#Is reference y is the upper and lower reference Z is the north and south reference
x = -23
y = 66
z = 32
#1 East 2 East 2nd 3 West West 5th Northerly 6 Southeast 6 Northeast 7 Southwest 8 Southwest
to = 5
#
length = 3
#Or
dispnse = the_end
#Please do not modify the following content
dx = 0
dz = 0
if ((to == 1))
then
Dx = 1
FI
if ((to == 2))
then
Dz = 1
FI
if ((to == 3))
then
Dx = -1
FI
if ((to == 4))
then
Dz = -1
FI
if ((to == 5))
then
Dx = 1
Dz = 1
FI
if ((to == 6))
then
Dx = 1
Dz = -1
FI
if ((to == 7))
then
Dx = -1
Dz = -1
FI
if ((to == 8))
then
Dx = -1
Dz = 1
FI
For ((i = 1; I <$ length+1; i ++))
DO
Screen-Dr $ name-x stuff "/execute in mincraft: $ Dimension Run Player $ I Spawn in Survival
"
Screen-Dr $ name-x stuff "/execute in mincraft: $ Dimension Run TP $ i $ x $ y $ z
"Screen-Dr $ namey-x stuff" player $ i look downn
"
Let x = x+dx
Let Z = Z+DZ
Done
Sleep 3
For ((i = 1; I <$ length+1; i ++))
DO
Screen-DR $ name-x stuff "player $ I Attack Continuous
"
Done
Sleep 1
Screen-DR $ name-x stuff "/say completes the work dummy generation
"
Fourth, arranged into a square -shaped downward instruction file fang.sh
The text is as follows: SVI and coordinates are examples
#!/bin/sh#
#
name = SVI
#Is east -west reference y is the upper and lower reference Z is the north and south reference
x = -221
y = 66
Z = -650
#What corner 1 Southeast corner 2 Northeast corner 3 south south corner 4 northwest corner
to = 1
#
d = 10
#Or
dispnse = overworld
#Please do not modify the following content
dx = 0
dz = 0
if ((to == 1))
then
Dx = 1
Dz = 1
FI
if ((to == 2))
then
Dx = 1
Dz = -1
FI
if ((to == 3))
then
Dx = -1
Dz = -1
FI
if ((to == 4))
then
Dx = -1
Dz = 1
FI
For ((i = 1; I
DO
Screen-Dr $ name-x stuff "/execute in mincraft: $ Dimension Run Player $ I Spawn in Survival
"
Screen-Dr $ name-x stuff "/execute in mincraft: $ Dimension Run TP $ i $ x $ y $ z
"Screen-Dr $ namey-x stuff" player $ i look downn
"
Screen-DR $ name-x stuff "player $ I Attack Continuous
"
Let x = x+dx