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

Method canTriggerWalking

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

returns if this entity triggers Block.onEntityWalking on the blocks they walk on. used for spiders and wolves to prevent them from trampling crops

()

Source from the content-addressed store, hash-verified

1046 * prevent them from trampling crops
1047 */
1048 protected boolean canTriggerWalking()
1049 {
1050 return true;
1051 }
1052
1053 protected void updateFallState(double y, boolean onGroundIn, Block blockIn, BlockPos pos)
1054 {

Callers 1

moveEntityMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected