Difference between revisions of "Sneaking"

From Minetest Wiki
Jump to navigation Jump to search
m (Subgames have been renamed to “games”)
 
(15 intermediate revisions by 2 users not shown)
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 in some aspects, so it deserves its own article.
+
Sneaking is part of the basic [[Controls|controls]] in Minetest with many useful capabilities. Normally, sneaking slows you down and protects you from accidentally falling off ledges. In some games, sneaking allows you to use powerful “sneak ladders” which can be climbed super fast.
  
== Basic sneaking ==
+
Sneaking is a surprisingly diverse move; this article will explain all the details.
The default key for sneaking is <kbd>Shift</kbd>. 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 [[Controls/Movement_modes|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.
+
== Controls ==
 +
The default key for sneaking is <kbd>Shift</kbd>. You will sneak as long as you hold down the sneak key. You can not sneak while you are at any climbable block (like a [[ladder]]), inside a [[liquid]] or have activated Fly [[Controls#Movement_modes|Mode]].
  
== Sneak glitch ==
+
== Capabilities ==
[[File:Sneaking at the edge.png|thumbnail|Sneaking at the edge of a ledge by abusing the sneak glitch]]
+
Sneaking has many capabilities, some of which are not available in all games:
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 [https://forum.minetest.net/viewtopic.php?t=17734 Enable sneak glitch] does this.
+
* '''Slowdown'''
 +
* '''Fall-off protection'''
 +
* '''Sneak Glitch'''
 +
* '''Sneak Jump'''
  
== Old bugs ==
+
Each game or mod can vary in what sneaking capabilities are actually available. By default (i.e. if the game code did not make any changes), the Slowdown and Fall-off Protection capabilities are enabled, but the others are not. Also, games can change the sneaking capabilities on a per-player basis.
Up to version 0.4.15, there were many bugs (apart from the sneak glitch)
 
  
=== Avoiding fall damage ===
+
=== Slowdown ===
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.
+
If you sneak, you will automatically walk slower. This is the most basic capability and available in almost all games.
 +
 
 +
=== Fall-off Protection ===
 +
[[File:Fall-off_protection.png|thumbnail|Sneaking can stop you from falling over a ledge]]
 +
The Fall-off Protection is another very common feature of sneaking. 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 is very useful to safely walk at places with steep drops, like cliffs.
 +
 
 +
For this to work, you normally need enough space to stand on. You can't sneak if you have only one block of empty space (not enough for the player to stand normally). However, this rule does not apply if the Sneak Glitch is available.
 +
 
 +
In a few games, sneaking does ''not'' have the Fall-off Protection. In these games, you will simply fall off the block if you sneak to the ledge.
 +
 
 +
=== Sneak Glitch ===
 +
[[File:Sneaking at the edge.png|thumbnail|Without the Sneak Glitch, you would fall down here otherwise]]
 +
 
 +
The Sneak Glitch is probably the most unique capability.
 +
 
 +
Without the Sneak Glitch, sneaking won't stop you from falling off a ledge if there is only 1 block of space. You would just fall down. However, ''with'' the Sneak Glitch in place, this rule no longer applies, meaning you won't fall off the ledge even if there's only one block of space. The screenshot demonstrates this.
 +
 
 +
The Sneak Glitch also enables a '''very''' powerful move which allows you to climb so-called sneak elevators very quickly.
 +
 
 +
Because the Sneak Glitch is so powerful, it is not available in all games.
  
=== Sneak elevator ===
+
==== Sneak elevators ====
 
[[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]]
 +
A sneak elevator (also called “sneak ladder”) is a vertical structure that can be climbed up very fast if you have the Sneak Glitch capability.
 +
 +
In its simplest form, a sneak elevator is just a vertical line of solid blocks which are spaced apart by one empty block (like [[air]]) each, so that empty 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. Sneak elevators don't have to be that simple, there are some variants that also work (see screenshots).
 +
 +
To climb up a sneak elevator, 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. This only works if you have the Sneak Glitch capability.
 +
 +
=== Sneak Jumping ===
 +
With this capability, you will jump slightly higher when you were sneaking. Just hold down the Sneak key and jump.
 +
 +
The increased jump height of a sneak jump might help you climb some obstacles you couldn't climb with a simple jump.
 +
 +
For game/mod programmers: Internally, this capability is functional if <code>new_move</code> equals <code>false</code> (don't ask why).
 +
 +
== Sneaking in Minetest Game ==
 +
In [[Games/Minetest Game|Minetest Game]] 5.4.0, sneaking has the Slowdown and Fall-off Protection capabilities. But there's no Sneak Glitch or Sneak Jumping.
  
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.
+
== History ==
 +
Sneaking used to be very buggy, but it has improved over time.
  
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 [[Games/Minetest Game|Minetest Game]] 0.4.15, compared to only 2 blocks/second at a [[Wooden Ladder|wooden ladder]]).
+
=== Old bug: 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] and is fixed since version 0.4.16.
  
Sneak elevators are no longer possible in version 0.4.16, even if the sneak glitch has been re-enabled by using a mod.
+
=== The Sneak Glitch was a bug ===
 +
The Sneak Glitch was considered to be a bug before (hence the name), and it caused many other, and it was also impossible for games to get rid of it. I.e. you could not make a game in which sneak elevators would not work. Because of this, the Sneak Glitch used to be a thing in Minetest Game.
  
=== Climbing high blocks ===
+
The Sneak Glitch was fixed (=removed) from the game in version 0.4.16 due to many technical problems, but in a later version (around 2017), it returned as a proper feature, just disabled by default. The Sneak Glitch always had a big fan base, because it was a powerful move, so unsurprisingly there was kind of an uproar when it got “fixed”.
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.
 
  
 +
Today, Sneak Glitch is still called "Sneak Glitch" but it actually is not a glitch anymore. It used to be a glitch (unintentional broken feature) but now is an officially recognized feature in Minetest. The name “Sneak Glitch” just stuck.
  
 
[[Category:Gameplay]]
 
[[Category:Gameplay]]

Latest revision as of 14:02, 15 June 2023

Languages Language: English • français

Sneaking is part of the basic controls in Minetest with many useful capabilities. Normally, sneaking slows you down and protects you from accidentally falling off ledges. In some games, sneaking allows you to use powerful “sneak ladders” which can be climbed super fast.

Sneaking is a surprisingly diverse move; this article will explain all the details.

Controls

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 any climbable block (like a ladder), inside a liquid or have activated Fly Mode.

Capabilities

Sneaking has many capabilities, some of which are not available in all games:

  • Slowdown
  • Fall-off protection
  • Sneak Glitch
  • Sneak Jump

Each game or mod can vary in what sneaking capabilities are actually available. By default (i.e. if the game code did not make any changes), the Slowdown and Fall-off Protection capabilities are enabled, but the others are not. Also, games can change the sneaking capabilities on a per-player basis.

Slowdown

If you sneak, you will automatically walk slower. This is the most basic capability and available in almost all games.

Fall-off Protection

Sneaking can stop you from falling over a ledge

The Fall-off Protection is another very common feature of sneaking. 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 is very useful to safely walk at places with steep drops, like cliffs.

For this to work, you normally need enough space to stand on. You can't sneak if you have only one block of empty space (not enough for the player to stand normally). However, this rule does not apply if the Sneak Glitch is available.

In a few games, sneaking does not have the Fall-off Protection. In these games, you will simply fall off the block if you sneak to the ledge.

Sneak Glitch

Without the Sneak Glitch, you would fall down here otherwise

The Sneak Glitch is probably the most unique capability.

Without the Sneak Glitch, sneaking won't stop you from falling off a ledge if there is only 1 block of space. You would just fall down. However, with the Sneak Glitch in place, this rule no longer applies, meaning you won't fall off the ledge even if there's only one block of space. The screenshot demonstrates this.

The Sneak Glitch also enables a very powerful move which allows you to climb so-called sneak elevators very quickly.

Because the Sneak Glitch is so powerful, it is not available in all games.

Sneak elevators

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

A sneak elevator (also called “sneak ladder”) is a vertical structure that can be climbed up very fast if you have the Sneak Glitch capability.

In its simplest form, a sneak elevator is just a vertical line of solid blocks which are spaced apart by one empty block (like air) each, so that empty 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. Sneak elevators don't have to be that simple, there are some variants that also work (see screenshots).

To climb up a sneak elevator, 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. This only works if you have the Sneak Glitch capability.

Sneak Jumping

With this capability, you will jump slightly higher when you were sneaking. Just hold down the Sneak key and jump.

The increased jump height of a sneak jump might help you climb some obstacles you couldn't climb with a simple jump.

For game/mod programmers: Internally, this capability is functional if new_move equals false (don't ask why).

Sneaking in Minetest Game

In Minetest Game 5.4.0, sneaking has the Slowdown and Fall-off Protection capabilities. But there's no Sneak Glitch or Sneak Jumping.

History

Sneaking used to be very buggy, but it has improved over time.

Old bug: 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.

The Sneak Glitch was a bug

The Sneak Glitch was considered to be a bug before (hence the name), and it caused many other, and it was also impossible for games to get rid of it. I.e. you could not make a game in which sneak elevators would not work. Because of this, the Sneak Glitch used to be a thing in Minetest Game.

The Sneak Glitch was fixed (=removed) from the game in version 0.4.16 due to many technical problems, but in a later version (around 2017), it returned as a proper feature, just disabled by default. The Sneak Glitch always had a big fan base, because it was a powerful move, so unsurprisingly there was kind of an uproar when it got “fixed”.

Today, Sneak Glitch is still called "Sneak Glitch" but it actually is not a glitch anymore. It used to be a glitch (unintentional broken feature) but now is an officially recognized feature in Minetest. The name “Sneak Glitch” just stuck.