- on dsphere command:
+ on dsphere command:
- announce "<&a>Start time<&co> <util.date.time.second>"
- define a1 <c.args.get[1]>
- define ploc <player.location.simple>
- define upcord <player.location.simple.as_location.add[%a1%,%a1%,%a1%]>
- define downcord <player.location.simple.as_location.sub[%a1%,%a1%,%a1%]>
- - note cu@%upcord%|%downcord% as:dworldedittemp
- define radi <def[a1].mul[%a1%]>
- - foreach <cu@dworldedittemp.get_blocks> {
+ - foreach <cu@%upcord%|%downcord%.get_blocks> {
- if !<def[value].distance_squared[%ploc%].is[OR_MORE].than[%radi%]> {
- modifyblock %value% stone
}
}
- - announce "<&a><&l>End Time<&co> <&b><util.date.time.second>"
- - determine fulfilled
+ - announce to_console "<&a><&l>End Time<&co> <&b><util.date.time.second>"
+ - determine fulfilled
-
-
-
-