FLXCode Circle Generator for Minecraft

FLXCode apps

Appearance

Circle Generator for Minecraft

Pick a shape and a size from 1 to 512 blocks. You get the blocks row by row, the total and the stacks you need. Click blocks as you place them.

Not an official Minecraft product. Not approved by or associated with Mojang or Microsoft.

Shape
Style

Blocks in this shape
–
In stacks of 64
–
Placed in this layer
0

block to place placed (click or tap a block, or press Space)

Commands for the game

Builds /fill commands from the shape above. The centre is where you stand. Needs cheats (Java: operator, Bedrock: cheats on).

Edition
Direction

Java: the chat takes one command at a time (256 characters). Paste them into a command block, or use the .mcfunction file in a data pack (steps below).

WorldEdit (mod/plugin) –

How to use the file (Java)
  1. Make the folder <world>/datapacks/circle/ and put a file pack.mcmeta in it: {"pack":{"pack_format":48,"description":"circle"}}. The number depends on your version, see the Pack format page on the Minecraft Wiki (48 is 1.21).
  2. Save the downloaded file as circle/data/shapes/function/circle.mcfunction. Before 1.21 the folder is called functions.
  3. In the world, type /reload, then stand where the centre should be and type /function shapes:circle.

Commands in the file have no leading slash. A Minecraft command is checked as you run it, so a typo in the block id stops that line only.

Rows, one by one

RowBlocksColumns

NOT AN OFFICIAL MINECRAFT PRODUCT. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.

No ads. No account. Nothing you type or record is uploaded. We count page events with a daily code. Check it. What this tool keeps and sends.

Problem or idea? Email us

This is a free tool for builders made by FLXCode, which is responsible for it. It uses no Minecraft pictures, textures or fonts.

How to use it

  1. Pick Circle, Ellipse, Sphere, Dome or Cylinder and type the size.
  2. Pick Thin for an outline, Thick for a wall, Filled for a floor or a solid. Thick has a wall thickness from 2 to 8.
  3. Read the number at the left of each row. That is how many blocks to place in that row.
  4. For a sphere or dome, move the layer slider. Layer 1 is the bottom. Press PageUp and PageDown on the grid to change layer.
  5. Click or tap a block to mark it as placed. Undo takes the last mark back. Drag to move the grid, use + and - to zoom.
  6. Save a PNG or print the layer to take it into the game.
  7. Or open Commands for the game. Pick Java or Bedrock and a block, and copy the /fill commands. For Java you can download a .mcfunction file for a data pack. There is also a WorldEdit line for the same shape.

The rule for which blocks are in

A block is in the shape when the middle of the block is inside the shape or exactly on its edge. For a circle that means u² + v² ≤ r², where u and v are the distance of the block middle from the centre. The page works in half blocks, so all the maths is whole numbers and there is no rounding.

Thin keeps the blocks that have an empty block on one of their 4 sides (6 faces in 3D). Thick keeps every block within the chosen number of steps of an empty block. Filled keeps every block.

Even and odd sizes

With an odd diameter, the middle is one block. Place it first and build out. With an even diameter the middle is a corner, so you can not put a block there. Count out from the corner instead. The dashed lines on the grid show where the middle is.

Example: a thin circle, diameter 10

The rows from the top are 4, 4, 2, 2, 2, 2, 2, 2, 4, 4 blocks, 28 blocks in all. One quarter, read as the first run of each row from the top to the middle, is 4-2-1-1-1. A filled circle of the same size has 80 blocks, which is 1 stack and 16 blocks.

Blocks by diameter

Blocks in a circle for common diameters, thin and filled
DiameterThinFilledFilled in stacksQuarter arc (thin)
5122121 blocks3-1-1
6163232 blocks4-1-1
7163737 blocks3-1-1-1
924691 stack and 5 blocks5-1-1-1-1
1028801 stack and 16 blocks4-2-1-1-1
1128971 stack and 33 blocks5-1-1-1-1-1
16442083 stacks and 16 blocks6-2-1-1-1-1-1-1
21563495 stacks and 29 blocks7-2-1-1-1-1-1-1-1-1-1
328881212 stacks and 44 blocks8-3-2-1-1-1-1-1-1-1-1-1-1-1-1-1
451241,59724 stacks and 61 blocks9-4-2-2-1-1-1-1-1-1-1-1-1-1-1-1-1-1-1-1-1-1-1
641803,22850 stacks and 28 blocks12-4-2-3-1-2-1-2-1-1-1-1-1-1-1-1-1-1-1-1-1-1-1-1-1-1-1-1-1-1-1-1
1002807,860122 stacks and 52 blocks14-5-4-2-3-2-2-1-2-1-2-1-1-1-1-1-1-1-1-1-1-1-1-1-1-1-1-1-1-1-1-1-1-1-1-1-1-1-1-1-1-1-1-1-1-1-1-1-1-1

Spheres and domes

A sphere with diameter 11 has 11 layers. From the bottom, a filled sphere has 21, 45, 69, 89, 97, 97, 97, 89, 69, 45, 21 blocks per layer, 739 in all. Thin it is 21, 24, 24, 28, 28, 28, 28, 28, 24, 24, 21, which is 278 blocks. The dome is the top 6 layers, so 153 blocks thin.

A cylinder or ring is the circle repeated for the wall height you type. Use Thin with a height of 1 for a ring on the ground.

Commands

The commands are built from the shape on the page. The centre is your own block, so stand where the middle should be. Flat shapes go one block under your feet, or stand upright as a wall in the east-west direction. Each row is one /fill, and rows that look the same are joined into one. Every command fills at most 32,768 blocks, which is the Java limit. The Minecraft Wiki gives no Bedrock number, so the same cap is used there.

Java and Bedrock write the block state in different ways, so the block field takes an id only, with no state. The chat takes one command at a time, so use a command block, or the .mcfunction file. WorldEdit is a separate mod or plugin, and its circle follows its own rule, so it can differ from the grid by a few blocks. Even sizes have no middle block in WorldEdit.

Limits

  • Commands need cheats. A shape that needs more than 20,000 commands is not listed, use a smaller size.
  • Sizes run from 1 to 512 blocks. Spheres of 400 blocks and more can take a second to build in a slow browser.
  • Ellipses use the width and height you type and the same centre rule. They are always symmetric left to right and top to bottom.
  • Other generators use other rules, so a circle of the same size can differ by a few blocks. Neither is wrong.
  • Marks are kept per shape and layer in this browser, for the last 30 shapes you marked.

FAQ

Why is a circle with an even diameter different?

An odd diameter has one block in the middle. An even diameter has no middle block, the centre is the corner where four blocks meet. So you count out from a block for odd sizes and from a corner for even sizes. Both circles are symmetric.

Why does another generator give a different circle?

There is no single rule. This page keeps a block when its centre is inside or on the circle, and a thin circle keeps the blocks that touch an empty block on one side. Other sites may keep blocks that merely touch the circle line, or round the radius first. Both circles are fine to build.

How are spheres and domes counted?

A sphere is cut into layers, bottom to top. Each layer is a circle with its own radius, and the same block rule is used in 3D. A dome is the upper half of the sphere, starting at the middle layer. The total is the sum of all layers.

What is the thick style?

Thick keeps every block that is within the wall thickness of an empty block, counted in steps from side to side. Thickness 1 is the same as thin. Thick 2 gives a wall at least 2 blocks wide. In a sphere it also thickens the top and bottom.

Where are my marks kept?

In this browser only, for each shape and each layer. If you clear site data they go. Use Save PNG to keep a picture. Nothing is sent to a server.

Can I get commands instead of placing blocks by hand?

Yes. Open Commands for the game, pick Java or Bedrock and a block. You get /fill commands relative to where you stand. In Java you can download them as a .mcfunction file for a data pack. In Bedrock paste them one by one. Cheats must be on. Nothing you type is sent anywhere.

More from FLXCode

  • Nether Portal CalculatorConvert Overworld and Nether coordinates both ways, save portals and see which portal links to which.
  • CPS TestCount your clicks per second in 1, 5, 10, 30 or 60 seconds, with mouse, touch or spacebar, and see a rating.
  • Controller testerCheck every button, stick, trigger and the rumble on an Xbox, PlayStation or generic gamepad.
  • Typing TestTest your typing speed from 15 seconds to 5 minutes. Gross and net WPM, accuracy, mistakes per key and a WPM chart.

Share Circle Generator for Minecraft