RealMangorage / time-in-a-bottle

A mod for Minecraft - This item allows you to accelerate the rate at which blocks tick, ported to 1.16 - 1.21+
https://legacy.curseforge.com/minecraft/mc-mods/time-in-a-bottle-forge
MIT License
0 stars 6 forks source link

Acceleration multiplier is 1+2^(n-1) instead of 2^n #14

Open YocyCraft opened 2 weeks ago

YocyCraft commented 2 weeks ago

Using /tick command can show this clearly.

  1. Run command /tick freeze
  2. Use tiab to accelerate a furnace to x4, and put any item with furnace recipe into it
  3. Run command /tick step 66, and the item isn't cooked completely
  4. Run command /tick step 1, and the recipe is done

From above example we can see the furnace needs 67 ticks to cook an item with x4 acceleration, which is 3 times faster instead of 4 (which should be 50 ticks).

In addition, the actual acceleration multiplier for x8, x16, x32, x64, x128, x256 is x5, x9, x17, x33, x65, x129 correspondingly.

RealMangorage commented 1 week ago

Oh no! Thanks for getting me this info. Ill have to see where the math went wrong. :(