MCPcopy Create free account
hub / github.com/DGVPSH/SlackOpen / setSneaking

Method setSneaking

src/main/java/net/minecraft/entity/Entity.java:2212–2215  ·  view source on GitHub ↗

Sets the sneaking flag.

(boolean sneaking)

Source from the content-addressed store, hash-verified

2210 * Sets the sneaking flag.
2211 */
2212 public void setSneaking(boolean sneaking)
2213 {
2214 this.setFlag(1, sneaking);
2215 }
2216
2217 /**
2218 * Get if the Entity is sprinting.

Callers 4

processEntityActionMethod · 0.80
setEntityActionStateMethod · 0.80
updateRiddenMethod · 0.80
updateAITasksMethod · 0.80

Calls 1

setFlagMethod · 0.95

Tested by

no test coverage detected