Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

spigot change move speed of living entity creature

// 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); 
 
PREVIOUS NEXT
Tagged: #spigot #change #move #speed #living #entity #creature
ADD COMMENT
Topic
Name
5+8 =