Wurst.Wiki

The Official Wurst Client Wiki

User Tools

Site Tools


cmd:xray

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
cmd:xray [2022/01/14 04:06] alexander01998cmd:xray [2022/12/09 18:04] (current) alexander01998
Line 1: Line 1:
 ====== .xray ====== ====== .xray ======
 +
 +[{{ xray.webp?400|Viewing the help entry for .xray while X-Ray is enabled.}}]
  
 <WRAP 516px> <WRAP 516px>
-^  .xray <sup>[//[[:Wurst 6]] only//]</sup>  ^^ +^  .xray  ^^
-|{{ xray.webp?500 |Viewing the help entry for .xray while X-Ray is enabled.}}||+
 ^Type|[[:Hack]]| ^Type|[[:Hack]]|
 ^Category|none| ^Category|none|
-^In-game description|"Manages X-Ray's block list."|+^In-game description|"Shortcut for '.blocklist X-Ray Ores'.\\ \\ Syntax: .xray add <block>\\ .xray remove <block>\\ .xray list [<page>]\\ .xray reset\\ Example: .xray add gravel" <sup>[//[[:Wurst 7]] only//]</sup>
 +|:::|"Manages X-Ray's block list." <sup>[//[[:Wurst 6]] only//]</sup>|
 ^[[:keybinds#default_keybinds|Default keybind]]|none| ^[[:keybinds#default_keybinds|Default keybind]]|none|
 +^Source code|[[w7src>net/wurstclient/commands/XrayCmd.java]]|
 </WRAP> </WRAP>
  
 .xray is a chat command that can be used to enable, disable, or configure the [[:X-Ray]] hack. .xray is a chat command that can be used to enable, disable, or configure the [[:X-Ray]] hack.
 +
 +As of [[update:Wurst 7.20]], .xray acts as a shortcut to the [[.blocklist]] command.
  
 ===== Syntax ===== ===== Syntax =====
 Main article: [[:command#syntax|Command Syntax]] Main article: [[:command#syntax|Command Syntax]]
-  * ''.xray add <block_name_or_id>'' adds the given block to your X-Ray blocks list.\\ \\  +  * ''.xray add <block>'' adds the given block to your X-Ray blocks list.\\ \\  
-  * ''.xray remove <block_name_or_id>'' removes the given block from your X-Ray blocks list.\\ \\ +  * ''.xray remove <block>'' removes the given block from your X-Ray blocks list.\\ \\ 
   * ''.xray list [<page>]'' lists up to eight entries of your X-Ray blocks list. Typing the command without specifying a page will always show the first page.\\ \\    * ''.xray list [<page>]'' lists up to eight entries of your X-Ray blocks list. Typing the command without specifying a page will always show the first page.\\ \\ 
   * ''.xray reset'' resets the [[:X-Ray#Ores|X-Ray Ores]] list to its default values.   * ''.xray reset'' resets the [[:X-Ray#Ores|X-Ray Ores]] list to its default values.
  
 Examples: Examples:
-  * ''.xray add 46'' adds [[mc>TNT]] to the X-Ray blocks list.\\ \\ +  * ''.xray add tnt'' adds [[mc>TNT]] to the X-Ray blocks list.\\ \\  
 +  * ''.xray add 46'' <sup>[//[[:Wurst 6]] only//]</sup> or ''.xray add 1487'' <sup>[//[[:Wurst 7]] only//]</sup> adds [[mc>TNT]] to the X-Ray blocks list.((The numbers are different because all numeric block IDs changed after [[mc>The Flattening]].))\\ \\ 
   * ''.xray remove tnt'' removes [[mc>TNT]] from the X-Ray blocks list.\\ \\    * ''.xray remove tnt'' removes [[mc>TNT]] from the X-Ray blocks list.\\ \\ 
   * ''.xray list 2'' shows page two of the [[:X-Ray#Ores|X-Ray Ores]] list (if the list is large enough).   * ''.xray list 2'' shows page two of the [[:X-Ray#Ores|X-Ray Ores]] list (if the list is large enough).
Line 30: Line 36:
 |[[update:Wurst 6.22]]|Simplified the syntax of the ''.xray'' command.| |[[update:Wurst 6.22]]|Simplified the syntax of the ''.xray'' command.|
 |:::|Added ''.xray reset'' to reset X-Ray's block list.| |:::|Added ''.xray reset'' to reset X-Ray's block list.|
 +|[[update:Wurst 7.0pre1]]|Removed ''.xray''.|
 +|[[update:Wurst 7.20]]|Added a new ''.xray'' command that acts as a shortcut for [[.blocklist]]. The syntax is the same as the old ''.xray'' command.|
  
 {{tag>client-side}} {{tag>client-side}}
cmd/xray.1642129579.txt.gz · Last modified: 2022/01/14 04:06 by alexander01998