File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -165,6 +165,13 @@ export interface BotEvents {
165165 particle : ( particle : Particle ) => Promise < void > | void
166166}
167167
168+ export interface CommandBlockOptions {
169+ mode : number ,
170+ trackOutput : boolean ,
171+ conditional : boolean ,
172+ alwaysActive : boolean
173+ }
174+
168175export interface Bot extends TypedEmitter < BotEvents > {
169176 username : string
170177 protocolVersion : string
@@ -380,13 +387,8 @@ export interface Bot extends TypedEmitter<BotEvents> {
380387 ) => Promise < void >
381388
382389
383- export interface CommandBlockOptions {
384- mode : number ,
385- trackOutput : boolean ,
386- conditional : boolean ,
387- alwaysActive : boolean
388- }
389- export function setCommandBlock ( pos : Vec3 , command : string , options : CommandBlockOptions ) => void
390+
391+ setCommandBlock : ( pos : Vec3 , command : string , options : CommandBlockOptions ) => void
390392
391393 clickWindow : (
392394 slot : number ,
Original file line number Diff line number Diff line change 4747 "mocha" : " ^10.0.0" ,
4848 "standard" : " ^17.0.0" ,
4949 "standard-markdown" : " ^7.1.0" ,
50- "typescript" : " ^5.0.3 "
50+ "typescript" : " ^5.4.5 "
5151 }
5252}
You can’t perform that action at this time.
0 commit comments