====== .setblock ======
^ .setblock ^^
|{{ setblock.webp?500x200 |The .help entry for .setblock.}}||
^Type|[[:Command]]|
^Category|[[:No Category|none]]|
^In-game description|"Changes a block setting of a feature. Allows you\\ to change these settings through keybinds.\\ \\ Syntax: .setblock \\ .setblock reset\\ Example: .setblock Nuker ID dirt"|
^[[:keybinds#default_keybinds|Default keybind]]|none|
^Source code|[[w7src>net/wurstclient/commands/SetBlockCmd.java]]|
.setblock is a [[:command|chat command]] that allows the user to manage [[:BlockSetting|BlockSettings]] through the chat.
Since any .setblock command can be turned into a [[:keybind]], this command also makes it possible to create keybinds that instantly change a BlockSetting when a key is pressed.
The following features currently have a [[:BlockSetting]] and thus can be used with ''.setblock'':
{{topic>has_blocksetting&simplelist}}
===== Syntax =====
Main article: [[Command Syntax]]
* ''.setblock '' sets of to .\\ \\
* ''.setblock reset'' resets of to its default value.\\ \\
Examples:
* ''.setblock Nuker ID dirt'' sets the [[:Nuker#ID]] setting of [[:Nuker]] to [[mc>dirt]].\\ \\
===== Changes =====
^Version^Changes^
|[[update:Wurst 7.20]]|Added ''.setblock''.|
{{tag>client-side}}