Difference between revisions of "Sneaking"

From Minetest Wiki
Jump to navigation Jump to search
(→‎Known bugs and weirdnesses: Mention the recent sneaking bugfixes)
(update for 0.4.16)
Line 1: Line 1:
 
{{Languages}}
 
{{Languages}}
  
Sneaking is part of the basic [[Controls|controls]] in Minetest for preventing falling off edges. This move is a bit unusual (and broken) in some aspects, so it deserves its own article.
+
Sneaking is part of the basic [[Controls|controls]] in Minetest for preventing falling off edges. This move is a bit unusual in some aspects, so it deserves its own article.
  
 
== Basic sneaking ==
 
== Basic sneaking ==
Line 8: Line 8:
 
Sneaking makes you walk slower and prevents you from walking and falling over a block's edge. If you try to walk beyond the edge of a cube while holding down the sneak key, you won't fall. You can walk a bit beyond the block's edge while sneaking, up to a certain limit, of course. This means for a spectator it will somewhat look like as if you float in mid-air while sneaking.
 
Sneaking makes you walk slower and prevents you from walking and falling over a block's edge. If you try to walk beyond the edge of a cube while holding down the sneak key, you won't fall. You can walk a bit beyond the block's edge while sneaking, up to a certain limit, of course. This means for a spectator it will somewhat look like as if you float in mid-air while sneaking.
  
If you jump while holding the sneak key, you jump slightly higher than usual.
+
== Sneak glitch ==
 
+
[[File:Sneaking at the edge.png|thumbnail|Sneaking at the edge of a ledge by abusing the sneak glitch]]
== Known bugs and weirdnesses ==
+
Normally, sneaking requires you to have enough space to stand on. As of 0.4.16, you can't sneak if you have only one block of space (not enough for the player to stand normally), as shown in the first screenshot.
=== Avoiding fall damage ===
 
Up to version 0.4.15, you don't suffer any fall damage if you fall on a normal block's edge or on a slab or snow or on some other non-cubic shapes while holding down the sneak key. This bug is known as [https://github.com/minetest/minetest/issues/329 issue 329]. This bug is fixed in the current developer version of Minetest; in the release after version 0.4.15, this bugfix will become “official”.
 
  
=== Sneak glitch ===
+
Being able to do otherwise is called the “sneak glitch”. Although this is no longer normally possible, Minetest 0.4.16 permits to re-enable the sneak glitch by using mods. The mod [https://forum.minetest.net/viewtopic.php?t=17734 Enable sneak glitch] does this.
[[File:Sneaking at the edge.png|thumbnail|Sneaking at the edge of a ledge by abusing the sneak glitch]]
 
The sneak glitch is a glitch in Minetest which allows the player to sneak at the edges of ledges when there is only 1 block of space (not enough for the player to stand normally), as shown in the first screenshot.
 
  
The sneak glitch is considered to be a “bug that has become a feature” in Minetest. However, it it is possible to disable the sneak gltich manually.
+
== Old bugs ==
 +
Up to version 0.4.15, there were many bugs (apart from the sneak glitch)
  
==== Climbing high blocks ====
+
=== Avoiding fall damage ===
Normally, you can only jump high enough to climb 1 block at once. But sometimes you can climb a wall of a height of 2 blocks while jumping and sneaking at the same time. This is not reliable and requires many attempts to actually climb the wall. This bug is fixed in the developer version of Minetestt; in the release after version 0.4.15, this bugfix will become “official”.
+
Up to version 0.4.15, you don't suffer any fall damage if you fall on a normal block's edge or on a slab or snow or on some other non-cubic shapes while holding down the sneak key. This bug is known as [https://github.com/minetest/minetest/issues/329 issue 329] and is fixed since version 0.4.16.
  
==== Sneak elevator ====
+
=== Sneak elevator ===
 
[[File:Sneak_bug_2.png|thumbnail|A simple sneak elevator in a wall]]
 
[[File:Sneak_bug_2.png|thumbnail|A simple sneak elevator in a wall]]
 
[[File:Sneak_bug.png|thumbnail|Alternative sneak elevator in a corner formation]]
 
[[File:Sneak_bug.png|thumbnail|Alternative sneak elevator in a corner formation]]
Line 31: Line 28:
 
To use/abuse the sneak glitch, stand in front of the sneak elevator, then hold down both the sneak key and the jump key. You will move up the entire structure at an insane speed (Ca. 6.2 blocks/second in [[Subgames/Minetest Game|Minetest Game]] 0.4.15, compared to only 2 blocks/second at a [[Wooden Ladder|wooden ladder]]).
 
To use/abuse the sneak glitch, stand in front of the sneak elevator, then hold down both the sneak key and the jump key. You will move up the entire structure at an insane speed (Ca. 6.2 blocks/second in [[Subgames/Minetest Game|Minetest Game]] 0.4.15, compared to only 2 blocks/second at a [[Wooden Ladder|wooden ladder]]).
  
The sneak elevator works up to version 0.4.15, but in the current developer version (and the next Minetest release) it no longer works.
+
Sneak elevators are no longer possible in version 0.4.16, even if the sneak glitch has been re-enabled by using a mod.
 +
 
 +
=== Climbing high blocks ===
 +
Normally, you can only jump high enough to climb 1 block at once. But sometimes you can climb a wall of a height of 2 blocks while jumping and sneaking at the same time. This is not reliable and requires many attempts to actually climb the wall. This bug has been fixed since version 0.4.16.
  
==== Disabling the sneak glitch ====
 
To disable the sneak glitch for a given [[world]], simply activate the "[https://forum.minetest.net/viewtopic.php?f=11&t=10424 Disable sneak glitch]" mod and all weird behaviours caused by the sneak glitch (like using/abusing the sneak elevator) won't work anymore. Additionally, fall damage will behave normally.
 
  
 
[[Category:Gameplay]]
 
[[Category:Gameplay]]

Revision as of 18:06, 6 June 2017

Languages Language: English • français

Sneaking is part of the basic controls in Minetest for preventing falling off edges. This move is a bit unusual in some aspects, so it deserves its own article.

Basic sneaking

The default key for sneaking is Shift. You will sneak as long as you hold down the sneak key. You can not sneak while you are at a ladder, inside a liquid or have activated fly mode.

Sneaking makes you walk slower and prevents you from walking and falling over a block's edge. If you try to walk beyond the edge of a cube while holding down the sneak key, you won't fall. You can walk a bit beyond the block's edge while sneaking, up to a certain limit, of course. This means for a spectator it will somewhat look like as if you float in mid-air while sneaking.

Sneak glitch

Sneaking at the edge of a ledge by abusing the sneak glitch

Normally, sneaking requires you to have enough space to stand on. As of 0.4.16, you can't sneak if you have only one block of space (not enough for the player to stand normally), as shown in the first screenshot.

Being able to do otherwise is called the “sneak glitch”. Although this is no longer normally possible, Minetest 0.4.16 permits to re-enable the sneak glitch by using mods. The mod Enable sneak glitch does this.

Old bugs

Up to version 0.4.15, there were many bugs (apart from the sneak glitch)

Avoiding fall damage

Up to version 0.4.15, you don't suffer any fall damage if you fall on a normal block's edge or on a slab or snow or on some other non-cubic shapes while holding down the sneak key. This bug is known as issue 329 and is fixed since version 0.4.16.

Sneak elevator

A simple sneak elevator in a wall
Alternative sneak elevator in a corner formation

A common structure for using/abusing the sneak glitch is the so-called sneak elevator (also known as “sneak ladder”). In its simplest form, a sneak elevator is just a vertical line of solid blocks which are spaced apart by one air block each, so that air and solid blocks are alternating. Sneak elevators can be built very easily built into high flat walls and cliffs, because you can continue to dig out the holes for the sneak elevator while climbing up.

To use/abuse the sneak glitch, stand in front of the sneak elevator, then hold down both the sneak key and the jump key. You will move up the entire structure at an insane speed (Ca. 6.2 blocks/second in Minetest Game 0.4.15, compared to only 2 blocks/second at a wooden ladder).

Sneak elevators are no longer possible in version 0.4.16, even if the sneak glitch has been re-enabled by using a mod.

Climbing high blocks

Normally, you can only jump high enough to climb 1 block at once. But sometimes you can climb a wall of a height of 2 blocks while jumping and sneaking at the same time. This is not reliable and requires many attempts to actually climb the wall. This bug has been fixed since version 0.4.16.