Microsoft has embraced open source software and is contributing to many open source projects. It has seen strong growth in Linux usage on its Azure cloud platform. It partners with the open source community to integrate, release, and support open source software while providing an open platform. Microsoft aims to contribute, extend its reach, and partner for first-class open source experiences.
This document provides an overview of Microsoft Azure's open source data platform, which includes relational databases like Azure SQL Database and NoSQL databases like Azure DocumentDB. It also includes big data solutions like Azure HDInsight. The platform offers database services like SQL Data Warehouse and storage options like Azure Storage. It provides a common solution for access control, identity, deployment notifications, metrics and billing.
Microsoft has embraced open source software and is contributing to many open source projects. It has seen strong growth in Linux usage on its Azure cloud platform. It partners with the open source community to integrate, release, and support open source software while providing an open platform. Microsoft aims to contribute, extend its reach, and partner for first-class open source experiences.
This document provides an overview of Microsoft Azure's open source data platform, which includes relational databases like Azure SQL Database and NoSQL databases like Azure DocumentDB. It also includes big data solutions like Azure HDInsight. The platform offers database services like SQL Data Warehouse and storage options like Azure Storage. It provides a common solution for access control, identity, deployment notifications, metrics and billing.
5. from mcrcon import MCRcon
with MCRcon(server_address, server_passwd, 25575) as mcr:
start_x, start_y, start_z = 6, 68, 108 <----- 湧き潰し範囲の指定
end_x, end_y, end_z = 60, 69, 144
for x in range(start_x, end_x): <----- x座標による繰り返し
for z in range(start_z, end_z): <----- z座標による繰り返し
if x % 6 == 0 and z % 6 == 0: <----- x座標、z座標が共に6の倍数だったら
for y in range(start_y, end_y): <----- y座標による繰り返し
res = mcr.command("/fill %s %s %s %s %s %s minecraft:torch" % (x, y, z, x, y, z))
自動湧き潰しのロジック
6. イテレータ
for x in range(start_x, end_x):
「start_x以上、end_x未満のイテレータを⽣成する」
イテレータ:繰り返し項⽬を抽象化したもの
in演算⼦によってイテレータから要素を1つずつ取り出す
13. res = mcr.command("execute if block %s %s %s minecraft:air run
fill %s %s %s %s %s %s minecraft:torch" % (x, y, z, x, y, z, x, y, z))
if res == "Successfully filled 1 blocks":
print(res)
break
res = mcr.command("execute if block %s %s %s minecraft:tallgrass run
fill %s %s %s %s %s %s minecraft:torch" % (x, y, z, x, y, z, x, y, z))
if res == "Successfully filled 1 blocks":
print(res)
break
airかgrassなら松明を置く