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

Method onLanded

src/main/java/net/minecraft/block/Block.java:1139–1142  ·  view source on GitHub ↗

Called when an Entity lands on this Block. This method must update motionY because the entity will not do that on its own

(World worldIn, Entity entityIn)

Source from the content-addressed store, hash-verified

1137 * on its own
1138 */
1139 public void onLanded(World worldIn, Entity entityIn)
1140 {
1141 entityIn.motionY = 0.0D;
1142 }
1143
1144 /**
1145 * Used by pick block on the client to get a block's item form, if it exists.

Callers 1

moveEntityMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected