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

Method updateRiderPosition

src/main/java/net/minecraft/entity/Entity.java:2007–2013  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2005 }
2006
2007 public void updateRiderPosition()
2008 {
2009 if (this.riddenByEntity != null)
2010 {
2011 this.riddenByEntity.setPosition(this.posX, this.posY + this.getMountedYOffset() + this.riddenByEntity.getYOffset(), this.posZ);
2012 }
2013 }
2014
2015 /**
2016 * Returns the Y Offset of this entity.

Callers 2

processPlayerMethod · 0.45
updateRiddenMethod · 0.45

Calls 3

getMountedYOffsetMethod · 0.95
setPositionMethod · 0.65
getYOffsetMethod · 0.45

Tested by

no test coverage detected