====== BuildRandom ====== ^ BuildRandom ^^ |{{ hack:b:buildrandom.webp?500x248 |Griefing a plot with BuildRandom, AutoBuild and AutoSign.}}|| ^Type|[[:Hack]]| ^Category|[[:Blocks]]| ^In-game description|"Randomly places blocks around you."| ^[[:keybinds#default_keybinds|Default keybind]]|none| ^Source code|[[w7src>net/wurstclient/hacks/BuildRandomHack.java]]| BuildRandom is a Minecraft hack that automatically and randomly places [[mc>blocks]] around the [[mc>player]]. BuildRandom can be used to quickly make a giant mess. Anti-cheat plugins like NoCheat+ may slow down the rate of building or limit your range, but they can't block BuildRandom altogether. With the right settings, they cannot detect it either. ===== Settings ===== ==== Range ==== ^ Range ^^ ^Type|Slider| ^In-game description|(none)| ^Default value|5m| ^Minimum|1m| ^Maximum|6m| ^Increment|0.05m (5cm)| The "Range" slider determines the maximum distance from the player that blocks can be randomly placed. This setting can be useful for controlling the size of the area in which blocks are placed, which can help to prevent anti-cheat plugins from detecting BuildRandom as a reach hack. It is important to note that the "Range" setting can also affect the rate at which blocks are placed, since a higher range creates a larger usable area around the player, which increases the chance of BuildRandom finding a valid position to place a block at each tick. ==== Max attempts ==== ^ Max attempts ^^ ^Type|Slider| ^In-game description|"Maximum number of random positions that BuildRandom will try to place a block at in one tick.\\ \\ Higher values speed up the building process at the cost of increased lag."| ^Default value|128 attempts| ^Minimum|1 attempt| ^Maximum|1024 attempts| ^Increment|1 attempt| ==== Check held item ==== ^ Check held item ^^ ^Type|Checkbox| ^In-game description|"Only builds when you are actually holding a block.\\ Turn this off to build with fire, water, lava, spawn eggs, or if you just want to right click with an empty hand in random places."| ^Default value|checked| Turning this off allows allows BuildRandom to use a [[mc>flint and steel]] to randomly place [[mc>fire]], to use [[mc>lava buckets]] to randomly place [[mc>lava]], and to use other items that wouldn't normally be considered building blocks. ==== Check line of sight ==== ^ Check line of sight ^^ ^Type|Checkbox| ^In-game description|"Ensure that BuildRandom won't try to place blocks behind walls."| ^Default value|not checked| When "Check line of sight" is enabled, BuildRandom will perform a [[wp>Sightline|line-of-sight check]] before placing each block, to make sure that it doesn't attempt to place blocks in ways that would normally be impossible. ==== Facing ==== ^ Facing ^^ ^Type|Enum| ^In-game description|"How BuildRandom should face the randomly placed blocks.\\ \\ **Off** - Don't face the blocks at all. Will be detected by anti-cheat plugins.\\ \\ **Server-side** - Face the blocks on the server-side, while still letting you move the camera freely on the client-side.\\ \\ **Client-side** - Face the blocks by moving your camera on the client-side. This is the most legit option, but can be VERY disorienting to look at."| ^Default value|Server-side| ^Possible values|Off, Server-side, Client-side| ==== Swing hand ==== ^ Swing hand ^^ ^Type|Enum| ^In-game description|"How BuildRandom should swing your hand when placing blocks.\\ \\ **Off** - Don't swing your hand at all. Will be detected by anti-cheat plugins.\\ \\ **Server-side** - Swing your hand on the server-side, without playing the animation on the client-side.\\ \\ **Client-side** - Swing your hand on the client-side. This is the most legit option."| ^Default value|Server-side| ^Possible values|Off, Server-side, Client-side| ==== Always FastPlace ==== ^ Always FastPlace ^^ ^Type|Checkbox| ^In-game description|"Builds as if FastPlace was enabled, even if it's not."| ^Default value|not checked| Same as in [[autobuild#always_fastplace|AutoBuild]], but unchecked by default. ==== Place while breaking ==== ^ Place while breaking ^^ ^Type|Checkbox| ^In-game description|"Builds even while you are breaking a block.\\ Possible with hacks, but wouldn't work in vanilla. May look suspicious."| ^Default value|not checked| ==== Place while riding ==== ^ Place while riding ^^ ^Type|Checkbox| ^In-game description|"Builds even while you are riding a vehicle.\\ Possible with hacks, but wouldn't work in vanilla. May look suspicious."| ^Default value|not checked| ==== Indicator ==== ^ Indicator ^^ ^Type|Checkbox| ^In-game description|"Shows where BuildRandom is placing blocks."| ^Default value|checked| The "Indicator" checkbox toggles the little colored boxes that briefly appear at the positions where BuildRandom places blocks. Turning this off could be useful for screensharing or if you just don't like the effect. ===== Tips ===== * If you have access to [[mc>Creative Mode]], you can fill your hotbar with 9 different colored blocks, turn on both BuildRandom and [[AutoSwitch]] and then quickly make a colorful mess. ===== Changes ===== ^Version^Changes^ |[[update:Wurst 1.8 Beta]]|Added BuildRandom.| |[[update:Wurst 3.0pre1]]|Broke BuildRandom.| |[[update:Wurst 3.0pre3]]|Fixed BuildRandom.| |[[update:Wurst 5.3]]|[[AutoBuild]], BuildRandom and [[InstantBunker]] will now properly bypass NoCheat+ again.| |:::|Improved performance of [[AutoBuild]], BuildRandom and [[InstantBunker]].| |[[update:Wurst 6.5]]|"Improved" BuildRandom. (It's unclear what exactly was improved here.)| |[[update:Wurst 7.0pre1]]|Temporarily removed BuildRandom.| |[[update:Wurst 7.0pre17]]|Re-added BuildRandom.| |[[update:Wurst 6.29]] (Minecraft 1.8 & 1.12),\\ [[update:Wurst 7.0pre21]] (Minecraft 1.14+)|Added a "[[#Check held item]]" setting to BuildRandom.| |:::|Added an "[[#Always FastPlace]]" setting to BuildRandom.| |:::|Improved BuildRandom's search tags.| |[[update:Wurst 7.15.1]]|Fixed [[BuildRandom]] not rendering properly when extremely far from spawn.| |[[update:Wurst 7.36]]|Replaced the "Mode" dropdown in BuildRandom with a "Range" slider, a "Check line of sight" checkbox, a "Facing" dropdown, a "Swing" dropdown, a "Place while breaking" checkbox and a "Place while riding" checkbox.| |:::|Rewrote BuildRandom's block placing logic, making it more legit in general.| |:::|By default, BuildRandom will no longer build while you are breaking a block or riding a vehicle.| |:::|Added a "Max attempts" slider to BuildRandom.| |:::|Added an "Indicator" checkbox to BuildRandom.| {{tag>griefing building useful_for_creative_mode}}