@nxg-org/mineflayer-physics-util 1.2.2 → 1.2.3
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.
- package/lib/index.d.ts +1 -1
- package/lib/index.js +3 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -10,5 +10,5 @@ export default function loader(bot: Bot): void;
|
|
|
10
10
|
export declare function initSetup(data: IndexedData): void;
|
|
11
11
|
export { EPhysicsCtx, PhysicsSettings } from "./physics/settings";
|
|
12
12
|
export { BaseSimulator } from "./simulators";
|
|
13
|
-
export {
|
|
13
|
+
export { EntityPhysics } from "./physics/engines";
|
|
14
14
|
export { EntityState } from "./physics/states";
|
package/lib/index.js
CHANGED
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.EntityState = exports.BaseSimulator = exports.PhysicsSettings = exports.EPhysicsCtx = exports.initSetup = void 0;
|
|
6
|
+
exports.EntityState = exports.EntityPhysics = exports.BaseSimulator = exports.PhysicsSettings = exports.EPhysicsCtx = exports.initSetup = void 0;
|
|
7
7
|
const settings_1 = require("./physics/settings");
|
|
8
8
|
const wrapper_1 = require("./wrapper");
|
|
9
9
|
const prismarine_registry_1 = __importDefault(require("prismarine-registry"));
|
|
@@ -26,5 +26,7 @@ Object.defineProperty(exports, "EPhysicsCtx", { enumerable: true, get: function
|
|
|
26
26
|
Object.defineProperty(exports, "PhysicsSettings", { enumerable: true, get: function () { return settings_2.PhysicsSettings; } });
|
|
27
27
|
var simulators_1 = require("./simulators");
|
|
28
28
|
Object.defineProperty(exports, "BaseSimulator", { enumerable: true, get: function () { return simulators_1.BaseSimulator; } });
|
|
29
|
+
var engines_1 = require("./physics/engines");
|
|
30
|
+
Object.defineProperty(exports, "EntityPhysics", { enumerable: true, get: function () { return engines_1.EntityPhysics; } });
|
|
29
31
|
var states_1 = require("./physics/states");
|
|
30
32
|
Object.defineProperty(exports, "EntityState", { enumerable: true, get: function () { return states_1.EntityState; } });
|