@@ -32,6 +32,9 @@ function activate(context) {
32
32
{ name : 'getY' , description : "Returns player's Y-coordinate" , type : 1 } ,
33
33
{ name : 'getZ' , description : "Returns player's Z-coordinate" , type : 1 } ,
34
34
{ 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 } ,
35
38
] ,
36
39
Constraints : [
37
40
{ name : 'PercentageConstraint' , description : 'Calculates a percentage-based constraint' , type : 1 } ,
@@ -67,6 +70,16 @@ function activate(context) {
67
70
] ,
68
71
PlaySound : [
69
72
{ 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 } ,
70
83
] ,
71
84
} ;
72
85
0 commit comments