Skip to content

Commit

Permalink
Single block fill replaced with setblock
Browse files Browse the repository at this point in the history
  • Loading branch information
Noxitu committed Jan 9, 2024
1 parent 6260f32 commit 28cad0e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,11 @@ def dripstone(thickness):
if size >= 3:
yield f"""setblock {x} {y2} {z} {dripstone("base")}"""

if size >= 4:
if size > 4:
yield f"""fill {x} {y1+2*dy} {z} {x} {y2-dy} {z} {dripstone("middle")}"""

if size == 4:
yield f"""setblock {x} {y1+2*dy} {z} {dripstone("middle")}"""

if size >= 2:
yield f"""setblock {x} {y1+dy} {z} {dripstone("frustum")}"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ setblock -553 14 1960 minecraft:pointed_dripstone[vertical_direction=up,thicknes
setblock -553 15 1960 minecraft:pointed_dripstone[vertical_direction=up,thickness=frustum]
setblock -553 16 1960 minecraft:pointed_dripstone[vertical_direction=up,thickness=tip_merge]
setblock -553 20 1960 minecraft:pointed_dripstone[vertical_direction=down,thickness=base]
fill -553 19 1960 -553 19 1960 minecraft:pointed_dripstone[vertical_direction=down,thickness=middle]
setblock -553 19 1960 minecraft:pointed_dripstone[vertical_direction=down,thickness=middle]
setblock -553 18 1960 minecraft:pointed_dripstone[vertical_direction=down,thickness=frustum]
setblock -553 17 1960 minecraft:pointed_dripstone[vertical_direction=down,thickness=tip_merge]
setblock -553 18 1962 minecraft:pointed_dripstone[vertical_direction=down,thickness=frustum]
Expand Down Expand Up @@ -43,7 +43,7 @@ setblock -549 15 1961 minecraft:pointed_dripstone[vertical_direction=up,thicknes
setblock -549 16 1961 minecraft:pointed_dripstone[vertical_direction=up,thickness=frustum]
setblock -549 17 1961 minecraft:pointed_dripstone[vertical_direction=up,thickness=tip_merge]
setblock -549 21 1961 minecraft:pointed_dripstone[vertical_direction=down,thickness=base]
fill -549 20 1961 -549 20 1961 minecraft:pointed_dripstone[vertical_direction=down,thickness=middle]
setblock -549 20 1961 minecraft:pointed_dripstone[vertical_direction=down,thickness=middle]
setblock -549 19 1961 minecraft:pointed_dripstone[vertical_direction=down,thickness=frustum]
setblock -549 18 1961 minecraft:pointed_dripstone[vertical_direction=down,thickness=tip_merge]

0 comments on commit 28cad0e

Please sign in to comment.