指定坐标生成算法
function modTick(){
for(var d=20;d<=35;d++){
for(var t=-1;t<=5;t++){
if(Math.random()*100<10){
x= Player.getX()
y= Player.getY()
z= Player.getZ()
if(getTile(x+d,y+t,z)==37){
Level.setTile(x+d,y+t,z,41)}
if(getTile(x-d,y+t,z)==37){
Level.setTile(x-d,y+t,z,41)}
if(getTile(x,y+t,z+d)==37){
Level.setTile(x,y+t,z+d,41)}
if(getTile(x,y+t,z-d)==37){
Level.setTile(x,y+t,z-d,41)}}}}}
function modTick(){
for(var d=20;d<=35;d++){
for(var t=-1;t<=5;t++){
if(Math.random()*100<10){
x= Player.getX()
y= Player.getY()
z= Player.getZ()
if(getTile(x+d,y+t,z)==37){
Level.setTile(x+d,y+t,z,41)}
if(getTile(x-d,y+t,z)==37){
Level.setTile(x-d,y+t,z,41)}
if(getTile(x,y+t,z+d)==37){
Level.setTile(x,y+t,z+d,41)}
if(getTile(x,y+t,z-d)==37){
Level.setTile(x,y+t,z-d,41)}}}}}