diff options
Diffstat (limited to 'patch-remap/mache-vineflower-stripped/net/minecraft/world/entity/ItemBasedSteering.java.patch')
-rw-r--r-- | patch-remap/mache-vineflower-stripped/net/minecraft/world/entity/ItemBasedSteering.java.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/patch-remap/mache-vineflower-stripped/net/minecraft/world/entity/ItemBasedSteering.java.patch b/patch-remap/mache-vineflower-stripped/net/minecraft/world/entity/ItemBasedSteering.java.patch new file mode 100644 index 0000000000..85f6fe1e3c --- /dev/null +++ b/patch-remap/mache-vineflower-stripped/net/minecraft/world/entity/ItemBasedSteering.java.patch @@ -0,0 +1,17 @@ +--- a/net/minecraft/world/entity/ItemBasedSteering.java ++++ b/net/minecraft/world/entity/ItemBasedSteering.java +@@ -51,6 +53,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()); + } |