Skip to content

Commit 522fecd

Browse files
committed
Update extension.js
1 parent f33d174 commit 522fecd

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

extension.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ function activate(context) {
3232
{ name: 'getY', description: "Returns player's Y-coordinate", type: 1 },
3333
{ name: 'getZ', description: "Returns player's Z-coordinate", type: 1 },
3434
{ name: 'isOnGround', description: "True/False, player is on ground", type: 1 },
35+
{ name: 'getYaw', description: "yaw", type: 1 },
36+
{ name: 'getPitch', description: "pitch", type: 1 },
37+
{ name: 'getInventory', description: "returns inventory", type: 1 },
3538
],
3639
Constraints: [
3740
{ name: 'PercentageConstraint', description: 'Calculates a percentage-based constraint', type: 1 },
@@ -67,6 +70,16 @@ function activate(context) {
6770
],
6871
PlaySound: [
6972
{ name: 'getPacket', description: 'getPacket returns received packet', type: 1 },
73+
],
74+
Inventory: [
75+
{ name: 'getItemStack', description: 'returns itemstack', type: 1 },
76+
],
77+
ItemStack: [
78+
{ name: 'getName', description: 'returns name', type: 1 },
79+
{ name: 'getCount', description: 'returns count', type: 1 },
80+
{ name: 'getDamage', description: 'returns damage', type: 1 },
81+
{ name: 'getMaxDamage', description: 'returns max damage', type: 1 },
82+
{ name: 'isEnchanted', description: 'returns item enchanting status', type: 1 },
7083
],
7184
};
7285

0 commit comments

Comments
 (0)