--- a/net/minecraft/world/entity/ItemBasedSteering.java
+++ b/net/minecraft/world/entity/ItemBasedSteering.java
@@ -51,6 +_,14 @@
         return this.entityData.get(this.boostTimeAccessor);
     }
 
+    // CraftBukkit add setBoostTicks(int)
+    public void setBoostTicks(int ticks) {
+        this.boosting = true;
+        this.boostTime = 0;
+        this.entityData.set(this.boostTimeAccessor, ticks);
+    }
+    // CraftBukkit end
+
     public void addAdditionalSaveData(CompoundTag nbt) {
         nbt.putBoolean("Saddle", this.hasSaddle());
     }
