新增一个依赖,减少一个文档,把文档移动到了MCS库里

This commit is contained in:
2023-03-26 19:18:00 +08:00
parent 6ca8820fa8
commit acb347b491
4 changed files with 5 additions and 176 deletions

View File

@ -19,7 +19,7 @@ Terms & Conditions: ../License.md
from .main import *
__version__ = "0.3.3"
__version__ = "0.3.4"
__all__ = []
__author__ = (("金羿", "Eilles Wan"), ("诸葛亮与八卦阵", "bgArray"))

View File

@ -277,8 +277,8 @@ def form_command_block_in_NBT_struct(
:return:str
"""
from mcstructure import Block
block = Block("minecraft:command_block")
from TrimMCStruct import Block
block = Block("minecraft","command_block")
return block
@ -294,7 +294,7 @@ def to_structure(
:return 成功与否,成功返回(True,未经过压缩的源,结构占用大小),失败返回(False,str失败原因)
"""
# 导入库
from mcstructure import Block, Structure
from TrimMCStruct import Block, Structure
_sideLength = bottem_side_length_of_smallest_square_bottom_box(len(commands), max_height)