@nxg-org/mineflayer-physics-util 1.3.6 → 1.3.7
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 -0
- package/lib/index.js +3 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -13,4 +13,5 @@ export { EPhysicsCtx, PhysicsSettings } from "./physics/settings";
|
|
|
13
13
|
export { BaseSimulator } from "./simulators";
|
|
14
14
|
export { EntityPhysics } from "./physics/engines";
|
|
15
15
|
export { EntityState } from "./physics/states";
|
|
16
|
+
export { ControlStateHandler } from "./physics/player";
|
|
16
17
|
export type { SimulationGoal, Controller, OnGoalReachFunction } from "./simulators";
|
package/lib/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.EntityState = exports.EntityPhysics = exports.BaseSimulator = exports.PhysicsSettings = exports.EPhysicsCtx = exports.initSetup = void 0;
|
|
3
|
+
exports.ControlStateHandler = exports.EntityState = exports.EntityPhysics = exports.BaseSimulator = exports.PhysicsSettings = exports.EPhysicsCtx = exports.initSetup = void 0;
|
|
4
4
|
const settings_1 = require("./physics/settings");
|
|
5
5
|
const wrapper_1 = require("./wrapper");
|
|
6
6
|
function loader(bot) {
|
|
@@ -24,3 +24,5 @@ var engines_1 = require("./physics/engines");
|
|
|
24
24
|
Object.defineProperty(exports, "EntityPhysics", { enumerable: true, get: function () { return engines_1.EntityPhysics; } });
|
|
25
25
|
var states_1 = require("./physics/states");
|
|
26
26
|
Object.defineProperty(exports, "EntityState", { enumerable: true, get: function () { return states_1.EntityState; } });
|
|
27
|
+
var player_1 = require("./physics/player");
|
|
28
|
+
Object.defineProperty(exports, "ControlStateHandler", { enumerable: true, get: function () { return player_1.ControlStateHandler; } });
|