📅  最后修改于: 2022-03-11 14:52:48.798000             🧑  作者: Mango
// wolf's default MS = 0.3
double moveSpeed = ((Attributable)wolf).getAttribute(Attribute.GENERIC_MOVEMENT_SPEED).getValue();
wolf.getAttribute(Attribute.GENERIC_MOVEMENT_SPEED).setBaseValue(0.5);