G
GermanUbuntu
Guest
Hallo Leute,
Ich wollte euch mall fragen wie ich ein Entity bewegen kann.
Also als würde der ganz normal laufen...
Das funzt. nicht:
Ich wollte euch mall fragen wie ich ein Entity bewegen kann.
Also als würde der ganz normal laufen...
Das funzt. nicht:
Code:
if(e instance ofLivingEntity){
EntityLiving el = ((CraftLivingEntity)((LivingEntity)e)).getHandle();
el.getNavigation().a(inLocation.getX(), inLocation.getY(), inLocation.getZ(),0.3f); //the 0.3f is the speed u want it to move
}