Jump to content

How to set a hollow cuboid (or get a list with the blocks / locations in it)


iiBlake

Recommended Posts

hello, I am trying to make a block that makes a hollow cube around it from one location to another. I know how to set blocks and all, but i have no idea how I could get a hollow cube. Any help is appreciated! Thanks in advance! :)

Link to comment
Share on other sites

Yse three nested for loops. All going from -radius to +radius. And check if x, y, z is = to -radius or +radius.

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.