Quicknote

Minecraft Quick Note

Code
const color = {0: "White", 1: "Orange", 2: "Magenta", 3: "Light Blue", 4: "Yellow", 5: "Lime", 6: "Pink", 7: "Dark Grey", 8: "Light Grey", 9: "Cyan", 10: "Purple", 11: "Blue", 12: "Brown", 13: "Green", 14: "Red", 15: "Black"}

const stone = { 0: "Stone", 1: "Granite", 2: "P. Granite", 3: "Diorite", 4: "P. Granite", 5: "Andesite", 6: "P. Andesite" }

const planks = { 0: "Planks", 1: "Spruce", 2: "Birch", 3: "Jungle", 4: "Acacia", 5: "Dark Oak"}

const stone2 = { 0: "Sandstone", 1: "chiseles", 2: "cut", 3: "smooth" }
Quick Commands
# Syntax
/fill execute at NutNut17 run fill ~2 -1 ~2 ~-2 ~-1 ~-2

# Circle Generator
[spin] execute as @e[type=armor_stand] at @s run tp @s ~~~ ~1.5 ~; 1.5:Angle of rotation
[setblock] execute at @e[type=minectaft:armor_stand] run setblock ^^^10 glass; 10:radius

WorldEdit

Basic

CommandUse
//wandGet a tool, left-click(pos1), right-click(pos2)
//pos1, //pos2Select stand position
//drawselDisplay selected region
//undo, //redo-
//set <block>Fill a region with block
//set 50%air,50%waterFill region with different block and proportion
//replace <block1> <block2>Replace block1 with block2. In default, replace all except air
//copy, //pasteThe block you paste is based on the location you copy
//move <n> <attr>Move the selected region n block to the direction user face. Put ‘-a’ as attr to avoid air replacing existing block
//rotate <y-axis angle> <x-axis angle> <z-axis angle>the center will be the position you stand when the region you copy

Brush

CommandUse
//brush <shape> <block:block to be paste> <radius:max=6>Add the brush effect to the tool user holding. Shape: sphere, cylinder
//brush clipboard -> /gmaskThe copied item in clipboard is binded to brush right click using the brushed tool to paste the item
//brush smooth <radius> <block>Apply smoothing effect on the brush
//tool unbindRemove the brush effect
//mask <block1,block2,...>Brush only works on block1, block2, …
//maskClear the mask

Shape

CommandUse
//sphere <block> <radius>Make a sphere from your location
//cyl <block> <radius> <height>Make a cylinder from your location
//wallMake a cuboid wall

Tips on making a mountain

  1. Brush a tool with sphere and paint sand by masking air
  2. Replace all sand with dirt
  3. Change dirt to stone then add a layer of sand for grass
  • Left click holding a compass to teleport and right click to pass through wall