Minecraft Data Packs / Quality of Life

Circular | In-game circle and sphere generator!

  • check_circle Functions
  • 3,940 views, 6 today
  • 262 downloads, 0 today
  • 5
  • 10
  • 2
brisai's Avatar brisai
Level 41 : Master Engineer
14
I got tired of trying to follow online circle generators and so I made this datapack. Generate a circle or sphere as large as your computer/render distance can handle. The guide is purely visual, allowing you to place blocks directly overtop of it, and I programmed my generator to closely (or exactly) resemble online generators.

Commands:
  1. /trigger set_diameter.circular add|set <value>
  2. /trigger set_orientation.circular set <value>
  3. /trigger total_clear.circular
  4. /scoreboard players set command_limit circular.main <value>
Use command 1) to generate the circle/sphere guide, centered on the player

Use command 2) to set the guide orientation
  0 -> Horizontal circle (xz plane)
  1 -> Vertical circle (xy plane)
  2 -> Vertical circle (yz plane)
  3+ -> Sphere

The guides do not self delete, so it is up to the player to use command 3) to delete unnecessary guides.

Command 4) limits the amount of commands circular can use per tick towards generating circle/sphere guides. By default this value is 32,000. Set the value higher for faster generation, set the value lower to reduce computational strain. I recommend staying above 6,500 and below 65,000.

In practice its best to create circles/spheres that will fit within your/your servers render distance. Max diameter = (Render distance in chunks) x 32, giving a maximum of 1024 blocks at 32 chunks render distance and 64 blocks at 2 chunks render distance.
CompatibilityMinecraft 1.19
toMinecraft 1.20
Tags

1 Update Logs

Update #1 : by brisai 06/13/2023 2:34:58 amJun 13th, 2023

Added orientations, allowing for vertical circles and even spheres

Rewrote generator script to support a variable command per tick limit, improving generation speeds up to 1000% from first version, reducing 1000 block diameter circle generation time from 5 minutes to 30 seconds.

Create an account or sign in to comment.

zimiaricsion
05/18/2024 12:08 pm
Level 1 : New Miner
zimiaricsion's Avatar
It's really awesome. While searching online, I found a tool that allows one to generate Minecraft circles and eclipses: https://minecraft.fileion.com/circle-generator
1
WarpCraftRedstone
03/09/2024 10:20 am
Level 16 : Journeyman Crafter
WarpCraftRedstone's Avatar
This is awesome!
1
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome