mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-30 16:07:58 +01:00
13 lines
430 B
Java
13 lines
430 B
Java
|
package com.minelittlepony.transformation;
|
||
|
|
||
|
import com.minelittlepony.model.AbstractPonyModel;
|
||
|
|
||
|
import net.minecraft.entity.EntityLivingBase;
|
||
|
|
||
|
public class PostureFalling implements PonyPosture<EntityLivingBase> {
|
||
|
@Override
|
||
|
public void transform(AbstractPonyModel model, EntityLivingBase entity, double motionX, double motionY, double motionZ, float pitch, float yaw, float ticks) {
|
||
|
model.motionPitch = 0;
|
||
|
}
|
||
|
}
|