@nxg-org/mineflayer-physics-util 1.3.0 → 1.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,8 +6,8 @@ export declare function makeSupportFeature(mcData: md.IndexedData): (feature: st
6
6
  export declare const DefaultPlayer: md.Entity;
7
7
  export declare function applyMdToNewEntity(ctx: typeof EPhysicsCtx, entityType?: md.Entity, options?: Partial<Entity>): Entity;
8
8
  export declare enum CheapEffects {
9
- SPEED = 0,
10
- JUMP_BOOST = 1,
9
+ JUMP_BOOST = 0,
10
+ SPEED = 1,
11
11
  SLOWNESS = 2,
12
12
  DOLPHINS_GRACE = 3,
13
13
  SLOW_FALLING = 4,
@@ -34,8 +34,8 @@ function applyMdToNewEntity(ctx, entityType = exports.DefaultPlayer, options = {
34
34
  exports.applyMdToNewEntity = applyMdToNewEntity;
35
35
  var CheapEffects;
36
36
  (function (CheapEffects) {
37
- CheapEffects[CheapEffects["SPEED"] = 0] = "SPEED";
38
- CheapEffects[CheapEffects["JUMP_BOOST"] = 1] = "JUMP_BOOST";
37
+ CheapEffects[CheapEffects["JUMP_BOOST"] = 0] = "JUMP_BOOST";
38
+ CheapEffects[CheapEffects["SPEED"] = 1] = "SPEED";
39
39
  CheapEffects[CheapEffects["SLOWNESS"] = 2] = "SLOWNESS";
40
40
  CheapEffects[CheapEffects["DOLPHINS_GRACE"] = 3] = "DOLPHINS_GRACE";
41
41
  CheapEffects[CheapEffects["SLOW_FALLING"] = 4] = "SLOW_FALLING";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nxg-org/mineflayer-physics-util",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "description": "Provides functionality for more accurate entity and projectile tracking.",
5
5
  "keywords": [
6
6
  "mineflayer",