levistone 0.6.1__cp313-cp313-win_amd64.whl

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.

Potentially problematic release.


This version of levistone might be problematic. Click here for more details.

@@ -0,0 +1,4082 @@
1
+ from __future__ import annotations
2
+ import datetime
3
+ import numpy
4
+ import os
5
+ import typing
6
+ import uuid
7
+ __all__ = ['ActionForm', 'Actor', 'ActorDamageEvent', 'ActorDeathEvent', 'ActorEvent', 'ActorExplodeEvent', 'ActorKnockbackEvent', 'ActorRemoveEvent', 'ActorSpawnEvent', 'ActorTeleportEvent', 'BanEntry', 'BarColor', 'BarFlag', 'BarStyle', 'Block', 'BlockBreakEvent', 'BlockData', 'BlockEvent', 'BlockFace', 'BlockPlaceEvent', 'BlockState', 'BossBar', 'BroadcastMessageEvent', 'Cancellable', 'Chunk', 'ColorFormat', 'Command', 'CommandExecutor', 'CommandSender', 'CommandSenderWrapper', 'ConsoleCommandSender', 'Criteria', 'DamageSource', 'Dimension', 'DisplaySlot', 'Dropdown', 'Event', 'EventPriority', 'GameMode', 'Inventory', 'IpBanEntry', 'IpBanList', 'ItemStack', 'Label', 'Language', 'Level', 'Location', 'Logger', 'MessageForm', 'Mob', 'MobEvent', 'ModalForm', 'Objective', 'ObjectiveSortOrder', 'OfflinePlayer', 'Packet', 'PacketType', 'Permissible', 'Permission', 'PermissionAttachment', 'PermissionAttachmentInfo', 'PermissionDefault', 'Player', 'PlayerBanEntry', 'PlayerBanList', 'PlayerChatEvent', 'PlayerCommandEvent', 'PlayerDeathEvent', 'PlayerEmoteEvent', 'PlayerEvent', 'PlayerGameModeChangeEvent', 'PlayerInteractActorEvent', 'PlayerInteractEvent', 'PlayerInventory', 'PlayerJoinEvent', 'PlayerKickEvent', 'PlayerLoginEvent', 'PlayerQuitEvent', 'PlayerRespawnEvent', 'PlayerTeleportEvent', 'Plugin', 'PluginCommand', 'PluginDescription', 'PluginDisableEvent', 'PluginEnableEvent', 'PluginLoadOrder', 'PluginLoader', 'PluginManager', 'Position', 'ProxiedCommandSender', 'RenderType', 'Scheduler', 'Score', 'Scoreboard', 'ScriptMessageEvent', 'Server', 'ServerCommandEvent', 'ServerEvent', 'ServerListPingEvent', 'ServerLoadEvent', 'Skin', 'Slider', 'SocketAddress', 'SpawnParticleEffectPacket', 'StepSlider', 'Task', 'TextInput', 'ThunderChangeEvent', 'Toggle', 'Translatable', 'Vector', 'WeatherChangeEvent', 'WeatherEvent']
8
+ class ActionForm:
9
+ """
10
+ Represents a form with buttons that let the player take action.
11
+ """
12
+ class Button:
13
+ """
14
+ Represents a button with text and an optional icon.
15
+ """
16
+ @staticmethod
17
+ def _pybind11_conduit_v1_(*args, **kwargs):
18
+ ...
19
+ def __init__(self, text: str | Translatable = '', icon: str | None = None, on_click: typing.Callable[[Player], None] = None) -> None:
20
+ ...
21
+ @property
22
+ def icon(self) -> str | None:
23
+ """
24
+ Gets or sets the icon path or URL of the button
25
+ """
26
+ @icon.setter
27
+ def icon(self, arg1: str) -> ActionForm.Button:
28
+ ...
29
+ @property
30
+ def on_click(self) -> typing.Callable[[Player], None]:
31
+ """
32
+ Gets or sets the on click callback.
33
+ """
34
+ @on_click.setter
35
+ def on_click(self, arg1: typing.Callable[[Player], None]) -> ActionForm.Button:
36
+ ...
37
+ @property
38
+ def text(self) -> str | Translatable:
39
+ """
40
+ Gets or sets the text of the button
41
+ """
42
+ @text.setter
43
+ def text(self, arg1: str | Translatable) -> ActionForm.Button:
44
+ ...
45
+ @staticmethod
46
+ def _pybind11_conduit_v1_(*args, **kwargs):
47
+ ...
48
+ def __init__(self, title: str | Translatable = '', content: str | Translatable = '', buttons: list[ActionForm.Button] | None = None, on_submit: typing.Callable[[Player, int], None] = None, on_close: typing.Callable[[Player], None] = None) -> None:
49
+ ...
50
+ def add_button(self, text: str | Translatable, icon: str | None = None, on_click: typing.Callable[[Player], None] = None) -> ActionForm:
51
+ """
52
+ Adds a button to the form.
53
+ """
54
+ @property
55
+ def buttons(self) -> list[ActionForm.Button]:
56
+ """
57
+ Gets or sets the buttons of the action form.
58
+ """
59
+ @buttons.setter
60
+ def buttons(self, arg1: list[ActionForm.Button]) -> ActionForm:
61
+ ...
62
+ @property
63
+ def content(self) -> str | Translatable:
64
+ """
65
+ Gets or sets the content of the form.
66
+ """
67
+ @content.setter
68
+ def content(self, arg1: str | Translatable) -> ActionForm:
69
+ ...
70
+ @property
71
+ def on_close(self) -> typing.Callable[[Player], None]:
72
+ """
73
+ Gets or sets the on close callback.
74
+ """
75
+ @on_close.setter
76
+ def on_close(self, arg1: typing.Callable[[Player], None]) -> ActionForm:
77
+ ...
78
+ @property
79
+ def on_submit(self) -> typing.Callable[[Player, int], None]:
80
+ """
81
+ Gets or sets the on submit callback.
82
+ """
83
+ @on_submit.setter
84
+ def on_submit(self, arg1: typing.Callable[[Player, int], None]) -> ActionForm:
85
+ ...
86
+ @property
87
+ def title(self) -> str | Translatable:
88
+ """
89
+ Gets or sets the title of the form.
90
+ """
91
+ @title.setter
92
+ def title(self, arg1: str | Translatable) -> ActionForm:
93
+ ...
94
+ class Actor(CommandSender):
95
+ """
96
+ Represents a base actor in the level.
97
+ """
98
+ @staticmethod
99
+ def _pybind11_conduit_v1_(*args, **kwargs):
100
+ ...
101
+ def add_scoreboard_tag(self, tag: str) -> bool:
102
+ """
103
+ Adds a tag to this actor.
104
+ """
105
+ def remove_scoreboard_tag(self, tag: str) -> bool:
106
+ """
107
+ Removes a given tag from this actor.
108
+ """
109
+ def set_rotation(self, yaw: float, pitch: float) -> None:
110
+ """
111
+ Sets the actor's rotation.
112
+ """
113
+ @typing.overload
114
+ def teleport(self, location: Location) -> None:
115
+ """
116
+ Teleports this actor to the given location.
117
+ """
118
+ @typing.overload
119
+ def teleport(self, target: Actor) -> None:
120
+ """
121
+ Teleports this actor to the target Actor.
122
+ """
123
+ @property
124
+ def dimension(self) -> Dimension:
125
+ """
126
+ Gets the current Dimension this actor resides in.
127
+ """
128
+ @property
129
+ def health(self) -> int:
130
+ """
131
+ Gets or sets the entity's health from 0 to its max possible value, where 0 is dead.
132
+ """
133
+ @health.setter
134
+ def health(self, arg1: int) -> None:
135
+ ...
136
+ @property
137
+ def id(self) -> int:
138
+ """
139
+ Returns a unique id for this actor.
140
+ """
141
+ @property
142
+ def is_dead(self) -> bool:
143
+ """
144
+ Returns true if this actor has been marked for removal.
145
+ """
146
+ @property
147
+ def is_in_lava(self) -> bool:
148
+ """
149
+ Returns true if the actor is in lava.
150
+ """
151
+ @property
152
+ def is_in_water(self) -> bool:
153
+ """
154
+ Returns true if the actor is in water.
155
+ """
156
+ @property
157
+ def is_name_tag_always_visible(self) -> bool:
158
+ """
159
+ Gets or sets if the actor's name tag is always visible or not.
160
+ """
161
+ @is_name_tag_always_visible.setter
162
+ def is_name_tag_always_visible(self, arg1: bool) -> None:
163
+ ...
164
+ @property
165
+ def is_name_tag_visible(self) -> bool:
166
+ """
167
+ Gets or sets if the actor's name tag is visible or not.
168
+ """
169
+ @is_name_tag_visible.setter
170
+ def is_name_tag_visible(self, arg1: bool) -> None:
171
+ ...
172
+ @property
173
+ def is_on_ground(self) -> bool:
174
+ """
175
+ Returns true if the actor is supported by a block, i.e. on ground.
176
+ """
177
+ @property
178
+ def level(self) -> Level:
179
+ """
180
+ Gets the current Level this actor resides in.
181
+ """
182
+ @property
183
+ def location(self) -> Location:
184
+ """
185
+ Gets the actor's current position.
186
+ """
187
+ @property
188
+ def max_health(self) -> int:
189
+ """
190
+ Gets the maximum health this entity has.
191
+ """
192
+ @property
193
+ def name_tag(self) -> str:
194
+ """
195
+ Gets or sets the current name tag of the actor.
196
+ """
197
+ @name_tag.setter
198
+ def name_tag(self, arg1: str) -> None:
199
+ ...
200
+ @property
201
+ def runtime_id(self) -> int:
202
+ """
203
+ Returns the runtime id for this actor.
204
+ """
205
+ @property
206
+ def score_tag(self) -> str:
207
+ """
208
+ Gets or sets the current score tag of the actor.
209
+ """
210
+ @score_tag.setter
211
+ def score_tag(self, arg1: str) -> None:
212
+ ...
213
+ @property
214
+ def scoreboard_tags(self) -> list[str]:
215
+ """
216
+ Returns a list of scoreboard tags for this actor.
217
+ """
218
+ @property
219
+ def type(self) -> str:
220
+ """
221
+ Gets the type of the actor.
222
+ """
223
+ @property
224
+ def velocity(self) -> Vector:
225
+ """
226
+ Gets this actor's current velocity.
227
+ """
228
+ class ActorDamageEvent(MobEvent, Cancellable):
229
+ """
230
+ Called when an Actor is damaged.
231
+ """
232
+ @staticmethod
233
+ def _pybind11_conduit_v1_(*args, **kwargs):
234
+ ...
235
+ @property
236
+ def damage(self) -> float:
237
+ """
238
+ Gets or sets the amount of damage caused by the event
239
+ """
240
+ @damage.setter
241
+ def damage(self, arg1: float) -> None:
242
+ ...
243
+ @property
244
+ def damage_source(self) -> DamageSource:
245
+ """
246
+ Gets the source of damage.
247
+ """
248
+ class ActorDeathEvent(MobEvent):
249
+ """
250
+ Called when an Actor dies.
251
+ """
252
+ @staticmethod
253
+ def _pybind11_conduit_v1_(*args, **kwargs):
254
+ ...
255
+ @property
256
+ def damage_source(self) -> DamageSource:
257
+ """
258
+ Gets the source of damage which caused the death.
259
+ """
260
+ class ActorEvent(Event):
261
+ """
262
+ Represents an Actor-related event.
263
+ """
264
+ @staticmethod
265
+ def _pybind11_conduit_v1_(*args, **kwargs):
266
+ ...
267
+ @property
268
+ def actor(self) -> Actor:
269
+ """
270
+ Returns the Actor involved in this event
271
+ """
272
+ class ActorExplodeEvent(ActorEvent, Cancellable):
273
+ """
274
+ Called when an Actor explodes.
275
+ """
276
+ @staticmethod
277
+ def _pybind11_conduit_v1_(*args, **kwargs):
278
+ ...
279
+ @property
280
+ def block_list(self) -> list[Block]:
281
+ """
282
+ Gets or sets the list of blocks that would have been removed or were removed from the explosion event.
283
+ """
284
+ @block_list.setter
285
+ def block_list(self, arg1: list[Block]) -> None:
286
+ ...
287
+ @property
288
+ def location(self) -> Location:
289
+ """
290
+ Returns the location where the explosion happened.
291
+ """
292
+ class ActorKnockbackEvent(MobEvent, Cancellable):
293
+ """
294
+ Called when a living entity receives knockback.
295
+ """
296
+ @staticmethod
297
+ def _pybind11_conduit_v1_(*args, **kwargs):
298
+ ...
299
+ @property
300
+ def knockback(self) -> Vector:
301
+ """
302
+ Gets or sets the knockback that will be applied to the entity.
303
+ """
304
+ @knockback.setter
305
+ def knockback(self, arg1: Vector) -> None:
306
+ ...
307
+ @property
308
+ def source(self) -> Actor:
309
+ """
310
+ Get the source actor that has caused knockback to the defender, if exists.
311
+ """
312
+ class ActorRemoveEvent(ActorEvent):
313
+ """
314
+ Called when an Actor is removed.
315
+ """
316
+ @staticmethod
317
+ def _pybind11_conduit_v1_(*args, **kwargs):
318
+ ...
319
+ class ActorSpawnEvent(ActorEvent, Cancellable):
320
+ """
321
+ Called when an Actor is spawned into a world.
322
+ """
323
+ @staticmethod
324
+ def _pybind11_conduit_v1_(*args, **kwargs):
325
+ ...
326
+ class ActorTeleportEvent(ActorEvent, Cancellable):
327
+ """
328
+ Called when a non-player entity is teleported from one location to another.
329
+ """
330
+ @staticmethod
331
+ def _pybind11_conduit_v1_(*args, **kwargs):
332
+ ...
333
+ @property
334
+ def from_location(self) -> Location:
335
+ """
336
+ Gets or sets the location that this actor moved from.
337
+ """
338
+ @from_location.setter
339
+ def from_location(self, arg1: Location) -> None:
340
+ ...
341
+ @property
342
+ def to_location(self) -> Location:
343
+ """
344
+ Gets or sets the location that this actor moved to.
345
+ """
346
+ @to_location.setter
347
+ def to_location(self, arg1: Location) -> None:
348
+ ...
349
+ class BanEntry:
350
+ """
351
+ A single entry from a ban list.
352
+ """
353
+ @staticmethod
354
+ def _pybind11_conduit_v1_(*args, **kwargs):
355
+ ...
356
+ @property
357
+ def created(self) -> datetime.datetime:
358
+ """
359
+ Gets or sets the date this ban entry was created.
360
+ """
361
+ @created.setter
362
+ def created(self, arg1: datetime.datetime) -> None:
363
+ ...
364
+ @property
365
+ def expiration(self) -> datetime.datetime | None:
366
+ """
367
+ Gets or sets the date this ban expires on.
368
+ """
369
+ @expiration.setter
370
+ def expiration(self, arg1: datetime.datetime | None) -> None:
371
+ ...
372
+ @property
373
+ def reason(self) -> str:
374
+ """
375
+ Gets or sets the reason for this ban.
376
+ """
377
+ @reason.setter
378
+ def reason(self, arg1: str) -> None:
379
+ ...
380
+ @property
381
+ def source(self) -> str:
382
+ """
383
+ Gets or sets the source of this ban.
384
+ """
385
+ @source.setter
386
+ def source(self, arg1: str) -> None:
387
+ ...
388
+ class BarColor:
389
+ BLUE: typing.ClassVar[BarColor] # value = <BarColor.BLUE: 1>
390
+ GREEN: typing.ClassVar[BarColor] # value = <BarColor.GREEN: 3>
391
+ PINK: typing.ClassVar[BarColor] # value = <BarColor.PINK: 0>
392
+ PURPLE: typing.ClassVar[BarColor] # value = <BarColor.PURPLE: 5>
393
+ REBECCA_PURPLE: typing.ClassVar[BarColor] # value = <BarColor.REBECCA_PURPLE: 6>
394
+ RED: typing.ClassVar[BarColor] # value = <BarColor.RED: 2>
395
+ WHITE: typing.ClassVar[BarColor] # value = <BarColor.WHITE: 7>
396
+ YELLOW: typing.ClassVar[BarColor] # value = <BarColor.YELLOW: 4>
397
+ __members__: typing.ClassVar[dict[str, BarColor]] # value = {'PINK': <BarColor.PINK: 0>, 'BLUE': <BarColor.BLUE: 1>, 'RED': <BarColor.RED: 2>, 'GREEN': <BarColor.GREEN: 3>, 'YELLOW': <BarColor.YELLOW: 4>, 'PURPLE': <BarColor.PURPLE: 5>, 'REBECCA_PURPLE': <BarColor.REBECCA_PURPLE: 6>, 'WHITE': <BarColor.WHITE: 7>}
398
+ @staticmethod
399
+ def _pybind11_conduit_v1_(*args, **kwargs):
400
+ ...
401
+ def __eq__(self, other: typing.Any) -> bool:
402
+ ...
403
+ def __getstate__(self) -> int:
404
+ ...
405
+ def __hash__(self) -> int:
406
+ ...
407
+ def __index__(self) -> int:
408
+ ...
409
+ def __init__(self, value: int) -> None:
410
+ ...
411
+ def __int__(self) -> int:
412
+ ...
413
+ def __ne__(self, other: typing.Any) -> bool:
414
+ ...
415
+ def __repr__(self) -> str:
416
+ ...
417
+ def __setstate__(self, state: int) -> None:
418
+ ...
419
+ def __str__(self) -> str:
420
+ ...
421
+ @property
422
+ def name(self) -> str:
423
+ ...
424
+ @property
425
+ def value(self) -> int:
426
+ ...
427
+ class BarFlag:
428
+ DARKEN_SKY: typing.ClassVar[BarFlag] # value = <BarFlag.DARKEN_SKY: 0>
429
+ __members__: typing.ClassVar[dict[str, BarFlag]] # value = {'DARKEN_SKY': <BarFlag.DARKEN_SKY: 0>}
430
+ @staticmethod
431
+ def _pybind11_conduit_v1_(*args, **kwargs):
432
+ ...
433
+ def __eq__(self, other: typing.Any) -> bool:
434
+ ...
435
+ def __getstate__(self) -> int:
436
+ ...
437
+ def __hash__(self) -> int:
438
+ ...
439
+ def __index__(self) -> int:
440
+ ...
441
+ def __init__(self, value: int) -> None:
442
+ ...
443
+ def __int__(self) -> int:
444
+ ...
445
+ def __ne__(self, other: typing.Any) -> bool:
446
+ ...
447
+ def __repr__(self) -> str:
448
+ ...
449
+ def __setstate__(self, state: int) -> None:
450
+ ...
451
+ def __str__(self) -> str:
452
+ ...
453
+ @property
454
+ def name(self) -> str:
455
+ ...
456
+ @property
457
+ def value(self) -> int:
458
+ ...
459
+ class BarStyle:
460
+ SEGMENTED_10: typing.ClassVar[BarStyle] # value = <BarStyle.SEGMENTED_10: 2>
461
+ SEGMENTED_12: typing.ClassVar[BarStyle] # value = <BarStyle.SEGMENTED_12: 3>
462
+ SEGMENTED_20: typing.ClassVar[BarStyle] # value = <BarStyle.SEGMENTED_20: 4>
463
+ SEGMENTED_6: typing.ClassVar[BarStyle] # value = <BarStyle.SEGMENTED_6: 1>
464
+ SOLID: typing.ClassVar[BarStyle] # value = <BarStyle.SOLID: 0>
465
+ __members__: typing.ClassVar[dict[str, BarStyle]] # value = {'SOLID': <BarStyle.SOLID: 0>, 'SEGMENTED_6': <BarStyle.SEGMENTED_6: 1>, 'SEGMENTED_10': <BarStyle.SEGMENTED_10: 2>, 'SEGMENTED_12': <BarStyle.SEGMENTED_12: 3>, 'SEGMENTED_20': <BarStyle.SEGMENTED_20: 4>}
466
+ @staticmethod
467
+ def _pybind11_conduit_v1_(*args, **kwargs):
468
+ ...
469
+ def __eq__(self, other: typing.Any) -> bool:
470
+ ...
471
+ def __getstate__(self) -> int:
472
+ ...
473
+ def __hash__(self) -> int:
474
+ ...
475
+ def __index__(self) -> int:
476
+ ...
477
+ def __init__(self, value: int) -> None:
478
+ ...
479
+ def __int__(self) -> int:
480
+ ...
481
+ def __ne__(self, other: typing.Any) -> bool:
482
+ ...
483
+ def __repr__(self) -> str:
484
+ ...
485
+ def __setstate__(self, state: int) -> None:
486
+ ...
487
+ def __str__(self) -> str:
488
+ ...
489
+ @property
490
+ def name(self) -> str:
491
+ ...
492
+ @property
493
+ def value(self) -> int:
494
+ ...
495
+ class Block:
496
+ """
497
+ Represents a block.
498
+ """
499
+ @staticmethod
500
+ def _pybind11_conduit_v1_(*args, **kwargs):
501
+ ...
502
+ def __str__(self) -> str:
503
+ ...
504
+ def capture_state(self) -> BlockState:
505
+ """
506
+ Captures the current state of this block. The returned object will never be updated, and you are not guaranteed that (for example) a sign is still a sign after you capture its state.
507
+ """
508
+ @typing.overload
509
+ def get_relative(self, offset_x: int, offset_y: int, offset_z: int) -> Block:
510
+ """
511
+ Gets the block at the given offsets
512
+ """
513
+ @typing.overload
514
+ def get_relative(self, face: BlockFace, distance: int = 1) -> Block:
515
+ """
516
+ Gets the block at the given distance of the given face
517
+ """
518
+ def set_data(self, data: BlockData, apply_physics: bool = True) -> None:
519
+ """
520
+ Sets the complete data for this block
521
+ """
522
+ def set_type(self, type: str, apply_physics: bool = True) -> None:
523
+ """
524
+ Sets the type of this block
525
+ """
526
+ @property
527
+ def data(self) -> BlockData:
528
+ """
529
+ Gets or sets the complete data for this block
530
+ """
531
+ @data.setter
532
+ def data(self, arg1: BlockData) -> None:
533
+ ...
534
+ @property
535
+ def dimension(self) -> Dimension:
536
+ """
537
+ Gets the dimension which contains this Block
538
+ """
539
+ @property
540
+ def location(self) -> Location:
541
+ """
542
+ Gets the Location of the block
543
+ """
544
+ @property
545
+ def type(self) -> str:
546
+ """
547
+ Gets or sets the type of the block.
548
+ """
549
+ @type.setter
550
+ def type(self, arg1: str) -> None:
551
+ ...
552
+ @property
553
+ def x(self) -> int:
554
+ """
555
+ Gets the x-coordinate of this block
556
+ """
557
+ @property
558
+ def y(self) -> int:
559
+ """
560
+ Gets the y-coordinate of this block
561
+ """
562
+ @property
563
+ def z(self) -> int:
564
+ """
565
+ Gets the z-coordinate of this block
566
+ """
567
+ class BlockBreakEvent(BlockEvent, Cancellable):
568
+ """
569
+ Called when a block is broken by a player.
570
+ """
571
+ @staticmethod
572
+ def _pybind11_conduit_v1_(*args, **kwargs):
573
+ ...
574
+ @property
575
+ def player(self) -> Player:
576
+ """
577
+ Gets the Player that is breaking the block involved in this event.
578
+ """
579
+ class BlockData:
580
+ """
581
+ Represents the data related to a live block
582
+ """
583
+ @staticmethod
584
+ def _pybind11_conduit_v1_(*args, **kwargs):
585
+ ...
586
+ def __str__(self) -> str:
587
+ ...
588
+ @property
589
+ def block_states(self) -> dict[str, bool | str | int]:
590
+ """
591
+ Gets the block states for this block.
592
+ """
593
+ @property
594
+ def type(self) -> str:
595
+ """
596
+ Get the block type represented by this block data.
597
+ """
598
+ class BlockEvent(Event):
599
+ """
600
+ Represents an Block-related event
601
+ """
602
+ @staticmethod
603
+ def _pybind11_conduit_v1_(*args, **kwargs):
604
+ ...
605
+ @property
606
+ def block(self) -> Block:
607
+ """
608
+ Gets the block involved in this event.
609
+ """
610
+ class BlockFace:
611
+ DOWN: typing.ClassVar[BlockFace] # value = <BlockFace.DOWN: 0>
612
+ EAST: typing.ClassVar[BlockFace] # value = <BlockFace.EAST: 5>
613
+ NORTH: typing.ClassVar[BlockFace] # value = <BlockFace.NORTH: 2>
614
+ SOUTH: typing.ClassVar[BlockFace] # value = <BlockFace.SOUTH: 3>
615
+ UP: typing.ClassVar[BlockFace] # value = <BlockFace.UP: 1>
616
+ WEST: typing.ClassVar[BlockFace] # value = <BlockFace.WEST: 4>
617
+ __members__: typing.ClassVar[dict[str, BlockFace]] # value = {'DOWN': <BlockFace.DOWN: 0>, 'UP': <BlockFace.UP: 1>, 'NORTH': <BlockFace.NORTH: 2>, 'SOUTH': <BlockFace.SOUTH: 3>, 'WEST': <BlockFace.WEST: 4>, 'EAST': <BlockFace.EAST: 5>}
618
+ @staticmethod
619
+ def _pybind11_conduit_v1_(*args, **kwargs):
620
+ ...
621
+ def __eq__(self, other: typing.Any) -> bool:
622
+ ...
623
+ def __getstate__(self) -> int:
624
+ ...
625
+ def __hash__(self) -> int:
626
+ ...
627
+ def __index__(self) -> int:
628
+ ...
629
+ def __init__(self, value: int) -> None:
630
+ ...
631
+ def __int__(self) -> int:
632
+ ...
633
+ def __ne__(self, other: typing.Any) -> bool:
634
+ ...
635
+ def __repr__(self) -> str:
636
+ ...
637
+ def __setstate__(self, state: int) -> None:
638
+ ...
639
+ def __str__(self) -> str:
640
+ ...
641
+ @property
642
+ def name(self) -> str:
643
+ ...
644
+ @property
645
+ def value(self) -> int:
646
+ ...
647
+ class BlockPlaceEvent(BlockEvent, Cancellable):
648
+ """
649
+ Called when a block is placed by a player.
650
+ """
651
+ @staticmethod
652
+ def _pybind11_conduit_v1_(*args, **kwargs):
653
+ ...
654
+ @property
655
+ def block_against(self) -> Block:
656
+ """
657
+ Gets the block that this block was placed against
658
+ """
659
+ @property
660
+ def block_placed_state(self) -> BlockState:
661
+ """
662
+ Gets the BlockState for the block which was placed.
663
+ """
664
+ @property
665
+ def block_replaced(self) -> Block:
666
+ """
667
+ Gets the block which was replaced.
668
+ """
669
+ @property
670
+ def player(self) -> Player:
671
+ """
672
+ Gets the player who placed the block involved in this event.
673
+ """
674
+ class BlockState:
675
+ """
676
+ Represents a captured state of a block, which will not update automatically.
677
+ """
678
+ @staticmethod
679
+ def _pybind11_conduit_v1_(*args, **kwargs):
680
+ ...
681
+ def __str__(self) -> str:
682
+ ...
683
+ def update(self, force: bool = False, apply_physics: bool = True) -> bool:
684
+ """
685
+ Attempts to update the block represented by this state.
686
+ """
687
+ @property
688
+ def block(self) -> Block:
689
+ """
690
+ Gets the block represented by this block state.
691
+ """
692
+ @property
693
+ def data(self) -> BlockData:
694
+ """
695
+ Gets or sets the data for this block state.
696
+ """
697
+ @data.setter
698
+ def data(self, arg1: BlockData) -> None:
699
+ ...
700
+ @property
701
+ def dimension(self) -> Dimension:
702
+ """
703
+ Gets the dimension which contains the block represented by this block state.
704
+ """
705
+ @property
706
+ def location(self) -> Location:
707
+ """
708
+ Gets the location of this block state.
709
+ """
710
+ @property
711
+ def type(self) -> str:
712
+ """
713
+ Gets or sets the type of this block state.
714
+ """
715
+ @type.setter
716
+ def type(self, arg1: str) -> None:
717
+ ...
718
+ @property
719
+ def x(self) -> int:
720
+ """
721
+ Gets the x-coordinate of this block state.
722
+ """
723
+ @property
724
+ def y(self) -> int:
725
+ """
726
+ Gets the y-coordinate of this block state.
727
+ """
728
+ @property
729
+ def z(self) -> int:
730
+ """
731
+ Gets the z-coordinate of this block state.
732
+ """
733
+ class BossBar:
734
+ """
735
+ Represents a boss bar that is displayed to players.
736
+ """
737
+ @staticmethod
738
+ def _pybind11_conduit_v1_(*args, **kwargs):
739
+ ...
740
+ def add_flag(self, flag: BarFlag) -> None:
741
+ """
742
+ Adds an optional flag to this boss bar.
743
+ """
744
+ def add_player(self, player: Player) -> None:
745
+ """
746
+ Adds the player to this boss bar causing it to display on their screen.
747
+ """
748
+ def has_flag(self, flag: BarFlag) -> bool:
749
+ """
750
+ Checks whether this boss bar has the passed flag set.
751
+ """
752
+ def remove_all(self) -> None:
753
+ """
754
+ Removes all players from this boss bar.
755
+ """
756
+ def remove_flag(self, flag: BarFlag) -> None:
757
+ """
758
+ Removes an existing flag on this boss bar.
759
+ """
760
+ def remove_player(self, player: Player) -> None:
761
+ """
762
+ Removes the player from this boss bar causing it to be removed from their screen.
763
+ """
764
+ @property
765
+ def color(self) -> BarColor:
766
+ """
767
+ The color of this boss bar.
768
+ """
769
+ @color.setter
770
+ def color(self, arg1: BarColor) -> None:
771
+ ...
772
+ @property
773
+ def is_visible(self) -> bool:
774
+ """
775
+ If the boss bar is displayed to attached players.
776
+ """
777
+ @is_visible.setter
778
+ def is_visible(self, arg1: bool) -> None:
779
+ ...
780
+ @property
781
+ def players(self) -> list[Player]:
782
+ """
783
+ Returns all players viewing this boss bar.
784
+ """
785
+ @property
786
+ def progress(self) -> float:
787
+ """
788
+ The progress of the bar between 0.0 and 1.0.
789
+ """
790
+ @progress.setter
791
+ def progress(self, arg1: float) -> None:
792
+ ...
793
+ @property
794
+ def style(self) -> BarStyle:
795
+ """
796
+ The style of this boss bar.
797
+ """
798
+ @style.setter
799
+ def style(self, arg1: BarStyle) -> None:
800
+ ...
801
+ @property
802
+ def title(self) -> str:
803
+ """
804
+ The title of this boss bar.
805
+ """
806
+ @title.setter
807
+ def title(self, arg1: str) -> None:
808
+ ...
809
+ class BroadcastMessageEvent(ServerEvent, Cancellable):
810
+ """
811
+ Event triggered for server broadcast messages such as from Server.broadcast
812
+ """
813
+ @staticmethod
814
+ def _pybind11_conduit_v1_(*args, **kwargs):
815
+ ...
816
+ @property
817
+ def message(self) -> str:
818
+ """
819
+ Gets or sets the message to broadcast.
820
+ """
821
+ @message.setter
822
+ def message(self, arg1: str) -> None:
823
+ ...
824
+ @property
825
+ def recipients(self) -> set[CommandSender]:
826
+ """
827
+ Gets a set of recipients that this broadcast message will be displayed to.
828
+ """
829
+ class Cancellable:
830
+ """
831
+ Represents an event that may be cancelled by a plugin or the server.
832
+ """
833
+ @staticmethod
834
+ def _pybind11_conduit_v1_(*args, **kwargs):
835
+ ...
836
+ def cancel(self) -> None:
837
+ """
838
+ Cancel this event. A cancelled event will not be executed in the server, but will still pass to other plugins.
839
+ """
840
+ @property
841
+ def cancelled(self) -> bool:
842
+ """
843
+ Gets or sets the cancellation state of this event. A cancelled event will not be executed in the server, but will still pass to other plugins. [Warning] Deprecated: Use is_cancelled instead.
844
+ """
845
+ @cancelled.setter
846
+ def cancelled(self, arg1: bool) -> None:
847
+ ...
848
+ @property
849
+ def is_cancelled(self) -> bool:
850
+ """
851
+ Gets or sets the cancellation state of this event. A cancelled event will not be executed in the server, but will still pass to other plugins.
852
+ """
853
+ @is_cancelled.setter
854
+ def is_cancelled(self, arg1: bool) -> None:
855
+ ...
856
+ class Chunk:
857
+ """
858
+ Represents a chunk of blocks.
859
+ """
860
+ @staticmethod
861
+ def _pybind11_conduit_v1_(*args, **kwargs):
862
+ ...
863
+ @property
864
+ def dimension(self) -> Dimension:
865
+ """
866
+ Gets the dimension containing this chunk
867
+ """
868
+ @property
869
+ def level(self) -> Level:
870
+ """
871
+ Gets the level containing this chunk
872
+ """
873
+ @property
874
+ def x(self) -> int:
875
+ """
876
+ Gets the X-coordinate of this chunk
877
+ """
878
+ @property
879
+ def z(self) -> int:
880
+ """
881
+ Gets the Z-coordinate of this chunk
882
+ """
883
+ class ColorFormat:
884
+ """
885
+ All supported color and format codes.
886
+ """
887
+ AQUA: typing.ClassVar[str] = '§b'
888
+ BLACK: typing.ClassVar[str] = '§0'
889
+ BLUE: typing.ClassVar[str] = '§9'
890
+ BOLD: typing.ClassVar[str] = '§l'
891
+ DARK_AQUA: typing.ClassVar[str] = '§3'
892
+ DARK_BLUE: typing.ClassVar[str] = '§1'
893
+ DARK_GRAY: typing.ClassVar[str] = '§8'
894
+ DARK_GREEN: typing.ClassVar[str] = '§2'
895
+ DARK_PURPLE: typing.ClassVar[str] = '§5'
896
+ DARK_RED: typing.ClassVar[str] = '§4'
897
+ GOLD: typing.ClassVar[str] = '§6'
898
+ GRAY: typing.ClassVar[str] = '§7'
899
+ GREEN: typing.ClassVar[str] = '§a'
900
+ ITALIC: typing.ClassVar[str] = '§o'
901
+ LIGHT_PURPLE: typing.ClassVar[str] = '§d'
902
+ MATERIAL_AMETHYST: typing.ClassVar[str] = '§u'
903
+ MATERIAL_COPPER: typing.ClassVar[str] = '§n'
904
+ MATERIAL_DIAMOND: typing.ClassVar[str] = '§s'
905
+ MATERIAL_EMERALD: typing.ClassVar[str] = '§q'
906
+ MATERIAL_GOLD: typing.ClassVar[str] = '§p'
907
+ MATERIAL_IRON: typing.ClassVar[str] = '§i'
908
+ MATERIAL_LAPIS: typing.ClassVar[str] = '§t'
909
+ MATERIAL_NETHERITE: typing.ClassVar[str] = '§j'
910
+ MATERIAL_QUARTZ: typing.ClassVar[str] = '§h'
911
+ MATERIAL_REDSTONE: typing.ClassVar[str] = '§m'
912
+ MATERIAL_RESIN: typing.ClassVar[str] = '§v'
913
+ MINECOIN_GOLD: typing.ClassVar[str] = '§g'
914
+ OBFUSCATED: typing.ClassVar[str] = '§k'
915
+ RED: typing.ClassVar[str] = '§c'
916
+ RESET: typing.ClassVar[str] = '§r'
917
+ WHITE: typing.ClassVar[str] = '§f'
918
+ YELLOW: typing.ClassVar[str] = '§e'
919
+ @staticmethod
920
+ def _pybind11_conduit_v1_(*args, **kwargs):
921
+ ...
922
+ class Command:
923
+ """
924
+ Represents a Command, which executes various tasks upon user input
925
+ """
926
+ @staticmethod
927
+ def _pybind11_conduit_v1_(*args, **kwargs):
928
+ ...
929
+ def __init__(self, name: str, description: str | None = None, usages: list[str] | None = None, aliases: list[str] | None = None, permissions: list[str] | None = None, *args, **kwargs) -> None:
930
+ ...
931
+ def execute(self, sender: CommandSender, args: list[str]) -> bool:
932
+ """
933
+ Executes the command, returning its success
934
+ """
935
+ def test_permission(self, target: CommandSender) -> bool:
936
+ """
937
+ Tests the given CommandSender to see if they can perform this command.
938
+ """
939
+ def test_permission_silently(self, target: CommandSender) -> bool:
940
+ """
941
+ Tests the given CommandSender to see if they can perform this command. No error is sent to the sender.
942
+ """
943
+ @property
944
+ def aliases(self) -> list[str]:
945
+ """
946
+ List of aliases of this command
947
+ """
948
+ @aliases.setter
949
+ def aliases(self, arg1: list[str]) -> None:
950
+ ...
951
+ @property
952
+ def description(self) -> str:
953
+ """
954
+ Brief description of this command
955
+ """
956
+ @description.setter
957
+ def description(self, arg1: str) -> None:
958
+ ...
959
+ @property
960
+ def is_registered(self) -> bool:
961
+ """
962
+ Returns the current registered state of this command
963
+ """
964
+ @property
965
+ def name(self) -> str:
966
+ """
967
+ Name of this command.
968
+ """
969
+ @name.setter
970
+ def name(self, arg1: str) -> None:
971
+ ...
972
+ @property
973
+ def permissions(self) -> list[str]:
974
+ """
975
+ The permissions required by users to be able to perform this command
976
+ """
977
+ @permissions.setter
978
+ def permissions(self, arg1: list[str]) -> None:
979
+ ...
980
+ @property
981
+ def usages(self) -> list[str]:
982
+ """
983
+ List of usages of this command
984
+ """
985
+ @usages.setter
986
+ def usages(self, arg1: list[str]) -> None:
987
+ ...
988
+ class CommandExecutor:
989
+ """
990
+ Represents a class which contains a single method for executing commands
991
+ """
992
+ @staticmethod
993
+ def _pybind11_conduit_v1_(*args, **kwargs):
994
+ ...
995
+ def __init__(self) -> None:
996
+ ...
997
+ def on_command(self, sender: CommandSender, command: Command, args: list[str]) -> bool:
998
+ """
999
+ Executes the given command, returning its success.
1000
+ """
1001
+ class CommandSender(Permissible):
1002
+ """
1003
+ Represents a command sender.
1004
+ """
1005
+ @staticmethod
1006
+ def _pybind11_conduit_v1_(*args, **kwargs):
1007
+ ...
1008
+ def send_error_message(self, message: str | Translatable) -> None:
1009
+ """
1010
+ Sends this sender an error message
1011
+ """
1012
+ def send_message(self, message: str | Translatable) -> None:
1013
+ """
1014
+ Sends this sender a message
1015
+ """
1016
+ @property
1017
+ def name(self) -> str:
1018
+ """
1019
+ Gets the name of this command sender
1020
+ """
1021
+ @property
1022
+ def server(self) -> Server:
1023
+ """
1024
+ Returns the server instance that this command is running on
1025
+ """
1026
+ class CommandSenderWrapper(CommandSender):
1027
+ """
1028
+ Represents a wrapper that forwards commands to the wrapped CommandSender and captures its output
1029
+ """
1030
+ @staticmethod
1031
+ def _pybind11_conduit_v1_(*args, **kwargs):
1032
+ ...
1033
+ def __init__(self, sender: CommandSender, on_message: typing.Callable[[str | Translatable], None] = None, on_error: typing.Callable[[str | Translatable], None] = None) -> None:
1034
+ ...
1035
+ class ConsoleCommandSender(CommandSender):
1036
+ """
1037
+ Represents a console command sender.
1038
+ """
1039
+ @staticmethod
1040
+ def _pybind11_conduit_v1_(*args, **kwargs):
1041
+ ...
1042
+ class Criteria:
1043
+ """
1044
+ Represents a scoreboard criteria.
1045
+ """
1046
+ class Type:
1047
+ """
1048
+ Represents a scoreboard criteria.
1049
+ """
1050
+ DUMMY: typing.ClassVar[Criteria.Type] # value = <Type.DUMMY: 0>
1051
+ __members__: typing.ClassVar[dict[str, Criteria.Type]] # value = {'DUMMY': <Type.DUMMY: 0>}
1052
+ @staticmethod
1053
+ def _pybind11_conduit_v1_(*args, **kwargs):
1054
+ ...
1055
+ def __eq__(self, other: typing.Any) -> bool:
1056
+ ...
1057
+ def __getstate__(self) -> int:
1058
+ ...
1059
+ def __hash__(self) -> int:
1060
+ ...
1061
+ def __index__(self) -> int:
1062
+ ...
1063
+ def __init__(self, value: int) -> None:
1064
+ ...
1065
+ def __int__(self) -> int:
1066
+ ...
1067
+ def __ne__(self, other: typing.Any) -> bool:
1068
+ ...
1069
+ def __repr__(self) -> str:
1070
+ ...
1071
+ def __setstate__(self, state: int) -> None:
1072
+ ...
1073
+ def __str__(self) -> str:
1074
+ ...
1075
+ @property
1076
+ def name(self) -> str:
1077
+ ...
1078
+ @property
1079
+ def value(self) -> int:
1080
+ ...
1081
+ DUMMY: typing.ClassVar[Criteria.Type] # value = <Type.DUMMY: 0>
1082
+ @staticmethod
1083
+ def _pybind11_conduit_v1_(*args, **kwargs):
1084
+ ...
1085
+ @property
1086
+ def default_render_type(self) -> RenderType:
1087
+ ...
1088
+ @property
1089
+ def is_read_only(self) -> bool:
1090
+ ...
1091
+ @property
1092
+ def name(self) -> str:
1093
+ ...
1094
+ class DamageSource:
1095
+ """
1096
+ Represents a source of damage.
1097
+ """
1098
+ @staticmethod
1099
+ def _pybind11_conduit_v1_(*args, **kwargs):
1100
+ ...
1101
+ def __str__(self) -> str:
1102
+ ...
1103
+ @property
1104
+ def actor(self) -> Actor:
1105
+ """
1106
+ Get the actor that caused the damage to occur.
1107
+ """
1108
+ @property
1109
+ def damaging_actor(self) -> Actor:
1110
+ """
1111
+ Get the actor that directly caused the damage.
1112
+ """
1113
+ @property
1114
+ def is_indirect(self) -> bool:
1115
+ """
1116
+ Get if this damage is indirect.
1117
+ """
1118
+ @property
1119
+ def type(self) -> str:
1120
+ """
1121
+ Get the damage type.
1122
+ """
1123
+ class Dimension:
1124
+ """
1125
+ Represents a dimension within a Level.
1126
+ """
1127
+ class Type:
1128
+ """
1129
+ Represents various dimension types.
1130
+ """
1131
+ CUSTOM: typing.ClassVar[Dimension.Type] # value = <Type.CUSTOM: 999>
1132
+ NETHER: typing.ClassVar[Dimension.Type] # value = <Type.NETHER: 1>
1133
+ OVERWORLD: typing.ClassVar[Dimension.Type] # value = <Type.OVERWORLD: 0>
1134
+ THE_END: typing.ClassVar[Dimension.Type] # value = <Type.THE_END: 2>
1135
+ __members__: typing.ClassVar[dict[str, Dimension.Type]] # value = {'OVERWORLD': <Type.OVERWORLD: 0>, 'NETHER': <Type.NETHER: 1>, 'THE_END': <Type.THE_END: 2>, 'CUSTOM': <Type.CUSTOM: 999>}
1136
+ @staticmethod
1137
+ def _pybind11_conduit_v1_(*args, **kwargs):
1138
+ ...
1139
+ def __eq__(self, other: typing.Any) -> bool:
1140
+ ...
1141
+ def __getstate__(self) -> int:
1142
+ ...
1143
+ def __hash__(self) -> int:
1144
+ ...
1145
+ def __index__(self) -> int:
1146
+ ...
1147
+ def __init__(self, value: int) -> None:
1148
+ ...
1149
+ def __int__(self) -> int:
1150
+ ...
1151
+ def __ne__(self, other: typing.Any) -> bool:
1152
+ ...
1153
+ def __repr__(self) -> str:
1154
+ ...
1155
+ def __setstate__(self, state: int) -> None:
1156
+ ...
1157
+ def __str__(self) -> str:
1158
+ ...
1159
+ @property
1160
+ def name(self) -> str:
1161
+ ...
1162
+ @property
1163
+ def value(self) -> int:
1164
+ ...
1165
+ CUSTOM: typing.ClassVar[Dimension.Type] # value = <Type.CUSTOM: 999>
1166
+ NETHER: typing.ClassVar[Dimension.Type] # value = <Type.NETHER: 1>
1167
+ OVERWORLD: typing.ClassVar[Dimension.Type] # value = <Type.OVERWORLD: 0>
1168
+ THE_END: typing.ClassVar[Dimension.Type] # value = <Type.THE_END: 2>
1169
+ @staticmethod
1170
+ def _pybind11_conduit_v1_(*args, **kwargs):
1171
+ ...
1172
+ @typing.overload
1173
+ def get_block_at(self, location: Location) -> Block:
1174
+ """
1175
+ Gets the Block at the given Location
1176
+ """
1177
+ @typing.overload
1178
+ def get_block_at(self, x: int, y: int, z: int) -> Block:
1179
+ """
1180
+ Gets the Block at the given coordinates
1181
+ """
1182
+ @property
1183
+ def level(self) -> Level:
1184
+ """
1185
+ Gets the level to which this dimension belongs
1186
+ """
1187
+ @property
1188
+ def loaded_chunks(self) -> list[Chunk]:
1189
+ """
1190
+ Gets a list of all loaded Chunks
1191
+ """
1192
+ @property
1193
+ def name(self) -> str:
1194
+ """
1195
+ Gets the name of this dimension
1196
+ """
1197
+ @property
1198
+ def type(self) -> Dimension.Type:
1199
+ """
1200
+ Gets the type of this dimension
1201
+ """
1202
+ class DisplaySlot:
1203
+ """
1204
+ Locations for displaying objectives to the player
1205
+ """
1206
+ BELOW_NAME: typing.ClassVar[DisplaySlot] # value = <DisplaySlot.BELOW_NAME: 0>
1207
+ PLAYER_LIST: typing.ClassVar[DisplaySlot] # value = <DisplaySlot.PLAYER_LIST: 1>
1208
+ SIDE_BAR: typing.ClassVar[DisplaySlot] # value = <DisplaySlot.SIDE_BAR: 2>
1209
+ __members__: typing.ClassVar[dict[str, DisplaySlot]] # value = {'BELOW_NAME': <DisplaySlot.BELOW_NAME: 0>, 'PLAYER_LIST': <DisplaySlot.PLAYER_LIST: 1>, 'SIDE_BAR': <DisplaySlot.SIDE_BAR: 2>}
1210
+ @staticmethod
1211
+ def _pybind11_conduit_v1_(*args, **kwargs):
1212
+ ...
1213
+ def __eq__(self, other: typing.Any) -> bool:
1214
+ ...
1215
+ def __getstate__(self) -> int:
1216
+ ...
1217
+ def __hash__(self) -> int:
1218
+ ...
1219
+ def __index__(self) -> int:
1220
+ ...
1221
+ def __init__(self, value: int) -> None:
1222
+ ...
1223
+ def __int__(self) -> int:
1224
+ ...
1225
+ def __ne__(self, other: typing.Any) -> bool:
1226
+ ...
1227
+ def __repr__(self) -> str:
1228
+ ...
1229
+ def __setstate__(self, state: int) -> None:
1230
+ ...
1231
+ def __str__(self) -> str:
1232
+ ...
1233
+ @property
1234
+ def name(self) -> str:
1235
+ ...
1236
+ @property
1237
+ def value(self) -> int:
1238
+ ...
1239
+ class Dropdown:
1240
+ """
1241
+ Represents a dropdown with a set of predefined options.
1242
+ """
1243
+ @staticmethod
1244
+ def _pybind11_conduit_v1_(*args, **kwargs):
1245
+ ...
1246
+ def __init__(self, label: str | Translatable = '', options: list[str] | None = None, default_index: int | None = None) -> None:
1247
+ ...
1248
+ def add_option(self, option: str) -> Dropdown:
1249
+ """
1250
+ Adds a new option to the dropdown.
1251
+ """
1252
+ @property
1253
+ def default_index(self) -> int | None:
1254
+ """
1255
+ Gets or sets the optional default index of the dropdown.
1256
+ """
1257
+ @default_index.setter
1258
+ def default_index(self, arg1: int | None) -> Dropdown:
1259
+ ...
1260
+ @property
1261
+ def label(self) -> str | Translatable:
1262
+ """
1263
+ Gets or sets the label of the dropdown.
1264
+ """
1265
+ @label.setter
1266
+ def label(self, arg1: str | Translatable) -> Dropdown:
1267
+ ...
1268
+ @property
1269
+ def options(self) -> list[str]:
1270
+ """
1271
+ Gets or sets the options of the dropdown.
1272
+ """
1273
+ @options.setter
1274
+ def options(self, arg1: list[str]) -> Dropdown:
1275
+ ...
1276
+ class Event:
1277
+ """
1278
+ Represents an event.
1279
+ """
1280
+ @staticmethod
1281
+ def _pybind11_conduit_v1_(*args, **kwargs):
1282
+ ...
1283
+ @property
1284
+ def event_name(self) -> str:
1285
+ """
1286
+ Gets a user-friendly identifier for this event.
1287
+ """
1288
+ @property
1289
+ def is_asynchronous(self) -> bool:
1290
+ """
1291
+ Whether the event fires asynchronously.
1292
+ """
1293
+ class EventPriority:
1294
+ """
1295
+ Listeners are called in following order: LOWEST -> LOW -> NORMAL -> HIGH -> HIGHEST -> MONITOR
1296
+ """
1297
+ HIGH: typing.ClassVar[EventPriority] # value = <EventPriority.HIGH: 3>
1298
+ HIGHEST: typing.ClassVar[EventPriority] # value = <EventPriority.HIGHEST: 4>
1299
+ LOW: typing.ClassVar[EventPriority] # value = <EventPriority.LOW: 1>
1300
+ LOWEST: typing.ClassVar[EventPriority] # value = <EventPriority.LOWEST: 0>
1301
+ MONITOR: typing.ClassVar[EventPriority] # value = <EventPriority.MONITOR: 5>
1302
+ NORMAL: typing.ClassVar[EventPriority] # value = <EventPriority.NORMAL: 2>
1303
+ __members__: typing.ClassVar[dict[str, EventPriority]] # value = {'LOWEST': <EventPriority.LOWEST: 0>, 'LOW': <EventPriority.LOW: 1>, 'NORMAL': <EventPriority.NORMAL: 2>, 'HIGH': <EventPriority.HIGH: 3>, 'HIGHEST': <EventPriority.HIGHEST: 4>, 'MONITOR': <EventPriority.MONITOR: 5>}
1304
+ @staticmethod
1305
+ def _pybind11_conduit_v1_(*args, **kwargs):
1306
+ ...
1307
+ def __eq__(self, other: typing.Any) -> bool:
1308
+ ...
1309
+ def __getstate__(self) -> int:
1310
+ ...
1311
+ def __hash__(self) -> int:
1312
+ ...
1313
+ def __index__(self) -> int:
1314
+ ...
1315
+ def __init__(self, value: int) -> None:
1316
+ ...
1317
+ def __int__(self) -> int:
1318
+ ...
1319
+ def __ne__(self, other: typing.Any) -> bool:
1320
+ ...
1321
+ def __repr__(self) -> str:
1322
+ ...
1323
+ def __setstate__(self, state: int) -> None:
1324
+ ...
1325
+ def __str__(self) -> str:
1326
+ ...
1327
+ @property
1328
+ def name(self) -> str:
1329
+ ...
1330
+ @property
1331
+ def value(self) -> int:
1332
+ ...
1333
+ class GameMode:
1334
+ """
1335
+ Represents the various type of game modes that Players may have.
1336
+ """
1337
+ ADVENTURE: typing.ClassVar[GameMode] # value = <GameMode.ADVENTURE: 2>
1338
+ CREATIVE: typing.ClassVar[GameMode] # value = <GameMode.CREATIVE: 1>
1339
+ SPECTATOR: typing.ClassVar[GameMode] # value = <GameMode.SPECTATOR: 3>
1340
+ SURVIVAL: typing.ClassVar[GameMode] # value = <GameMode.SURVIVAL: 0>
1341
+ __members__: typing.ClassVar[dict[str, GameMode]] # value = {'SURVIVAL': <GameMode.SURVIVAL: 0>, 'CREATIVE': <GameMode.CREATIVE: 1>, 'ADVENTURE': <GameMode.ADVENTURE: 2>, 'SPECTATOR': <GameMode.SPECTATOR: 3>}
1342
+ @staticmethod
1343
+ def _pybind11_conduit_v1_(*args, **kwargs):
1344
+ ...
1345
+ def __eq__(self, other: typing.Any) -> bool:
1346
+ ...
1347
+ def __getstate__(self) -> int:
1348
+ ...
1349
+ def __hash__(self) -> int:
1350
+ ...
1351
+ def __index__(self) -> int:
1352
+ ...
1353
+ def __init__(self, value: int) -> None:
1354
+ ...
1355
+ def __int__(self) -> int:
1356
+ ...
1357
+ def __ne__(self, other: typing.Any) -> bool:
1358
+ ...
1359
+ def __repr__(self) -> str:
1360
+ ...
1361
+ def __setstate__(self, state: int) -> None:
1362
+ ...
1363
+ def __str__(self) -> str:
1364
+ ...
1365
+ @property
1366
+ def name(self) -> str:
1367
+ ...
1368
+ @property
1369
+ def value(self) -> int:
1370
+ ...
1371
+ class Inventory:
1372
+ """
1373
+ Interface to the various inventories.
1374
+ """
1375
+ @staticmethod
1376
+ def _pybind11_conduit_v1_(*args, **kwargs):
1377
+ ...
1378
+ def __get_item__(self, index: int) -> ItemStack:
1379
+ """
1380
+ Returns the ItemStack found in the slot at the given index
1381
+ """
1382
+ def __len__(self) -> int:
1383
+ """
1384
+ Returns the size of the inventory
1385
+ """
1386
+ def __set_item__(self, index: int, item: ItemStack | None) -> None:
1387
+ """
1388
+ Stores the ItemStack at the given index of the inventory.
1389
+ """
1390
+ def add_item(self, item: ItemStack) -> None:
1391
+ """
1392
+ Stores the given ItemStacks in the inventory. This will try to fill existing stacks and empty slots as well as it can.
1393
+ """
1394
+ def clear(self) -> None:
1395
+ """
1396
+ Clears out the whole Inventory.
1397
+ """
1398
+ def first(self, item: ItemStack) -> int:
1399
+ """
1400
+ Returns the first slot in the inventory containing an ItemStack with the given stack.
1401
+ """
1402
+ def get_item(self, index: int) -> ItemStack:
1403
+ """
1404
+ Returns the ItemStack found in the slot at the given index
1405
+ """
1406
+ def set_item(self, index: int, item: ItemStack | None) -> None:
1407
+ """
1408
+ Stores the ItemStack at the given index of the inventory.
1409
+ """
1410
+ @property
1411
+ def contents(self) -> list[ItemStack]:
1412
+ """
1413
+ Returns all ItemStacks from the inventory
1414
+ """
1415
+ @property
1416
+ def is_empty(self) -> bool:
1417
+ """
1418
+ Check whether this inventory is empty. An inventory is considered to be empty if there are no ItemStacks in any slot of this inventory.
1419
+ """
1420
+ @property
1421
+ def max_stack_size(self) -> int:
1422
+ """
1423
+ Returns the maximum stack size for an ItemStack in this inventory.
1424
+ """
1425
+ @property
1426
+ def size(self) -> int:
1427
+ """
1428
+ Returns the size of the inventory
1429
+ """
1430
+ class IpBanEntry(BanEntry):
1431
+ """
1432
+ Represents a ban entry for an IP address.
1433
+ """
1434
+ @staticmethod
1435
+ def _pybind11_conduit_v1_(*args, **kwargs):
1436
+ ...
1437
+ def __init__(self, address: str) -> None:
1438
+ ...
1439
+ @property
1440
+ def address(self) -> str:
1441
+ """
1442
+ Gets the banned IP address.
1443
+ """
1444
+ class IpBanList:
1445
+ """
1446
+ Represents a ban list containing banned IP addresses.
1447
+ """
1448
+ @staticmethod
1449
+ def _pybind11_conduit_v1_(*args, **kwargs):
1450
+ ...
1451
+ def add_ban(self, address: str, reason: str | None = None, expires: datetime.datetime | None = None, source: str | None = None) -> IpBanEntry:
1452
+ """
1453
+ Adds a ban to this list, or updates an existing one.
1454
+ """
1455
+ def get_ban_entry(self, address: str) -> IpBanEntry:
1456
+ """
1457
+ Gets a BanEntry by IP address.
1458
+ """
1459
+ def is_banned(self, address: str) -> bool:
1460
+ """
1461
+ Checks if a BanEntry exists for the target by IP address.
1462
+ """
1463
+ def remove_ban(self, address: str) -> None:
1464
+ """
1465
+ Removes an IP address from the ban list.
1466
+ """
1467
+ @property
1468
+ def entries(self) -> list[IpBanEntry]:
1469
+ """
1470
+ Gets a vector of pointers to entries in the ban list.
1471
+ """
1472
+ class ItemStack:
1473
+ """
1474
+ Represents a stack of items.
1475
+ """
1476
+ @staticmethod
1477
+ def _pybind11_conduit_v1_(*args, **kwargs):
1478
+ ...
1479
+ def __init__(self, type: str = 'minecraft:air', amount: int = 1) -> None:
1480
+ ...
1481
+ def __str__(self) -> str:
1482
+ ...
1483
+ @property
1484
+ def amount(self) -> int:
1485
+ """
1486
+ Gets or sets the amount of items in this stack.
1487
+ """
1488
+ @amount.setter
1489
+ def amount(self, arg1: int) -> None:
1490
+ ...
1491
+ @property
1492
+ def type(self) -> str:
1493
+ """
1494
+ Gets or sets the type of this item.
1495
+ """
1496
+ @type.setter
1497
+ def type(self, arg1: str) -> None:
1498
+ ...
1499
+ class Label:
1500
+ """
1501
+ Represents a text label.
1502
+ """
1503
+ @staticmethod
1504
+ def _pybind11_conduit_v1_(*args, **kwargs):
1505
+ ...
1506
+ def __init__(self, text: str | Translatable = '') -> None:
1507
+ ...
1508
+ @property
1509
+ def text(self) -> str | Translatable:
1510
+ """
1511
+ Gets or sets the text of the label.
1512
+ """
1513
+ @text.setter
1514
+ def text(self, arg1: str | Translatable) -> Label:
1515
+ ...
1516
+ class Language:
1517
+ """
1518
+ Represents the interface for translating text into different languages.
1519
+ """
1520
+ @staticmethod
1521
+ def _pybind11_conduit_v1_(*args, **kwargs):
1522
+ ...
1523
+ @typing.overload
1524
+ def translate(self, text: str, params: list[str] | None = None, locale: str | None = None) -> str:
1525
+ """
1526
+ Translates a given text using a set of parameters for a specific locale.
1527
+ """
1528
+ @typing.overload
1529
+ def translate(self, translatable: Translatable, locale: str | None = None) -> str:
1530
+ """
1531
+ Translates a Translatable object into a specific locale.
1532
+ """
1533
+ @property
1534
+ def locale(self) -> str:
1535
+ """
1536
+ Gets the current locale.
1537
+ """
1538
+ class Level:
1539
+ @staticmethod
1540
+ def _pybind11_conduit_v1_(*args, **kwargs):
1541
+ ...
1542
+ def get_dimension(self, name: str) -> Dimension:
1543
+ """
1544
+ Gets the dimension with the given name.
1545
+ """
1546
+ @property
1547
+ def actors(self) -> list[Actor]:
1548
+ """
1549
+ Get a list of all actors in this level
1550
+ """
1551
+ @property
1552
+ def dimensions(self) -> list[Dimension]:
1553
+ """
1554
+ Gets a list of all dimensions within this level.
1555
+ """
1556
+ @property
1557
+ def name(self) -> str:
1558
+ """
1559
+ Gets the unique name of this level
1560
+ """
1561
+ @property
1562
+ def time(self) -> int:
1563
+ """
1564
+ Gets and sets the relative in-game time on the server
1565
+ """
1566
+ @time.setter
1567
+ def time(self, arg1: int) -> None:
1568
+ ...
1569
+ class Location(Position):
1570
+ """
1571
+ Represents a 3-dimensional location in a dimension within a level.
1572
+ """
1573
+ @staticmethod
1574
+ def _pybind11_conduit_v1_(*args, **kwargs):
1575
+ ...
1576
+ def __init__(self, dimension: Dimension, x: float, y: float, z: float, pitch: float = 0.0, yaw: float = 0.0) -> None:
1577
+ ...
1578
+ def __repr__(self) -> str:
1579
+ ...
1580
+ def __str__(self) -> str:
1581
+ ...
1582
+ @property
1583
+ def pitch(self) -> float:
1584
+ """
1585
+ The pitch of this location, measured in degrees.
1586
+ """
1587
+ @pitch.setter
1588
+ def pitch(self, arg1: float) -> None:
1589
+ ...
1590
+ @property
1591
+ def yaw(self) -> float:
1592
+ """
1593
+ The yaw of this location, measured in degrees.
1594
+ """
1595
+ @yaw.setter
1596
+ def yaw(self, arg1: float) -> None:
1597
+ ...
1598
+ class Logger:
1599
+ """
1600
+ Logger class which can format and output varies levels of logs.
1601
+ """
1602
+ class Level:
1603
+ """
1604
+ Specifies the log level.
1605
+ """
1606
+ CRITICAL: typing.ClassVar[Logger.Level] # value = <Level.CRITICAL: 5>
1607
+ DEBUG: typing.ClassVar[Logger.Level] # value = <Level.DEBUG: 1>
1608
+ ERROR: typing.ClassVar[Logger.Level] # value = <Level.ERROR: 4>
1609
+ INFO: typing.ClassVar[Logger.Level] # value = <Level.INFO: 2>
1610
+ TRACE: typing.ClassVar[Logger.Level] # value = <Level.TRACE: 0>
1611
+ WARNING: typing.ClassVar[Logger.Level] # value = <Level.WARNING: 3>
1612
+ __members__: typing.ClassVar[dict[str, Logger.Level]] # value = {'TRACE': <Level.TRACE: 0>, 'DEBUG': <Level.DEBUG: 1>, 'INFO': <Level.INFO: 2>, 'WARNING': <Level.WARNING: 3>, 'ERROR': <Level.ERROR: 4>, 'CRITICAL': <Level.CRITICAL: 5>}
1613
+ @staticmethod
1614
+ def _pybind11_conduit_v1_(*args, **kwargs):
1615
+ ...
1616
+ def __eq__(self, other: typing.Any) -> bool:
1617
+ ...
1618
+ def __getstate__(self) -> int:
1619
+ ...
1620
+ def __hash__(self) -> int:
1621
+ ...
1622
+ def __index__(self) -> int:
1623
+ ...
1624
+ def __init__(self, value: int) -> None:
1625
+ ...
1626
+ def __int__(self) -> int:
1627
+ ...
1628
+ def __ne__(self, other: typing.Any) -> bool:
1629
+ ...
1630
+ def __repr__(self) -> str:
1631
+ ...
1632
+ def __setstate__(self, state: int) -> None:
1633
+ ...
1634
+ def __str__(self) -> str:
1635
+ ...
1636
+ @property
1637
+ def name(self) -> str:
1638
+ ...
1639
+ @property
1640
+ def value(self) -> int:
1641
+ ...
1642
+ CRITICAL: typing.ClassVar[Logger.Level] # value = <Level.CRITICAL: 5>
1643
+ DEBUG: typing.ClassVar[Logger.Level] # value = <Level.DEBUG: 1>
1644
+ ERROR: typing.ClassVar[Logger.Level] # value = <Level.ERROR: 4>
1645
+ INFO: typing.ClassVar[Logger.Level] # value = <Level.INFO: 2>
1646
+ TRACE: typing.ClassVar[Logger.Level] # value = <Level.TRACE: 0>
1647
+ WARNING: typing.ClassVar[Logger.Level] # value = <Level.WARNING: 3>
1648
+ @staticmethod
1649
+ def _pybind11_conduit_v1_(*args, **kwargs):
1650
+ ...
1651
+ def critical(self, message: str) -> None:
1652
+ """
1653
+ Log a message at the CRITICAL level.
1654
+ """
1655
+ def debug(self, message: str) -> None:
1656
+ """
1657
+ Log a message at the DEBUG level.
1658
+ """
1659
+ def error(self, message: str) -> None:
1660
+ """
1661
+ Log a message at the ERROR level.
1662
+ """
1663
+ def info(self, message: str) -> None:
1664
+ """
1665
+ Log a message at the INFO level.
1666
+ """
1667
+ def is_enabled_for(self, level: Logger.Level) -> bool:
1668
+ """
1669
+ Check if the Logger instance is enabled for the given log Level.
1670
+ """
1671
+ def set_level(self, level: Logger.Level) -> None:
1672
+ """
1673
+ Set the logging level for this Logger instance.
1674
+ """
1675
+ def trace(self, message: str) -> None:
1676
+ """
1677
+ Log a message at the TRACE level.
1678
+ """
1679
+ def warning(self, message: str) -> None:
1680
+ """
1681
+ Log a message at the WARNING level.
1682
+ """
1683
+ @property
1684
+ def name(self) -> str:
1685
+ """
1686
+ Get the name of this Logger instance.
1687
+ """
1688
+ class MessageForm:
1689
+ """
1690
+ Represents a form with two buttons.
1691
+ """
1692
+ @staticmethod
1693
+ def _pybind11_conduit_v1_(*args, **kwargs):
1694
+ ...
1695
+ def __init__(self, title: str | Translatable = '', content: str | Translatable = '', button1: str | Translatable = '', button2: str | Translatable = '', on_submit: typing.Callable[[Player, int], None] = None, on_close: typing.Callable[[Player], None] = None) -> None:
1696
+ ...
1697
+ @property
1698
+ def button1(self) -> str | Translatable:
1699
+ """
1700
+ Gets or sets the text of button1.
1701
+ """
1702
+ @button1.setter
1703
+ def button1(self, arg1: str | Translatable) -> MessageForm:
1704
+ ...
1705
+ @property
1706
+ def button2(self) -> str | Translatable:
1707
+ """
1708
+ Gets or sets the text of button2.
1709
+ """
1710
+ @button2.setter
1711
+ def button2(self, arg1: str | Translatable) -> MessageForm:
1712
+ ...
1713
+ @property
1714
+ def content(self) -> str | Translatable:
1715
+ """
1716
+ Gets or sets the content of the form.
1717
+ """
1718
+ @content.setter
1719
+ def content(self, arg1: str | Translatable) -> MessageForm:
1720
+ ...
1721
+ @property
1722
+ def on_close(self) -> typing.Callable[[Player], None]:
1723
+ """
1724
+ Gets or sets the on close callback.
1725
+ """
1726
+ @on_close.setter
1727
+ def on_close(self, arg1: typing.Callable[[Player], None]) -> MessageForm:
1728
+ ...
1729
+ @property
1730
+ def on_submit(self) -> typing.Callable[[Player, int], None]:
1731
+ """
1732
+ Gets or sets the on submit callback.
1733
+ """
1734
+ @on_submit.setter
1735
+ def on_submit(self, arg1: typing.Callable[[Player, int], None]) -> MessageForm:
1736
+ ...
1737
+ @property
1738
+ def title(self) -> str | Translatable:
1739
+ """
1740
+ Gets or sets the title of the form.
1741
+ """
1742
+ @title.setter
1743
+ def title(self, arg1: str | Translatable) -> MessageForm:
1744
+ ...
1745
+ class Mob(Actor):
1746
+ """
1747
+ Represents a mobile entity (i.e. living entity), such as a monster or player.
1748
+ """
1749
+ @staticmethod
1750
+ def _pybind11_conduit_v1_(*args, **kwargs):
1751
+ ...
1752
+ @property
1753
+ def is_gliding(self) -> bool:
1754
+ """
1755
+ Checks to see if an actor is gliding, such as using an Elytra.
1756
+ """
1757
+ class MobEvent(Event):
1758
+ """
1759
+ Represents an Mob-related event.
1760
+ """
1761
+ @staticmethod
1762
+ def _pybind11_conduit_v1_(*args, **kwargs):
1763
+ ...
1764
+ @property
1765
+ def actor(self) -> Mob:
1766
+ """
1767
+ Returns the Mob involved in this event
1768
+ """
1769
+ class ModalForm:
1770
+ """
1771
+ Represents a modal form with controls.
1772
+ """
1773
+ @staticmethod
1774
+ def _pybind11_conduit_v1_(*args, **kwargs):
1775
+ ...
1776
+ def __init__(self, title: str | Translatable = '', controls: list[Dropdown | Label | Slider | StepSlider | TextInput | Toggle] | None = None, submit_button: str | Translatable | None = None, icon: str | None = None, on_submit: typing.Callable[[Player, str], None] = None, on_close: typing.Callable[[Player], None] = None) -> None:
1777
+ ...
1778
+ def add_control(self, control: Dropdown | Label | Slider | StepSlider | TextInput | Toggle) -> ModalForm:
1779
+ """
1780
+ Adds a control to the form.
1781
+ """
1782
+ @property
1783
+ def controls(self) -> list[Dropdown | Label | Slider | StepSlider | TextInput | Toggle]:
1784
+ """
1785
+ Gets or sets the controls of the modal form.
1786
+ """
1787
+ @controls.setter
1788
+ def controls(self, arg1: list[Dropdown | Label | Slider | StepSlider | TextInput | Toggle]) -> ModalForm:
1789
+ ...
1790
+ @property
1791
+ def icon(self) -> str | None:
1792
+ """
1793
+ Gets or sets the icon of the form.
1794
+ """
1795
+ @icon.setter
1796
+ def icon(self, arg1: str | None) -> ModalForm:
1797
+ ...
1798
+ @property
1799
+ def on_close(self) -> typing.Callable[[Player], None]:
1800
+ """
1801
+ Gets or sets the on close callback.
1802
+ """
1803
+ @on_close.setter
1804
+ def on_close(self, arg1: typing.Callable[[Player], None]) -> ModalForm:
1805
+ ...
1806
+ @property
1807
+ def on_submit(self) -> typing.Callable[[Player, str], None]:
1808
+ """
1809
+ Gets or sets the on submit callback.
1810
+ """
1811
+ @on_submit.setter
1812
+ def on_submit(self, arg1: typing.Callable[[Player, str], None]) -> ModalForm:
1813
+ ...
1814
+ @property
1815
+ def submit_button(self) -> str | Translatable | None:
1816
+ """
1817
+ Gets or sets the submit button message of the form.
1818
+ """
1819
+ @submit_button.setter
1820
+ def submit_button(self, arg1: str | Translatable | None) -> ModalForm:
1821
+ ...
1822
+ @property
1823
+ def title(self) -> str | Translatable:
1824
+ """
1825
+ Gets or sets the title of the form.
1826
+ """
1827
+ @title.setter
1828
+ def title(self, arg1: str | Translatable) -> ModalForm:
1829
+ ...
1830
+ class Objective:
1831
+ """
1832
+ Represents an objective on a scoreboard that can show scores specific to entries.
1833
+ """
1834
+ __hash__: typing.ClassVar[None] = None
1835
+ @staticmethod
1836
+ def _pybind11_conduit_v1_(*args, **kwargs):
1837
+ ...
1838
+ def __eq__(self, arg0: Objective) -> bool:
1839
+ ...
1840
+ def __ne__(self, arg0: Objective) -> bool:
1841
+ ...
1842
+ def get_score(self, entry: Player | Actor | str) -> Score:
1843
+ """
1844
+ Gets an entry's Score for this objective
1845
+ """
1846
+ def set_display(self, slot: DisplaySlot | None, order: ObjectiveSortOrder | None = None) -> None:
1847
+ """
1848
+ Sets the display slot and sort order for this objective. This will remove it from any other display slot.
1849
+ """
1850
+ def unregister(self) -> None:
1851
+ """
1852
+ Unregisters this objective from the associated Scoreboard.
1853
+ """
1854
+ @property
1855
+ def criteria(self) -> Criteria:
1856
+ """
1857
+ Gets the criteria this objective tracks
1858
+ """
1859
+ @property
1860
+ def display_name(self) -> str:
1861
+ """
1862
+ Gets or sets the name displayed to players for this objective
1863
+ """
1864
+ @display_name.setter
1865
+ def display_name(self, arg1: str) -> None:
1866
+ ...
1867
+ @property
1868
+ def display_slot(self) -> DisplaySlot | None:
1869
+ """
1870
+ Gets the display slot this objective is displayed at
1871
+ """
1872
+ @property
1873
+ def is_displayed(self) -> bool:
1874
+ """
1875
+ Gets if the objective is currently displayed in a slot.
1876
+ """
1877
+ @property
1878
+ def is_modifiable(self) -> bool:
1879
+ """
1880
+ Gets if the objective's scores can be modified directly by a plugin
1881
+ """
1882
+ @property
1883
+ def name(self) -> str:
1884
+ """
1885
+ Gets the name of this Objective
1886
+ """
1887
+ @property
1888
+ def render_type(self) -> RenderType:
1889
+ """
1890
+ Gets and sets the manner in which this objective will be rendered.
1891
+ """
1892
+ @render_type.setter
1893
+ def render_type(self, arg1: RenderType) -> None:
1894
+ ...
1895
+ @property
1896
+ def scoreboard(self) -> Scoreboard:
1897
+ """
1898
+ Gets the scoreboard to which this objective is attached
1899
+ """
1900
+ @property
1901
+ def sort_order(self) -> ObjectiveSortOrder | None:
1902
+ """
1903
+ Gets and sets the sort order for this objective
1904
+ """
1905
+ class ObjectiveSortOrder:
1906
+ """
1907
+ Represents the sort order of objectives on a DisplaySlot.
1908
+ """
1909
+ ASCENDING: typing.ClassVar[ObjectiveSortOrder] # value = <ObjectiveSortOrder.ASCENDING: 0>
1910
+ DESCENDING: typing.ClassVar[ObjectiveSortOrder] # value = <ObjectiveSortOrder.DESCENDING: 1>
1911
+ __members__: typing.ClassVar[dict[str, ObjectiveSortOrder]] # value = {'ASCENDING': <ObjectiveSortOrder.ASCENDING: 0>, 'DESCENDING': <ObjectiveSortOrder.DESCENDING: 1>}
1912
+ @staticmethod
1913
+ def _pybind11_conduit_v1_(*args, **kwargs):
1914
+ ...
1915
+ def __eq__(self, other: typing.Any) -> bool:
1916
+ ...
1917
+ def __getstate__(self) -> int:
1918
+ ...
1919
+ def __hash__(self) -> int:
1920
+ ...
1921
+ def __index__(self) -> int:
1922
+ ...
1923
+ def __init__(self, value: int) -> None:
1924
+ ...
1925
+ def __int__(self) -> int:
1926
+ ...
1927
+ def __ne__(self, other: typing.Any) -> bool:
1928
+ ...
1929
+ def __repr__(self) -> str:
1930
+ ...
1931
+ def __setstate__(self, state: int) -> None:
1932
+ ...
1933
+ def __str__(self) -> str:
1934
+ ...
1935
+ @property
1936
+ def name(self) -> str:
1937
+ ...
1938
+ @property
1939
+ def value(self) -> int:
1940
+ ...
1941
+ class OfflinePlayer:
1942
+ """
1943
+ Represents a reference to a player identity and the data belonging to a player that is stored on the disk and can, thus, be retrieved without the player needing to be online.
1944
+ """
1945
+ @staticmethod
1946
+ def _pybind11_conduit_v1_(*args, **kwargs):
1947
+ ...
1948
+ @property
1949
+ def name(self) -> str:
1950
+ """
1951
+ Returns the name of this player
1952
+ """
1953
+ @property
1954
+ def unique_id(self) -> uuid.UUID:
1955
+ """
1956
+ Returns the UUID of this player
1957
+ """
1958
+ class Packet:
1959
+ """
1960
+ Represents a packet.
1961
+ """
1962
+ @staticmethod
1963
+ def _pybind11_conduit_v1_(*args, **kwargs):
1964
+ ...
1965
+ @property
1966
+ def type(self) -> PacketType:
1967
+ """
1968
+ Gets the type of the packet.
1969
+ """
1970
+ class PacketType:
1971
+ """
1972
+ Represents the types of packets.
1973
+ """
1974
+ SPAWN_PARTICLE_EFFECT: typing.ClassVar[PacketType] # value = <PacketType.SPAWN_PARTICLE_EFFECT: 118>
1975
+ __members__: typing.ClassVar[dict[str, PacketType]] # value = {'SPAWN_PARTICLE_EFFECT': <PacketType.SPAWN_PARTICLE_EFFECT: 118>}
1976
+ @staticmethod
1977
+ def _pybind11_conduit_v1_(*args, **kwargs):
1978
+ ...
1979
+ def __eq__(self, other: typing.Any) -> bool:
1980
+ ...
1981
+ def __getstate__(self) -> int:
1982
+ ...
1983
+ def __hash__(self) -> int:
1984
+ ...
1985
+ def __index__(self) -> int:
1986
+ ...
1987
+ def __init__(self, value: int) -> None:
1988
+ ...
1989
+ def __int__(self) -> int:
1990
+ ...
1991
+ def __ne__(self, other: typing.Any) -> bool:
1992
+ ...
1993
+ def __repr__(self) -> str:
1994
+ ...
1995
+ def __setstate__(self, state: int) -> None:
1996
+ ...
1997
+ def __str__(self) -> str:
1998
+ ...
1999
+ @property
2000
+ def name(self) -> str:
2001
+ ...
2002
+ @property
2003
+ def value(self) -> int:
2004
+ ...
2005
+ class Permissible:
2006
+ """
2007
+ Represents an object that may become a server operator and can be assigned permissions.
2008
+ """
2009
+ @staticmethod
2010
+ def _pybind11_conduit_v1_(*args, **kwargs):
2011
+ ...
2012
+ @typing.overload
2013
+ def add_attachment(self, plugin: Plugin, name: str, value: bool) -> PermissionAttachment:
2014
+ """
2015
+ Adds a new PermissionAttachment.
2016
+ """
2017
+ @typing.overload
2018
+ def add_attachment(self, plugin: Plugin) -> PermissionAttachment:
2019
+ """
2020
+ Adds a new PermissionAttachment.
2021
+ """
2022
+ @typing.overload
2023
+ def has_permission(self, name: str) -> bool:
2024
+ """
2025
+ Checks if a permissions is available by name.
2026
+ """
2027
+ @typing.overload
2028
+ def has_permission(self, perm: Permission) -> bool:
2029
+ """
2030
+ Checks if a permissions is available by permission.
2031
+ """
2032
+ @typing.overload
2033
+ def is_permission_set(self, name: str) -> bool:
2034
+ """
2035
+ Checks if a permissions is set by name.
2036
+ """
2037
+ @typing.overload
2038
+ def is_permission_set(self, perm: Permission) -> bool:
2039
+ """
2040
+ Checks if a permissions is set by permission.
2041
+ """
2042
+ def recalculate_permissions(self) -> None:
2043
+ """
2044
+ Recalculates the permissions.
2045
+ """
2046
+ def remove_attachment(self, attachment: PermissionAttachment) -> None:
2047
+ """
2048
+ Removes a given PermissionAttachment.
2049
+ """
2050
+ @property
2051
+ def effective_permissions(self) -> set[PermissionAttachmentInfo]:
2052
+ """
2053
+ Gets effective permissions.
2054
+ """
2055
+ @property
2056
+ def is_op(self) -> bool:
2057
+ """
2058
+ The operator status of this object
2059
+ """
2060
+ @is_op.setter
2061
+ def is_op(self, arg1: bool) -> None:
2062
+ ...
2063
+ class Permission:
2064
+ """
2065
+ Represents a unique permission that may be attached to a Permissible
2066
+ """
2067
+ @staticmethod
2068
+ def _pybind11_conduit_v1_(*args, **kwargs):
2069
+ ...
2070
+ def __init__(self, name: str, description: str | None = None, default: PermissionDefault | None = None, children: dict[str, bool] | None = None, *args, **kwargs) -> None:
2071
+ ...
2072
+ @typing.overload
2073
+ def add_parent(self, name: str, value: bool) -> Permission:
2074
+ """
2075
+ Adds this permission to the specified parent permission.
2076
+ """
2077
+ @typing.overload
2078
+ def add_parent(self, perm: Permission, value: bool) -> None:
2079
+ """
2080
+ Adds this permission to the specified parent permission.
2081
+ """
2082
+ def recalculate_permissibles(self) -> None:
2083
+ """
2084
+ Recalculates all Permissibles that contain this permission.
2085
+ """
2086
+ @property
2087
+ def children(self) -> dict[str, bool]:
2088
+ """
2089
+ Gets the children of this permission.
2090
+ """
2091
+ @property
2092
+ def default(self) -> PermissionDefault:
2093
+ """
2094
+ The default value of this permission.
2095
+ """
2096
+ @default.setter
2097
+ def default(self, arg1: PermissionDefault) -> None:
2098
+ ...
2099
+ @property
2100
+ def description(self) -> str:
2101
+ """
2102
+ The brief description of this permission
2103
+ """
2104
+ @description.setter
2105
+ def description(self, arg1: str) -> None:
2106
+ ...
2107
+ @property
2108
+ def name(self) -> str:
2109
+ """
2110
+ Gets the unique fully qualified name of this Permission.
2111
+ """
2112
+ @property
2113
+ def permissibles(self) -> set[Permissible]:
2114
+ """
2115
+ Gets a set containing every Permissible that has this permission.
2116
+ """
2117
+ class PermissionAttachment:
2118
+ """
2119
+ Holds information about a permission attachment on a Permissible object
2120
+ """
2121
+ @staticmethod
2122
+ def _pybind11_conduit_v1_(*args, **kwargs):
2123
+ ...
2124
+ def __init__(self, plugin: Plugin, permissible: Permissible) -> None:
2125
+ ...
2126
+ def remove(self) -> bool:
2127
+ """
2128
+ Removes this attachment from its registered Permissible.
2129
+ """
2130
+ @typing.overload
2131
+ def set_permission(self, name: str, value: bool) -> None:
2132
+ """
2133
+ Sets a permission to the given value, by its fully qualified name.
2134
+ """
2135
+ @typing.overload
2136
+ def set_permission(self, perm: Permission, value: bool) -> None:
2137
+ """
2138
+ Sets a permission to the given value.
2139
+ """
2140
+ @typing.overload
2141
+ def unset_permission(self, name: str) -> None:
2142
+ """
2143
+ Removes the specified permission from this attachment by name.
2144
+ """
2145
+ @typing.overload
2146
+ def unset_permission(self, perm: Permission) -> None:
2147
+ """
2148
+ Removes the specified permission from this attachment.
2149
+ """
2150
+ @property
2151
+ def permissible(self) -> Permissible:
2152
+ """
2153
+ Gets the Permissible that this is attached to.
2154
+ """
2155
+ @property
2156
+ def permissions(self) -> dict[str, bool]:
2157
+ """
2158
+ Gets a copy of all set permissions and values contained within this attachment.
2159
+ """
2160
+ @property
2161
+ def plugin(self) -> Plugin:
2162
+ """
2163
+ Gets the plugin responsible for this attachment.
2164
+ """
2165
+ @property
2166
+ def removal_callback(self) -> typing.Callable[[PermissionAttachment], None]:
2167
+ """
2168
+ The callback to be called when this attachment is removed.
2169
+ """
2170
+ @removal_callback.setter
2171
+ def removal_callback(self, arg1: typing.Callable[[PermissionAttachment], None]) -> None:
2172
+ ...
2173
+ class PermissionAttachmentInfo:
2174
+ """
2175
+ Holds information on a permission and which PermissionAttachment provides it
2176
+ """
2177
+ @staticmethod
2178
+ def _pybind11_conduit_v1_(*args, **kwargs):
2179
+ ...
2180
+ def __init__(self, permissible: Permissible, permission: str, attachment: PermissionAttachment, value: bool) -> None:
2181
+ ...
2182
+ @property
2183
+ def attachment(self) -> PermissionAttachment:
2184
+ """
2185
+ Gets the attachment providing this permission.
2186
+ """
2187
+ @property
2188
+ def permissible(self) -> Permissible:
2189
+ """
2190
+ Get the permissible this is attached to
2191
+ """
2192
+ @property
2193
+ def permission(self) -> str:
2194
+ """
2195
+ Gets the permission being set
2196
+ """
2197
+ @property
2198
+ def value(self) -> bool:
2199
+ """
2200
+ Gets the value of this permission
2201
+ """
2202
+ class PermissionDefault:
2203
+ """
2204
+ Represents the possible default values for permissions
2205
+ """
2206
+ FALSE: typing.ClassVar[PermissionDefault] # value = <PermissionDefault.FALSE: 1>
2207
+ NOT_OP: typing.ClassVar[PermissionDefault] # value = <PermissionDefault.NOT_OP: 3>
2208
+ NOT_OPERATOR: typing.ClassVar[PermissionDefault] # value = <PermissionDefault.NOT_OP: 3>
2209
+ OP: typing.ClassVar[PermissionDefault] # value = <PermissionDefault.OP: 2>
2210
+ OPERATOR: typing.ClassVar[PermissionDefault] # value = <PermissionDefault.OP: 2>
2211
+ TRUE: typing.ClassVar[PermissionDefault] # value = <PermissionDefault.TRUE: 0>
2212
+ __members__: typing.ClassVar[dict[str, PermissionDefault]] # value = {'TRUE': <PermissionDefault.TRUE: 0>, 'FALSE': <PermissionDefault.FALSE: 1>, 'OP': <PermissionDefault.OP: 2>, 'OPERATOR': <PermissionDefault.OP: 2>, 'NOT_OP': <PermissionDefault.NOT_OP: 3>, 'NOT_OPERATOR': <PermissionDefault.NOT_OP: 3>}
2213
+ @staticmethod
2214
+ def _pybind11_conduit_v1_(*args, **kwargs):
2215
+ ...
2216
+ def __eq__(self, other: typing.Any) -> bool:
2217
+ ...
2218
+ def __getstate__(self) -> int:
2219
+ ...
2220
+ def __hash__(self) -> int:
2221
+ ...
2222
+ def __index__(self) -> int:
2223
+ ...
2224
+ def __init__(self, value: int) -> None:
2225
+ ...
2226
+ def __int__(self) -> int:
2227
+ ...
2228
+ def __ne__(self, other: typing.Any) -> bool:
2229
+ ...
2230
+ def __repr__(self) -> str:
2231
+ ...
2232
+ def __setstate__(self, state: int) -> None:
2233
+ ...
2234
+ def __str__(self) -> str:
2235
+ ...
2236
+ @property
2237
+ def name(self) -> str:
2238
+ ...
2239
+ @property
2240
+ def value(self) -> int:
2241
+ ...
2242
+ class Player(Mob, OfflinePlayer):
2243
+ """
2244
+ Represents a player.
2245
+ """
2246
+ @staticmethod
2247
+ def _pybind11_conduit_v1_(*args, **kwargs):
2248
+ ...
2249
+ def close_form(self) -> None:
2250
+ """
2251
+ Closes the forms that are currently open for the player.
2252
+ """
2253
+ def give_exp(self, amount: int) -> None:
2254
+ """
2255
+ Gives the player the amount of experience specified.
2256
+ """
2257
+ def give_exp_levels(self, amount: int) -> None:
2258
+ """
2259
+ Gives the player the amount of experience levels specified.
2260
+ """
2261
+ def kick(self, message: str) -> None:
2262
+ """
2263
+ Kicks player with custom kick message.
2264
+ """
2265
+ def perform_command(self, command: str) -> bool:
2266
+ """
2267
+ Makes the player perform the given command.
2268
+ """
2269
+ def play_sound(self, location: Location, sound: str, volume: float, pitch: float) -> None:
2270
+ """
2271
+ Play a sound for a player at the location.
2272
+ """
2273
+ def reset_title(self) -> None:
2274
+ """
2275
+ Resets the title displayed to the player. This will clear the displayed title / subtitle and reset timings to their default values.
2276
+ """
2277
+ def send_form(self, form: MessageForm | ActionForm | ModalForm) -> None:
2278
+ """
2279
+ Sends a form to the player.
2280
+ """
2281
+ def send_packet(self, packet: Packet) -> None:
2282
+ """
2283
+ Sends a packet to the player.
2284
+ """
2285
+ def send_popup(self, message: str) -> None:
2286
+ """
2287
+ Sends this player a popup message
2288
+ """
2289
+ def send_tip(self, message: str) -> None:
2290
+ """
2291
+ Sends this player a tip message
2292
+ """
2293
+ def send_title(self, title: str, subtitle: str, fade_in: int = 10, stay: int = 70, fade_out: int = 20) -> None:
2294
+ """
2295
+ Sends a title and a subtitle message to the player. If they are empty strings, the display will be updated as such.
2296
+ """
2297
+ def send_toast(self, title: str, content: str) -> None:
2298
+ """
2299
+ Sends this player a toast notification.
2300
+ """
2301
+ @typing.overload
2302
+ def spawn_particle(self, name: str, location: Location, molang_variables_json: str | None = None) -> None:
2303
+ """
2304
+ Spawns the particle at the target location.
2305
+ """
2306
+ @typing.overload
2307
+ def spawn_particle(self, name: str, x: float, y: float, z: float, molang_variables_json: str | None = None) -> None:
2308
+ """
2309
+ Spawns the particle at the target location.
2310
+ """
2311
+ def stop_all_sounds(self) -> None:
2312
+ """
2313
+ Stop all sounds from playing.
2314
+ """
2315
+ def stop_sound(self, sound: str) -> None:
2316
+ """
2317
+ Stop the specified sound from playing.
2318
+ """
2319
+ def transfer(self, host: str, port: int = 19132) -> None:
2320
+ """
2321
+ Transfers the player to another server.
2322
+ """
2323
+ def update_commands(self) -> None:
2324
+ """
2325
+ Send the list of commands to the client.
2326
+ """
2327
+ @property
2328
+ def address(self) -> SocketAddress:
2329
+ """
2330
+ Gets the socket address of this player
2331
+ """
2332
+ @property
2333
+ def allow_flight(self) -> bool:
2334
+ """
2335
+ If the Player is allowed to fly via jump key double-tap.
2336
+ """
2337
+ @allow_flight.setter
2338
+ def allow_flight(self, arg1: bool) -> None:
2339
+ ...
2340
+ @property
2341
+ def device_id(self) -> str:
2342
+ """
2343
+ Get the player's current device id.
2344
+ """
2345
+ @property
2346
+ def device_os(self) -> str:
2347
+ """
2348
+ Get the player's current device's operation system (OS).
2349
+ """
2350
+ @property
2351
+ def exp_level(self) -> int:
2352
+ """
2353
+ Gets or sets the players current experience level.
2354
+ """
2355
+ @exp_level.setter
2356
+ def exp_level(self, arg1: int) -> None:
2357
+ ...
2358
+ @property
2359
+ def exp_progress(self) -> float:
2360
+ """
2361
+ Gets or sets the players current experience progress towards the next level.
2362
+ """
2363
+ @exp_progress.setter
2364
+ def exp_progress(self, arg1: float) -> None:
2365
+ ...
2366
+ @property
2367
+ def fly_speed(self) -> float:
2368
+ """
2369
+ Gets or sets the current allowed speed that a client can fly.
2370
+ """
2371
+ @fly_speed.setter
2372
+ def fly_speed(self, arg1: float) -> None:
2373
+ ...
2374
+ @property
2375
+ def game_mode(self) -> GameMode:
2376
+ """
2377
+ The player's current game mode.
2378
+ """
2379
+ @game_mode.setter
2380
+ def game_mode(self, arg1: GameMode) -> None:
2381
+ ...
2382
+ @property
2383
+ def game_version(self) -> str:
2384
+ """
2385
+ Get the player's current game version.
2386
+ """
2387
+ @property
2388
+ def inventory(self) -> PlayerInventory:
2389
+ """
2390
+ Get the player's inventory.
2391
+ """
2392
+ @property
2393
+ def is_flying(self) -> bool:
2394
+ """
2395
+ If the player is currently flying or not.
2396
+ """
2397
+ @is_flying.setter
2398
+ def is_flying(self, arg1: bool) -> None:
2399
+ ...
2400
+ @property
2401
+ def is_sneaking(self) -> bool:
2402
+ """
2403
+ Gets or sets the sneak mode of the player
2404
+ """
2405
+ @is_sneaking.setter
2406
+ def is_sneaking(self, arg1: bool) -> None:
2407
+ ...
2408
+ @property
2409
+ def is_sprinting(self) -> bool:
2410
+ """
2411
+ Gets or sets whether the player is sprinting or not.
2412
+ """
2413
+ @is_sprinting.setter
2414
+ def is_sprinting(self, arg1: bool) -> None:
2415
+ ...
2416
+ @property
2417
+ def locale(self) -> str:
2418
+ """
2419
+ Get the player's current locale.
2420
+ """
2421
+ @property
2422
+ def name(self) -> str:
2423
+ """
2424
+ Returns the name of this player
2425
+ """
2426
+ @property
2427
+ def ping(self) -> int:
2428
+ """
2429
+ Gets the player's average ping in milliseconds.
2430
+ """
2431
+ @property
2432
+ def scoreboard(self) -> Scoreboard:
2433
+ """
2434
+ Gets or sets the player's visible Scoreboard.
2435
+ """
2436
+ @scoreboard.setter
2437
+ def scoreboard(self, arg1: Scoreboard) -> None:
2438
+ ...
2439
+ @property
2440
+ def skin(self) -> Skin:
2441
+ """
2442
+ Get the player's skin.
2443
+ """
2444
+ @property
2445
+ def total_exp(self) -> int:
2446
+ """
2447
+ Gets the players total experience points.
2448
+ """
2449
+ @property
2450
+ def unique_id(self) -> uuid.UUID:
2451
+ """
2452
+ Returns the UUID of this player
2453
+ """
2454
+ @property
2455
+ def walk_speed(self) -> float:
2456
+ """
2457
+ Gets or sets the current allowed speed that a client can walk.
2458
+ """
2459
+ @walk_speed.setter
2460
+ def walk_speed(self, arg1: float) -> None:
2461
+ ...
2462
+ @property
2463
+ def xuid(self) -> str:
2464
+ """
2465
+ Returns the Xbox User ID (XUID) of this player
2466
+ """
2467
+ class PlayerBanEntry(BanEntry):
2468
+ """
2469
+ Represents a ban entry for a player.
2470
+ """
2471
+ @staticmethod
2472
+ def _pybind11_conduit_v1_(*args, **kwargs):
2473
+ ...
2474
+ def __init__(self, name: str, uuid: uuid.UUID | None = None, xuid: str | None = None) -> None:
2475
+ ...
2476
+ @property
2477
+ def name(self) -> str:
2478
+ """
2479
+ Gets the banned player's name.
2480
+ """
2481
+ @property
2482
+ def unique_id(self) -> uuid.UUID | None:
2483
+ """
2484
+ Gets the banned player's unique ID, or None if not available.
2485
+ """
2486
+ @property
2487
+ def xuid(self) -> str | None:
2488
+ """
2489
+ Gets the banned player's Xbox user ID (XUID), or None if not available.
2490
+ """
2491
+ class PlayerBanList:
2492
+ """
2493
+ Represents a ban list containing banned players.
2494
+ """
2495
+ @staticmethod
2496
+ def _pybind11_conduit_v1_(*args, **kwargs):
2497
+ ...
2498
+ def add_ban(self, name: str, uuid: uuid.UUID | None = None, xuid: str | None = None, reason: str | None = None, expires: datetime.datetime | None = None, source: str | None = None) -> PlayerBanEntry:
2499
+ """
2500
+ Adds a ban to this list, or updates an existing one.
2501
+ """
2502
+ def get_ban_entry(self, name: str, uuid: uuid.UUID | None = None, xuid: str | None = None) -> PlayerBanEntry:
2503
+ """
2504
+ Gets a BanEntry by player name, UUID, or XUID.
2505
+ """
2506
+ def is_banned(self, name: str, uuid: uuid.UUID | None = None, xuid: str | None = None) -> bool:
2507
+ """
2508
+ Checks if a BanEntry exists for the target by name, UUID, or XUID.
2509
+ """
2510
+ def remove_ban(self, name: str, uuid: uuid.UUID | None = None, xuid: str | None = None) -> None:
2511
+ """
2512
+ Removes a player from the ban list by name, UUID, or XUID.
2513
+ """
2514
+ @property
2515
+ def entries(self) -> list[PlayerBanEntry]:
2516
+ """
2517
+ Gets a vector of pointers to entries in the ban list.
2518
+ """
2519
+ class PlayerChatEvent(PlayerEvent, Cancellable):
2520
+ """
2521
+ Called when a player sends a chat message.
2522
+ """
2523
+ @staticmethod
2524
+ def _pybind11_conduit_v1_(*args, **kwargs):
2525
+ ...
2526
+ @property
2527
+ def message(self) -> str:
2528
+ """
2529
+ Gets or sets the message that the player will send.
2530
+ """
2531
+ @message.setter
2532
+ def message(self, arg1: str) -> None:
2533
+ ...
2534
+ class PlayerCommandEvent(PlayerEvent, Cancellable):
2535
+ """
2536
+ Called whenever a player runs a command.
2537
+ """
2538
+ @staticmethod
2539
+ def _pybind11_conduit_v1_(*args, **kwargs):
2540
+ ...
2541
+ @property
2542
+ def command(self) -> str:
2543
+ """
2544
+ Gets or sets the command that the player will send.
2545
+ """
2546
+ @command.setter
2547
+ def command(self, arg1: str) -> None:
2548
+ ...
2549
+ class PlayerDeathEvent(ActorDeathEvent, PlayerEvent):
2550
+ """
2551
+ Called when a player dies
2552
+ """
2553
+ @staticmethod
2554
+ def _pybind11_conduit_v1_(*args, **kwargs):
2555
+ ...
2556
+ @property
2557
+ def death_message(self) -> str:
2558
+ """
2559
+ Gets or sets the death message that will appear to everyone on the server.
2560
+ """
2561
+ @death_message.setter
2562
+ def death_message(self, arg1: str) -> None:
2563
+ ...
2564
+ class PlayerEmoteEvent(PlayerEvent):
2565
+ """
2566
+ Called when a player uses and emote
2567
+ """
2568
+ @staticmethod
2569
+ def _pybind11_conduit_v1_(*args, **kwargs):
2570
+ ...
2571
+ @property
2572
+ def emote_id(self) -> str:
2573
+ """
2574
+ Gets the emote ID
2575
+ """
2576
+ class PlayerEvent(Event):
2577
+ """
2578
+ Represents a player related event
2579
+ """
2580
+ @staticmethod
2581
+ def _pybind11_conduit_v1_(*args, **kwargs):
2582
+ ...
2583
+ @property
2584
+ def player(self) -> Player:
2585
+ """
2586
+ Returns the player involved in this event.
2587
+ """
2588
+ class PlayerGameModeChangeEvent(PlayerEvent, Cancellable):
2589
+ """
2590
+ Called when the GameMode of the player is changed.
2591
+ """
2592
+ @staticmethod
2593
+ def _pybind11_conduit_v1_(*args, **kwargs):
2594
+ ...
2595
+ @property
2596
+ def new_game_mode(self) -> GameMode:
2597
+ """
2598
+ Gets the GameMode the player is switched to.
2599
+ """
2600
+ class PlayerInteractActorEvent(PlayerEvent, Cancellable):
2601
+ """
2602
+ Represents an event that is called when a player right-clicks an actor.
2603
+ """
2604
+ @staticmethod
2605
+ def _pybind11_conduit_v1_(*args, **kwargs):
2606
+ ...
2607
+ @property
2608
+ def actor(self) -> Actor:
2609
+ """
2610
+ Gets the actor that was right-clicked by the player.
2611
+ """
2612
+ class PlayerInteractEvent(PlayerEvent, Cancellable):
2613
+ """
2614
+ Represents an event that is called when a player right-clicks a block.
2615
+ """
2616
+ @staticmethod
2617
+ def _pybind11_conduit_v1_(*args, **kwargs):
2618
+ ...
2619
+ @property
2620
+ def block(self) -> Block:
2621
+ """
2622
+ Returns the clicked block
2623
+ """
2624
+ @property
2625
+ def block_face(self) -> BlockFace:
2626
+ """
2627
+ Returns the face of the block that was clicked
2628
+ """
2629
+ @property
2630
+ def clicked_position(self) -> Vector:
2631
+ """
2632
+ Gets the exact position on the block the player interacted with.
2633
+ """
2634
+ @property
2635
+ def has_block(self) -> bool:
2636
+ """
2637
+ Check if this event involved a block
2638
+ """
2639
+ @property
2640
+ def has_item(self) -> bool:
2641
+ """
2642
+ Check if this event involved an item
2643
+ """
2644
+ @property
2645
+ def item(self) -> ItemStack:
2646
+ """
2647
+ Returns the item in hand represented by this event
2648
+ """
2649
+ class PlayerInventory(Inventory):
2650
+ """
2651
+ Interface to the inventory of a Player, including the four armor slots and any extra slots.
2652
+ """
2653
+ @staticmethod
2654
+ def _pybind11_conduit_v1_(*args, **kwargs):
2655
+ ...
2656
+ class PlayerJoinEvent(PlayerEvent):
2657
+ """
2658
+ Called when a player joins a server
2659
+ """
2660
+ @staticmethod
2661
+ def _pybind11_conduit_v1_(*args, **kwargs):
2662
+ ...
2663
+ @property
2664
+ def join_message(self) -> str:
2665
+ """
2666
+ Gets or sets the join message to send to all online players.
2667
+ """
2668
+ @join_message.setter
2669
+ def join_message(self, arg1: str) -> None:
2670
+ ...
2671
+ class PlayerKickEvent(PlayerEvent, Cancellable):
2672
+ """
2673
+ Called when a player gets kicked from the server
2674
+ """
2675
+ @staticmethod
2676
+ def _pybind11_conduit_v1_(*args, **kwargs):
2677
+ ...
2678
+ @property
2679
+ def reason(self) -> str:
2680
+ """
2681
+ Gets or sets the reason why the player is getting kicked
2682
+ """
2683
+ @reason.setter
2684
+ def reason(self, arg1: str) -> None:
2685
+ ...
2686
+ class PlayerLoginEvent(PlayerEvent, Cancellable):
2687
+ """
2688
+ Called when a player attempts to login in.
2689
+ """
2690
+ @staticmethod
2691
+ def _pybind11_conduit_v1_(*args, **kwargs):
2692
+ ...
2693
+ @property
2694
+ def kick_message(self) -> str:
2695
+ """
2696
+ Gets or sets kick message to display if event is cancelled
2697
+ """
2698
+ @kick_message.setter
2699
+ def kick_message(self, arg1: str) -> None:
2700
+ ...
2701
+ class PlayerQuitEvent(PlayerEvent):
2702
+ """
2703
+ Called when a player leaves a server.
2704
+ """
2705
+ @staticmethod
2706
+ def _pybind11_conduit_v1_(*args, **kwargs):
2707
+ ...
2708
+ @property
2709
+ def quit_message(self) -> str:
2710
+ """
2711
+ Gets or sets the quit message to send to all online players.
2712
+ """
2713
+ @quit_message.setter
2714
+ def quit_message(self, arg1: str) -> None:
2715
+ ...
2716
+ class PlayerRespawnEvent(PlayerEvent):
2717
+ """
2718
+ Called when a player respawns.
2719
+ """
2720
+ @staticmethod
2721
+ def _pybind11_conduit_v1_(*args, **kwargs):
2722
+ ...
2723
+ class PlayerTeleportEvent(PlayerEvent, Cancellable):
2724
+ """
2725
+ Called when a player is teleported from one location to another.
2726
+ """
2727
+ @staticmethod
2728
+ def _pybind11_conduit_v1_(*args, **kwargs):
2729
+ ...
2730
+ @property
2731
+ def from_location(self) -> Location:
2732
+ """
2733
+ Gets or sets the location that this player moved from.
2734
+ """
2735
+ @from_location.setter
2736
+ def from_location(self, arg1: Location) -> None:
2737
+ ...
2738
+ @property
2739
+ def to_location(self) -> Location:
2740
+ """
2741
+ Gets or sets the location that this player moved to.
2742
+ """
2743
+ @to_location.setter
2744
+ def to_location(self, arg1: Location) -> None:
2745
+ ...
2746
+ class Plugin(CommandExecutor):
2747
+ """
2748
+ Represents a Plugin
2749
+ """
2750
+ @staticmethod
2751
+ def _pybind11_conduit_v1_(*args, **kwargs):
2752
+ ...
2753
+ def __init__(self) -> None:
2754
+ ...
2755
+ def _get_description(self) -> PluginDescription:
2756
+ ...
2757
+ def get_command(self, name: str) -> PluginCommand:
2758
+ """
2759
+ Gets the command with the given name, specific to this plugin.
2760
+ """
2761
+ def on_disable(self) -> None:
2762
+ """
2763
+ Called when this plugin is disabled
2764
+ """
2765
+ def on_enable(self) -> None:
2766
+ """
2767
+ Called when this plugin is enabled
2768
+ """
2769
+ def on_load(self) -> None:
2770
+ """
2771
+ Called after a plugin is loaded but before it has been enabled.
2772
+ """
2773
+ @property
2774
+ def data_folder(self) -> os.PathLike:
2775
+ """
2776
+ Returns the folder that the plugin data's files are located in.
2777
+ """
2778
+ @property
2779
+ def is_enabled(self) -> bool:
2780
+ """
2781
+ Returns a value indicating whether this plugin is currently enabled
2782
+ """
2783
+ @property
2784
+ def logger(self) -> Logger:
2785
+ """
2786
+ Returns the plugin logger associated with this server's logger.
2787
+ """
2788
+ @property
2789
+ def name(self) -> str:
2790
+ """
2791
+ Returns the name of the plugin.
2792
+ """
2793
+ @property
2794
+ def plugin_loader(self) -> PluginLoader:
2795
+ """
2796
+ Gets the associated PluginLoader responsible for this plugin
2797
+ """
2798
+ @property
2799
+ def server(self) -> Server:
2800
+ """
2801
+ Returns the Server instance currently running this plugin
2802
+ """
2803
+ class PluginCommand(Command):
2804
+ """
2805
+ Represents a Command belonging to a Plugin
2806
+ """
2807
+ @staticmethod
2808
+ def _pybind11_conduit_v1_(*args, **kwargs):
2809
+ ...
2810
+ @property
2811
+ def executor(self) -> CommandExecutor:
2812
+ """
2813
+ The CommandExecutor to run when parsing this command
2814
+ """
2815
+ @executor.setter
2816
+ def executor(self, arg1: CommandExecutor) -> None:
2817
+ ...
2818
+ @property
2819
+ def plugin(self) -> Plugin:
2820
+ """
2821
+ The owner of this PluginCommand
2822
+ """
2823
+ class PluginDescription:
2824
+ """
2825
+ Represents the basic information about a plugin that the plugin loader needs to know.
2826
+ """
2827
+ @staticmethod
2828
+ def _pybind11_conduit_v1_(*args, **kwargs):
2829
+ ...
2830
+ def __init__(self, name: str, version: str, description: str | None = None, load: PluginLoadOrder | None = None, authors: list[str] | None = None, contributors: list[str] | None = None, website: str | None = None, prefix: str | None = None, provides: list[str] | None = None, depend: list[str] | None = None, soft_depend: list[str] | None = None, load_before: list[str] | None = None, default_permission: PermissionDefault | None = None, commands: list[Command] | None = None, permissions: list[Permission] | None = None, *args, **kwargs) -> None:
2831
+ ...
2832
+ @property
2833
+ def api_version(self) -> str:
2834
+ """
2835
+ Gives the API version which this plugin is designed to support.
2836
+ """
2837
+ @property
2838
+ def authors(self) -> list[str]:
2839
+ """
2840
+ Gives the list of authors for the plugin.
2841
+ """
2842
+ @property
2843
+ def commands(self) -> list[Command]:
2844
+ """
2845
+ Gives the list of commands the plugin will register at runtime.
2846
+ """
2847
+ @property
2848
+ def contributors(self) -> list[str]:
2849
+ """
2850
+ Gives the list of contributors for the plugin.
2851
+ """
2852
+ @property
2853
+ def default_permission(self) -> PermissionDefault:
2854
+ """
2855
+ Gives the default value of permissions registered for the plugin.
2856
+ """
2857
+ @property
2858
+ def depend(self) -> list[str]:
2859
+ """
2860
+ Gives a list of other plugins that the plugin requires.
2861
+ """
2862
+ @property
2863
+ def description(self) -> str:
2864
+ """
2865
+ Gives a human-friendly description of the functionality the plugin provides.
2866
+ """
2867
+ @property
2868
+ def full_name(self) -> str:
2869
+ """
2870
+ Returns the name of a plugin, including the version.
2871
+ """
2872
+ @property
2873
+ def load(self) -> PluginLoadOrder:
2874
+ """
2875
+ Gives the phase of server startup that the plugin should be loaded.
2876
+ """
2877
+ @property
2878
+ def load_before(self) -> list[str]:
2879
+ """
2880
+ Gets the list of plugins that should consider this plugin a soft-dependency.
2881
+ """
2882
+ @property
2883
+ def name(self) -> str:
2884
+ """
2885
+ Gives the name of the plugin. This name is a unique identifier for plugins.
2886
+ """
2887
+ @property
2888
+ def permissions(self) -> list[Permission]:
2889
+ """
2890
+ Gives the list of permissions the plugin will register at runtime, immediately proceeding enabling.
2891
+ """
2892
+ @property
2893
+ def prefix(self) -> str:
2894
+ """
2895
+ Gives the token to prefix plugin-specific logging messages with.
2896
+ """
2897
+ @property
2898
+ def provides(self) -> list[str]:
2899
+ """
2900
+ Gives the list of other plugin APIs which this plugin provides. These are usable for other plugins to depend on.
2901
+ """
2902
+ @property
2903
+ def soft_depend(self) -> list[str]:
2904
+ """
2905
+ Gives a list of other plugins that the plugin requires for full functionality.
2906
+ """
2907
+ @property
2908
+ def version(self) -> str:
2909
+ """
2910
+ Gives the version of the plugin.
2911
+ """
2912
+ @property
2913
+ def website(self) -> str:
2914
+ """
2915
+ Gives the plugin's or plugin's author's website.
2916
+ """
2917
+ class PluginDisableEvent(ServerEvent):
2918
+ """
2919
+ Called when a plugin is disabled.
2920
+ """
2921
+ @staticmethod
2922
+ def _pybind11_conduit_v1_(*args, **kwargs):
2923
+ ...
2924
+ @property
2925
+ def plugin(self) -> Plugin:
2926
+ ...
2927
+ class PluginEnableEvent(ServerEvent):
2928
+ """
2929
+ Called when a plugin is enabled.
2930
+ """
2931
+ @staticmethod
2932
+ def _pybind11_conduit_v1_(*args, **kwargs):
2933
+ ...
2934
+ @property
2935
+ def plugin(self) -> Plugin:
2936
+ ...
2937
+ class PluginLoadOrder:
2938
+ """
2939
+ Represents the order in which a plugin should be initialized and enabled.
2940
+ """
2941
+ POSTWORLD: typing.ClassVar[PluginLoadOrder] # value = <PluginLoadOrder.POSTWORLD: 1>
2942
+ STARTUP: typing.ClassVar[PluginLoadOrder] # value = <PluginLoadOrder.STARTUP: 0>
2943
+ __members__: typing.ClassVar[dict[str, PluginLoadOrder]] # value = {'STARTUP': <PluginLoadOrder.STARTUP: 0>, 'POSTWORLD': <PluginLoadOrder.POSTWORLD: 1>}
2944
+ @staticmethod
2945
+ def _pybind11_conduit_v1_(*args, **kwargs):
2946
+ ...
2947
+ def __eq__(self, other: typing.Any) -> bool:
2948
+ ...
2949
+ def __getstate__(self) -> int:
2950
+ ...
2951
+ def __hash__(self) -> int:
2952
+ ...
2953
+ def __index__(self) -> int:
2954
+ ...
2955
+ def __init__(self, value: int) -> None:
2956
+ ...
2957
+ def __int__(self) -> int:
2958
+ ...
2959
+ def __ne__(self, other: typing.Any) -> bool:
2960
+ ...
2961
+ def __repr__(self) -> str:
2962
+ ...
2963
+ def __setstate__(self, state: int) -> None:
2964
+ ...
2965
+ def __str__(self) -> str:
2966
+ ...
2967
+ @property
2968
+ def name(self) -> str:
2969
+ ...
2970
+ @property
2971
+ def value(self) -> int:
2972
+ ...
2973
+ class PluginLoader:
2974
+ """
2975
+ Represents a plugin loader, which handles direct access to specific types of plugins
2976
+ """
2977
+ @staticmethod
2978
+ def _pybind11_conduit_v1_(*args, **kwargs):
2979
+ ...
2980
+ def __init__(self, server: Server) -> None:
2981
+ ...
2982
+ def disable_plugin(self, plugin: Plugin) -> None:
2983
+ """
2984
+ Disables the specified plugin
2985
+ """
2986
+ def enable_plugin(self, plugin: Plugin) -> None:
2987
+ """
2988
+ Enables the specified plugin
2989
+ """
2990
+ def load_plugin(self, file: str) -> Plugin:
2991
+ """
2992
+ Loads the plugin contained in the specified file
2993
+ """
2994
+ def load_plugins(self, directory: str) -> list[Plugin]:
2995
+ """
2996
+ Loads the plugin contained within the specified directory
2997
+ """
2998
+ @property
2999
+ def plugin_file_filters(self) -> list[str]:
3000
+ """
3001
+ Returns a list of all filename filters expected by this PluginLoader
3002
+ """
3003
+ @property
3004
+ def server(self) -> Server:
3005
+ """
3006
+ Retrieves the Server object associated with the PluginLoader.
3007
+ """
3008
+ class PluginManager:
3009
+ """
3010
+ Represents a plugin manager that handles all plugins from the Server
3011
+ """
3012
+ @staticmethod
3013
+ def _pybind11_conduit_v1_(*args, **kwargs):
3014
+ ...
3015
+ def call_event(self, event: Event) -> None:
3016
+ """
3017
+ Calls an event which will be passed to plugins.
3018
+ """
3019
+ def clear_plugins(self) -> None:
3020
+ """
3021
+ Disables and removes all plugins
3022
+ """
3023
+ def disable_plugin(self, plugin: Plugin) -> None:
3024
+ """
3025
+ Disables the specified plugin
3026
+ """
3027
+ def disable_plugins(self) -> None:
3028
+ """
3029
+ Disables all the loaded plugins
3030
+ """
3031
+ def enable_plugin(self, plugin: Plugin) -> None:
3032
+ """
3033
+ Enables the specified plugin
3034
+ """
3035
+ def enable_plugins(self) -> None:
3036
+ """
3037
+ Enable all the loaded plugins
3038
+ """
3039
+ def get_default_perm_subscriptions(self, op: bool) -> set[Permissible]:
3040
+ """
3041
+ Gets a set containing all subscribed Permissibles to the given default list, by op status.
3042
+ """
3043
+ def get_default_permissions(self, op: bool) -> set[Permission]:
3044
+ """
3045
+ Gets the default permissions for the given op status.
3046
+ """
3047
+ def get_permission(self, name: str) -> Permission:
3048
+ """
3049
+ Gets a Permission from its fully qualified name.
3050
+ """
3051
+ def get_permission_subscriptions(self, permission: str) -> set[Permissible]:
3052
+ """
3053
+ Gets a set containing all subscribed Permissibles to the given permission.
3054
+ """
3055
+ def get_plugin(self, name: str) -> Plugin:
3056
+ """
3057
+ Checks if the given plugin is loaded and returns it when applicable.
3058
+ """
3059
+ @typing.overload
3060
+ def is_plugin_enabled(self, plugin: str) -> bool:
3061
+ """
3062
+ Checks if the given plugin is enabled or not
3063
+ """
3064
+ @typing.overload
3065
+ def is_plugin_enabled(self, plugin: Plugin) -> bool:
3066
+ """
3067
+ Checks if the given plugin is enabled or not
3068
+ """
3069
+ def load_plugin(self, file: str) -> Plugin:
3070
+ """
3071
+ Loads the plugin in the specified file
3072
+ """
3073
+ @typing.overload
3074
+ def load_plugins(self, directory: str) -> list[Plugin]:
3075
+ """
3076
+ Loads the plugin contained within the specified directory
3077
+ """
3078
+ @typing.overload
3079
+ def load_plugins(self, files: list[str]) -> list[Plugin]:
3080
+ """
3081
+ Loads the plugins in the list of the files
3082
+ """
3083
+ def recalculate_permission_defaults(self, perm: Permission) -> None:
3084
+ """
3085
+ Recalculates the defaults for the given Permission.
3086
+ """
3087
+ def register_event(self, name: str, executor: typing.Callable[[Event], None], priority: EventPriority, plugin: Plugin, ignore_cancelled: bool) -> None:
3088
+ """
3089
+ Registers the given event
3090
+ """
3091
+ @typing.overload
3092
+ def remove_permission(self, perm: Permission) -> None:
3093
+ """
3094
+ Removes a Permission registration from this plugin manager by permission object.
3095
+ """
3096
+ @typing.overload
3097
+ def remove_permission(self, name: str) -> None:
3098
+ """
3099
+ Removes a Permission registration from this plugin manager by name.
3100
+ """
3101
+ def subscribe_to_default_perms(self, op: bool, permissible: Permissible) -> None:
3102
+ """
3103
+ Subscribes to the given Default permissions by operator status.
3104
+ """
3105
+ def subscribe_to_permission(self, permission: str, permissible: Permissible) -> None:
3106
+ """
3107
+ Subscribes the given Permissible for information about the requested Permission.
3108
+ """
3109
+ def unsubscribe_from_default_perms(self, op: bool, permissible: Permissible) -> None:
3110
+ """
3111
+ Unsubscribes from the given Default permissions by operator status.
3112
+ """
3113
+ def unsubscribe_from_permission(self, permission: str, permissible: Permissible) -> None:
3114
+ """
3115
+ Unsubscribes the given Permissible for information about the requested Permission.
3116
+ """
3117
+ @property
3118
+ def permissions(self) -> set[Permission]:
3119
+ """
3120
+ Gets a set of all registered permissions.
3121
+ """
3122
+ @property
3123
+ def plugins(self) -> list[Plugin]:
3124
+ """
3125
+ Gets a list of all currently loaded plugins
3126
+ """
3127
+ class Position(Vector):
3128
+ """
3129
+ Represents a 3-dimensional position in a dimension within a level.
3130
+ """
3131
+ @staticmethod
3132
+ def _pybind11_conduit_v1_(*args, **kwargs):
3133
+ ...
3134
+ def __init__(self, dimension: Dimension, x: float, y: float, z: float) -> None:
3135
+ ...
3136
+ def __repr__(self) -> str:
3137
+ ...
3138
+ def __str__(self) -> str:
3139
+ ...
3140
+ @property
3141
+ def block_x(self) -> int:
3142
+ """
3143
+ Gets the floored value of the X component, indicating the block that this location is contained with.
3144
+ """
3145
+ @property
3146
+ def block_y(self) -> int:
3147
+ """
3148
+ Gets the floored value of the Y component, indicating the block that this location is contained with.
3149
+ """
3150
+ @property
3151
+ def block_z(self) -> int:
3152
+ """
3153
+ Gets the floored value of the Z component, indicating the block that this location is contained with.
3154
+ """
3155
+ @property
3156
+ def dimension(self) -> Dimension:
3157
+ """
3158
+ The Dimension that contains this position
3159
+ """
3160
+ @dimension.setter
3161
+ def dimension(self, arg1: Dimension) -> None:
3162
+ ...
3163
+ class ProxiedCommandSender(CommandSender):
3164
+ """
3165
+ Represents a proxied command sender.
3166
+ """
3167
+ @staticmethod
3168
+ def _pybind11_conduit_v1_(*args, **kwargs):
3169
+ ...
3170
+ @property
3171
+ def callee(self) -> CommandSender:
3172
+ """
3173
+ Returns the CommandSender which is being used to call the command.
3174
+ """
3175
+ @property
3176
+ def caller(self) -> CommandSender:
3177
+ """
3178
+ Returns the CommandSender which triggered this proxied command.
3179
+ """
3180
+ class RenderType:
3181
+ """
3182
+ Controls the way in which an Objective is rendered on the client side.
3183
+ """
3184
+ INTEGER: typing.ClassVar[RenderType] # value = <RenderType.INTEGER: 0>
3185
+ __members__: typing.ClassVar[dict[str, RenderType]] # value = {'INTEGER': <RenderType.INTEGER: 0>}
3186
+ @staticmethod
3187
+ def _pybind11_conduit_v1_(*args, **kwargs):
3188
+ ...
3189
+ def __eq__(self, other: typing.Any) -> bool:
3190
+ ...
3191
+ def __getstate__(self) -> int:
3192
+ ...
3193
+ def __hash__(self) -> int:
3194
+ ...
3195
+ def __index__(self) -> int:
3196
+ ...
3197
+ def __init__(self, value: int) -> None:
3198
+ ...
3199
+ def __int__(self) -> int:
3200
+ ...
3201
+ def __ne__(self, other: typing.Any) -> bool:
3202
+ ...
3203
+ def __repr__(self) -> str:
3204
+ ...
3205
+ def __setstate__(self, state: int) -> None:
3206
+ ...
3207
+ def __str__(self) -> str:
3208
+ ...
3209
+ @property
3210
+ def name(self) -> str:
3211
+ ...
3212
+ @property
3213
+ def value(self) -> int:
3214
+ ...
3215
+ class Scheduler:
3216
+ """
3217
+ Represents a scheduler that executes various tasks
3218
+ """
3219
+ @staticmethod
3220
+ def _pybind11_conduit_v1_(*args, **kwargs):
3221
+ ...
3222
+ def cancel_task(self, id: int) -> None:
3223
+ """
3224
+ Removes task from scheduler.
3225
+ """
3226
+ def cancel_tasks(self, plugin: Plugin) -> None:
3227
+ """
3228
+ Removes all tasks associated with a particular plugin from the scheduler.
3229
+ """
3230
+ def get_pending_tasks(self) -> list[Task]:
3231
+ """
3232
+ Returns a vector of all pending tasks.
3233
+ """
3234
+ def is_queued(self, id: int) -> bool:
3235
+ """
3236
+ Check if the task queued to be run later.
3237
+ """
3238
+ def is_running(self, id: int) -> bool:
3239
+ """
3240
+ Check if the task currently running.
3241
+ """
3242
+ def run_task(self, plugin: Plugin, task: typing.Callable[[], None], delay: int = 0, period: int = 0) -> Task:
3243
+ """
3244
+ Returns a task that will be executed synchronously
3245
+ """
3246
+ class Score:
3247
+ """
3248
+ Represents a score for an objective on a scoreboard.
3249
+ """
3250
+ @staticmethod
3251
+ def _pybind11_conduit_v1_(*args, **kwargs):
3252
+ ...
3253
+ @property
3254
+ def entry(self) -> Player | Actor | str:
3255
+ """
3256
+ Gets the entry being tracked by this Score
3257
+ """
3258
+ @property
3259
+ def is_score_set(self) -> bool:
3260
+ """
3261
+ Shows if this score has been set at any point in time.
3262
+ """
3263
+ @property
3264
+ def objective(self) -> Objective:
3265
+ """
3266
+ Gets the Objective being tracked by this Score.
3267
+ """
3268
+ @property
3269
+ def scoreboard(self) -> Scoreboard:
3270
+ """
3271
+ Gets the scoreboard for the associated objective.
3272
+ """
3273
+ @property
3274
+ def value(self) -> int:
3275
+ """
3276
+ Gets or sets the current score.
3277
+ """
3278
+ @value.setter
3279
+ def value(self, arg1: int) -> None:
3280
+ ...
3281
+ class Scoreboard:
3282
+ """
3283
+ Represents a scoreboard
3284
+ """
3285
+ @staticmethod
3286
+ def _pybind11_conduit_v1_(*args, **kwargs):
3287
+ ...
3288
+ def add_objective(self, name: str, criteria: Criteria.Type, display_name: str | None = None, render_type: RenderType = RenderType.INTEGER) -> Objective:
3289
+ """
3290
+ Registers an Objective on this Scoreboard with a name displayed to players
3291
+ """
3292
+ def clear_slot(self, slot: DisplaySlot) -> None:
3293
+ """
3294
+ Clears any objective in the specified slot
3295
+ """
3296
+ @typing.overload
3297
+ def get_objective(self, name: str) -> Objective:
3298
+ """
3299
+ Gets an Objective on this Scoreboard by name
3300
+ """
3301
+ @typing.overload
3302
+ def get_objective(self, slot: DisplaySlot) -> Objective:
3303
+ """
3304
+ Gets the Objective currently displayed in a DisplaySlot on this Scoreboard
3305
+ """
3306
+ def get_objectives_by_criteria(self, criteria: Criteria.Type) -> list[Objective]:
3307
+ """
3308
+ Gets all Objectives of a Criteria on the Scoreboard
3309
+ """
3310
+ def get_scores(self, entry: Player | Actor | str) -> list[Score]:
3311
+ """
3312
+ Gets all scores for an entry on this Scoreboard
3313
+ """
3314
+ def reset_scores(self, entry: Player | Actor | str) -> None:
3315
+ """
3316
+ Removes all scores for an entry on this Scoreboard
3317
+ """
3318
+ @property
3319
+ def entries(self) -> list[Player | Actor | str]:
3320
+ """
3321
+ Gets all entries tracked by this Scoreboard
3322
+ """
3323
+ @property
3324
+ def objectives(self) -> list[Objective]:
3325
+ """
3326
+ Gets all Objectives on this Scoreboard
3327
+ """
3328
+ class ScriptMessageEvent(ServerEvent, Cancellable):
3329
+ """
3330
+ Called when a message is sent by `/scriptevent` command
3331
+ """
3332
+ @staticmethod
3333
+ def _pybind11_conduit_v1_(*args, **kwargs):
3334
+ ...
3335
+ @property
3336
+ def message(self) -> str:
3337
+ """
3338
+ Get the message to send.
3339
+ """
3340
+ @property
3341
+ def message_id(self) -> str:
3342
+ """
3343
+ Get the message id to send.
3344
+ """
3345
+ @property
3346
+ def sender(self) -> CommandSender:
3347
+ """
3348
+ Gets the command sender who initiated the command.
3349
+ """
3350
+ class Server:
3351
+ """
3352
+ Represents a server implementation.
3353
+ """
3354
+ @staticmethod
3355
+ def _pybind11_conduit_v1_(*args, **kwargs):
3356
+ ...
3357
+ def broadcast(self, message: str | Translatable, permission: str) -> None:
3358
+ """
3359
+ Broadcasts the specified message to every user with the given permission name.
3360
+ """
3361
+ def broadcast_message(self, message: str | Translatable) -> None:
3362
+ """
3363
+ Broadcasts the specified message to every user with permission endstone.broadcast.user
3364
+ """
3365
+ def create_block_data(self, type: str, block_states: dict[str, bool | str | int] | None = None) -> BlockData:
3366
+ """
3367
+ Creates a new BlockData instance for the specified block type, with all properties initialized to defaults, except for those provided.
3368
+ """
3369
+ def create_boss_bar(self, title: str, color: BarColor, style: BarStyle, flags: list[BarFlag] | None = None) -> BossBar:
3370
+ """
3371
+ Creates a boss bar instance to display to players. The progress defaults to 1.0.
3372
+ """
3373
+ def create_scoreboard(self) -> Scoreboard:
3374
+ """
3375
+ Creates a new Scoreboard to be tracked by the server.
3376
+ """
3377
+ def dispatch_command(self, sender: CommandSender, command_line: str) -> bool:
3378
+ """
3379
+ Dispatches a command on this server, and executes it if found.
3380
+ """
3381
+ @typing.overload
3382
+ def get_player(self, name: str) -> Player:
3383
+ """
3384
+ Gets the player with the exact given name, case insensitive.
3385
+ """
3386
+ @typing.overload
3387
+ def get_player(self, unique_id: uuid.UUID) -> Player:
3388
+ """
3389
+ Gets the player with the given UUID.
3390
+ """
3391
+ def get_plugin_command(self, name: str) -> PluginCommand:
3392
+ """
3393
+ Gets a PluginCommand with the given name or alias.
3394
+ """
3395
+ def reload(self) -> None:
3396
+ """
3397
+ Reloads the server configuration, functions, scripts and plugins.
3398
+ """
3399
+ def reload_data(self) -> None:
3400
+ """
3401
+ Reload only the Minecraft data for the server.
3402
+ """
3403
+ def shutdown(self) -> None:
3404
+ """
3405
+ Shutdowns the server, stopping everything.
3406
+ """
3407
+ @property
3408
+ def average_mspt(self) -> float:
3409
+ """
3410
+ Gets the average milliseconds per tick (MSPT).
3411
+ """
3412
+ @property
3413
+ def average_tick_usage(self) -> float:
3414
+ """
3415
+ Gets the average tick usage of the server.
3416
+ """
3417
+ @property
3418
+ def average_tps(self) -> float:
3419
+ """
3420
+ Gets the average ticks per second (TPS).
3421
+ """
3422
+ @property
3423
+ def ban_list(self) -> PlayerBanList:
3424
+ """
3425
+ Gets the player ban list.
3426
+ """
3427
+ @property
3428
+ def command_sender(self) -> ConsoleCommandSender:
3429
+ """
3430
+ Gets a CommandSender for this server.
3431
+ """
3432
+ @property
3433
+ def current_mspt(self) -> float:
3434
+ """
3435
+ Gets the current milliseconds per tick (MSPT).
3436
+ """
3437
+ @property
3438
+ def current_tick_usage(self) -> float:
3439
+ """
3440
+ Gets the current tick usage of the server.
3441
+ """
3442
+ @property
3443
+ def current_tps(self) -> float:
3444
+ """
3445
+ Gets the current ticks per second (TPS).
3446
+ """
3447
+ @property
3448
+ def ip_ban_list(self) -> IpBanList:
3449
+ """
3450
+ Gets the IP ban list.
3451
+ """
3452
+ @property
3453
+ def language(self) -> Language:
3454
+ """
3455
+ Gets the current language interface used by the server.
3456
+ """
3457
+ @property
3458
+ def level(self) -> Level:
3459
+ """
3460
+ Gets the server level.
3461
+ """
3462
+ @property
3463
+ def logger(self) -> Logger:
3464
+ """
3465
+ Returns the primary logger associated with this server instance.
3466
+ """
3467
+ @property
3468
+ def max_players(self) -> int:
3469
+ """
3470
+ The maximum amount of players which can login to this server.
3471
+ """
3472
+ @max_players.setter
3473
+ def max_players(self, arg1: int) -> None:
3474
+ ...
3475
+ @property
3476
+ def minecraft_version(self) -> str:
3477
+ """
3478
+ Gets the Minecraft version that this server is running.
3479
+ """
3480
+ @property
3481
+ def name(self) -> str:
3482
+ """
3483
+ Gets the name of this server implementation.
3484
+ """
3485
+ @property
3486
+ def online_mode(self) -> bool:
3487
+ """
3488
+ Gets whether the Server is in online mode or not.
3489
+ """
3490
+ @property
3491
+ def online_players(self) -> list[Player]:
3492
+ """
3493
+ Gets a list of all currently online players.
3494
+ """
3495
+ @property
3496
+ def plugin_manager(self) -> PluginManager:
3497
+ """
3498
+ Gets the plugin manager for interfacing with plugins.
3499
+ """
3500
+ @property
3501
+ def scheduler(self) -> Scheduler:
3502
+ """
3503
+ Gets the scheduler for managing scheduled events.
3504
+ """
3505
+ @property
3506
+ def scoreboard(self) -> Scoreboard:
3507
+ """
3508
+ Gets the primary Scoreboard controlled by the server.
3509
+ """
3510
+ @property
3511
+ def start_time(self) -> datetime.datetime:
3512
+ """
3513
+ Gets the start time of the server.
3514
+ """
3515
+ @property
3516
+ def version(self) -> str:
3517
+ """
3518
+ Gets the version of this server implementation.
3519
+ """
3520
+ class ServerCommandEvent(ServerEvent, Cancellable):
3521
+ """
3522
+ Called when the console runs a command, early in the process.
3523
+ """
3524
+ @staticmethod
3525
+ def _pybind11_conduit_v1_(*args, **kwargs):
3526
+ ...
3527
+ @property
3528
+ def command(self) -> str:
3529
+ """
3530
+ Gets or sets the command that the server will execute
3531
+ """
3532
+ @command.setter
3533
+ def command(self, arg1: str) -> None:
3534
+ ...
3535
+ @property
3536
+ def sender(self) -> CommandSender:
3537
+ """
3538
+ Get the command sender.
3539
+ """
3540
+ class ServerEvent(Event):
3541
+ """
3542
+ Represents a server-related event
3543
+ """
3544
+ @staticmethod
3545
+ def _pybind11_conduit_v1_(*args, **kwargs):
3546
+ ...
3547
+ class ServerListPingEvent(ServerEvent, Cancellable):
3548
+ """
3549
+ Called when a server ping is coming in.
3550
+ """
3551
+ @staticmethod
3552
+ def _pybind11_conduit_v1_(*args, **kwargs):
3553
+ ...
3554
+ @property
3555
+ def game_mode(self) -> GameMode:
3556
+ """
3557
+ Gets or sets the current game mode.
3558
+ """
3559
+ @game_mode.setter
3560
+ def game_mode(self, arg1: GameMode) -> None:
3561
+ ...
3562
+ @property
3563
+ def level_name(self) -> str:
3564
+ """
3565
+ Gets or sets the level name.
3566
+ """
3567
+ @level_name.setter
3568
+ def level_name(self, arg1: str) -> None:
3569
+ ...
3570
+ @property
3571
+ def local_port(self) -> int:
3572
+ """
3573
+ Get or set the local port of the server.
3574
+ """
3575
+ @local_port.setter
3576
+ def local_port(self, arg1: int) -> None:
3577
+ ...
3578
+ @property
3579
+ def local_port_v6(self) -> int:
3580
+ """
3581
+ Get or set the local port of the server for IPv6 support
3582
+ """
3583
+ @local_port_v6.setter
3584
+ def local_port_v6(self, arg1: int) -> None:
3585
+ ...
3586
+ @property
3587
+ def max_players(self) -> int:
3588
+ """
3589
+ Gets or sets the maximum number of players allowed.
3590
+ """
3591
+ @max_players.setter
3592
+ def max_players(self, arg1: int) -> None:
3593
+ ...
3594
+ @property
3595
+ def minecraft_version_network(self) -> str:
3596
+ """
3597
+ Gets or sets the network version of Minecraft that is supported by this server
3598
+ """
3599
+ @minecraft_version_network.setter
3600
+ def minecraft_version_network(self, arg1: str) -> None:
3601
+ ...
3602
+ @property
3603
+ def motd(self) -> str:
3604
+ """
3605
+ Gets or sets the message of the day message.
3606
+ """
3607
+ @motd.setter
3608
+ def motd(self, arg1: str) -> None:
3609
+ ...
3610
+ @property
3611
+ def network_protocol_version(self) -> int:
3612
+ """
3613
+ Get the network protocol version of this server
3614
+ """
3615
+ @property
3616
+ def num_players(self) -> int:
3617
+ """
3618
+ Gets or sets the number of players online.
3619
+ """
3620
+ @num_players.setter
3621
+ def num_players(self, arg1: int) -> None:
3622
+ ...
3623
+ @property
3624
+ def remote_host(self) -> str:
3625
+ """
3626
+ Get the host the ping is coming from.
3627
+ """
3628
+ @property
3629
+ def remote_port(self) -> int:
3630
+ """
3631
+ Get the port the ping is coming from.
3632
+ """
3633
+ @property
3634
+ def server_guid(self) -> str:
3635
+ """
3636
+ Get or set the unique identifier of the server.
3637
+ """
3638
+ @server_guid.setter
3639
+ def server_guid(self, arg1: str) -> None:
3640
+ ...
3641
+ class ServerLoadEvent(Event):
3642
+ """
3643
+ Called when either the server startup or reload has completed.
3644
+ """
3645
+ class LoadType:
3646
+ STARTUP: typing.ClassVar[ServerLoadEvent.LoadType] # value = <LoadType.STARTUP: 0>
3647
+ __members__: typing.ClassVar[dict[str, ServerLoadEvent.LoadType]] # value = {'STARTUP': <LoadType.STARTUP: 0>}
3648
+ @staticmethod
3649
+ def _pybind11_conduit_v1_(*args, **kwargs):
3650
+ ...
3651
+ def __eq__(self, other: typing.Any) -> bool:
3652
+ ...
3653
+ def __getstate__(self) -> int:
3654
+ ...
3655
+ def __hash__(self) -> int:
3656
+ ...
3657
+ def __index__(self) -> int:
3658
+ ...
3659
+ def __init__(self, value: int) -> None:
3660
+ ...
3661
+ def __int__(self) -> int:
3662
+ ...
3663
+ def __ne__(self, other: typing.Any) -> bool:
3664
+ ...
3665
+ def __repr__(self) -> str:
3666
+ ...
3667
+ def __setstate__(self, state: int) -> None:
3668
+ ...
3669
+ def __str__(self) -> str:
3670
+ ...
3671
+ @property
3672
+ def name(self) -> str:
3673
+ ...
3674
+ @property
3675
+ def value(self) -> int:
3676
+ ...
3677
+ STARTUP: typing.ClassVar[ServerLoadEvent.LoadType] # value = <LoadType.STARTUP: 0>
3678
+ @staticmethod
3679
+ def _pybind11_conduit_v1_(*args, **kwargs):
3680
+ ...
3681
+ @property
3682
+ def type(self) -> ServerLoadEvent.LoadType:
3683
+ ...
3684
+ class Skin:
3685
+ """
3686
+ Represents a player skin.
3687
+ """
3688
+ @staticmethod
3689
+ def _pybind11_conduit_v1_(*args, **kwargs):
3690
+ ...
3691
+ def __init__(self, skin_id: str, skin_data: numpy.ndarray[numpy.uint8], cape_id: str | None = None, cape_data: numpy.ndarray[numpy.uint8] | None = None) -> None:
3692
+ ...
3693
+ @property
3694
+ def cape_data(self) -> numpy.ndarray[numpy.uint8] | None:
3695
+ """
3696
+ Get the Cape data.
3697
+ """
3698
+ @property
3699
+ def cape_id(self) -> str | None:
3700
+ """
3701
+ Get the Cape ID.
3702
+ """
3703
+ @property
3704
+ def skin_data(self) -> numpy.ndarray[numpy.uint8]:
3705
+ """
3706
+ Get the Skin data.
3707
+ """
3708
+ @property
3709
+ def skin_id(self) -> str:
3710
+ """
3711
+ Get the Skin ID.
3712
+ """
3713
+ class Slider:
3714
+ """
3715
+ Represents a slider with a label.
3716
+ """
3717
+ @staticmethod
3718
+ def _pybind11_conduit_v1_(*args, **kwargs):
3719
+ ...
3720
+ def __init__(self, label: str | Translatable = '', min: float = 0, max: float = 100, step: float = 20, default_value: float | None = None) -> None:
3721
+ ...
3722
+ @property
3723
+ def default_value(self) -> float | None:
3724
+ """
3725
+ Gets or sets the optional default value of the slider.
3726
+ """
3727
+ @default_value.setter
3728
+ def default_value(self, arg1: float | None) -> Slider:
3729
+ ...
3730
+ @property
3731
+ def label(self) -> str | Translatable:
3732
+ """
3733
+ Gets or sets the label of the slider.
3734
+ """
3735
+ @label.setter
3736
+ def label(self, arg1: str | Translatable) -> Slider:
3737
+ ...
3738
+ @property
3739
+ def max(self) -> float:
3740
+ """
3741
+ Gets or sets the maximum value of the slider.
3742
+ """
3743
+ @max.setter
3744
+ def max(self, arg1: float) -> Slider:
3745
+ ...
3746
+ @property
3747
+ def min(self) -> float:
3748
+ """
3749
+ Gets or sets the minimum value of the slider.
3750
+ """
3751
+ @min.setter
3752
+ def min(self, arg1: float) -> Slider:
3753
+ ...
3754
+ @property
3755
+ def step(self) -> float:
3756
+ """
3757
+ Gets or sets the step size of the slider.
3758
+ """
3759
+ @step.setter
3760
+ def step(self, arg1: float) -> Slider:
3761
+ ...
3762
+ class SocketAddress:
3763
+ """
3764
+ Represents an IP Socket Address (hostname + port number).
3765
+ """
3766
+ @staticmethod
3767
+ def _pybind11_conduit_v1_(*args, **kwargs):
3768
+ ...
3769
+ @typing.overload
3770
+ def __init__(self) -> None:
3771
+ ...
3772
+ @typing.overload
3773
+ def __init__(self, hostname: str, port: int) -> None:
3774
+ ...
3775
+ def __repr__(self) -> str:
3776
+ ...
3777
+ def __str__(self) -> str:
3778
+ ...
3779
+ @property
3780
+ def hostname(self) -> str:
3781
+ """
3782
+ Gets the hostname.
3783
+ """
3784
+ @property
3785
+ def port(self) -> int:
3786
+ """
3787
+ Gets the port number.
3788
+ """
3789
+ class SpawnParticleEffectPacket(Packet):
3790
+ """
3791
+ Represents a packet for spawning a particle effect.
3792
+ """
3793
+ actor_id: int
3794
+ dimension_id: int
3795
+ effect_name: str
3796
+ molang_variables_json: str | None
3797
+ position: Vector
3798
+ @staticmethod
3799
+ def _pybind11_conduit_v1_(*args, **kwargs):
3800
+ ...
3801
+ def __init__(self) -> None:
3802
+ ...
3803
+ class StepSlider:
3804
+ """
3805
+ Represents a step slider with a set of predefined options.
3806
+ """
3807
+ @staticmethod
3808
+ def _pybind11_conduit_v1_(*args, **kwargs):
3809
+ ...
3810
+ def __init__(self, label: str | Translatable = '', options: list[str] | None = None, default_index: int | None = None) -> None:
3811
+ ...
3812
+ def add_option(self, option: str) -> Dropdown:
3813
+ """
3814
+ Adds a new option to the step slider.
3815
+ """
3816
+ @property
3817
+ def default_index(self) -> int | None:
3818
+ """
3819
+ Gets or sets the optional default index of the step slider.
3820
+ """
3821
+ @default_index.setter
3822
+ def default_index(self, arg1: int | None) -> Dropdown:
3823
+ ...
3824
+ @property
3825
+ def label(self) -> str | Translatable:
3826
+ """
3827
+ Gets or sets the label of the step slider.
3828
+ """
3829
+ @label.setter
3830
+ def label(self, arg1: str | Translatable) -> Dropdown:
3831
+ ...
3832
+ @property
3833
+ def options(self) -> list[str]:
3834
+ """
3835
+ Gets or sets the options of the step slider.
3836
+ """
3837
+ @options.setter
3838
+ def options(self, arg1: list[str]) -> Dropdown:
3839
+ ...
3840
+ class Task:
3841
+ """
3842
+ Represents a task being executed by the scheduler
3843
+ """
3844
+ @staticmethod
3845
+ def _pybind11_conduit_v1_(*args, **kwargs):
3846
+ ...
3847
+ def cancel(self) -> None:
3848
+ """
3849
+ Attempts to cancel this task.
3850
+ """
3851
+ @property
3852
+ def is_cancelled(self) -> bool:
3853
+ """
3854
+ Returns true if the task has been cancelled.
3855
+ """
3856
+ @property
3857
+ def is_sync(self) -> bool:
3858
+ """
3859
+ Returns true if the task is run by server thread.
3860
+ """
3861
+ @property
3862
+ def owner(self) -> Plugin:
3863
+ """
3864
+ Returns the Plugin that owns the task.
3865
+ """
3866
+ @property
3867
+ def task_id(self) -> int:
3868
+ """
3869
+ Returns the task id.
3870
+ """
3871
+ class TextInput:
3872
+ """
3873
+ Represents a text input field.
3874
+ """
3875
+ @staticmethod
3876
+ def _pybind11_conduit_v1_(*args, **kwargs):
3877
+ ...
3878
+ def __init__(self, label: str | Translatable = '', placeholder: str | Translatable = '', default_value: str | None = None) -> None:
3879
+ ...
3880
+ @property
3881
+ def default_value(self) -> str | None:
3882
+ """
3883
+ Gets or sets the optional default text of the text input field.
3884
+ """
3885
+ @default_value.setter
3886
+ def default_value(self, arg1: str | None) -> TextInput:
3887
+ ...
3888
+ @property
3889
+ def label(self) -> str | Translatable:
3890
+ """
3891
+ Gets or sets the label of the text input field.
3892
+ """
3893
+ @label.setter
3894
+ def label(self, arg1: str | Translatable) -> TextInput:
3895
+ ...
3896
+ @property
3897
+ def placeholder(self) -> str | Translatable:
3898
+ """
3899
+ Gets or sets the placeholder of the text input field.
3900
+ """
3901
+ @placeholder.setter
3902
+ def placeholder(self, arg1: str | Translatable) -> TextInput:
3903
+ ...
3904
+ class ThunderChangeEvent(WeatherEvent, Cancellable):
3905
+ """
3906
+ Called when the thunder state in a world is changing.
3907
+ """
3908
+ @staticmethod
3909
+ def _pybind11_conduit_v1_(*args, **kwargs):
3910
+ ...
3911
+ @property
3912
+ def to_thunder_state(self) -> bool:
3913
+ """
3914
+ Gets the state of thunder that the world is being set to
3915
+ """
3916
+ class Toggle:
3917
+ """
3918
+ Represents a toggle button with a label.
3919
+ """
3920
+ @staticmethod
3921
+ def _pybind11_conduit_v1_(*args, **kwargs):
3922
+ ...
3923
+ def __init__(self, label: str | Translatable = '', default_value: bool = False) -> None:
3924
+ ...
3925
+ @property
3926
+ def default_value(self) -> bool:
3927
+ """
3928
+ Gets or sets the value of the toggle.
3929
+ """
3930
+ @default_value.setter
3931
+ def default_value(self, arg1: bool) -> Toggle:
3932
+ ...
3933
+ @property
3934
+ def label(self) -> str | Translatable:
3935
+ """
3936
+ Gets or sets the label of the toggle.
3937
+ """
3938
+ @label.setter
3939
+ def label(self, arg1: str | Translatable) -> Toggle:
3940
+ ...
3941
+ class Translatable:
3942
+ """
3943
+ Represents an object with a text representation that can be translated by the Minecraft client.
3944
+ """
3945
+ @staticmethod
3946
+ def _pybind11_conduit_v1_(*args, **kwargs):
3947
+ ...
3948
+ def __init__(self, text: str, params: list[str] | None = None) -> None:
3949
+ ...
3950
+ @property
3951
+ def params(self) -> list[str]:
3952
+ """
3953
+ Get the translation parameters.
3954
+ """
3955
+ @property
3956
+ def text(self) -> str:
3957
+ """
3958
+ Get the text to be translated.
3959
+ """
3960
+ class Vector:
3961
+ """
3962
+ Represents a 3-dimensional vector.
3963
+ """
3964
+ @staticmethod
3965
+ def _pybind11_conduit_v1_(*args, **kwargs):
3966
+ ...
3967
+ @typing.overload
3968
+ def __add__(self, arg0: Vector) -> Vector:
3969
+ ...
3970
+ @typing.overload
3971
+ def __add__(self, arg0: float) -> Vector:
3972
+ ...
3973
+ def __iadd__(self, arg0: Vector) -> Vector:
3974
+ ...
3975
+ def __imul__(self, arg0: Vector) -> Vector:
3976
+ ...
3977
+ @typing.overload
3978
+ def __init__(self) -> None:
3979
+ ...
3980
+ @typing.overload
3981
+ def __init__(self, x: float, y: float, z: float) -> None:
3982
+ ...
3983
+ def __isub__(self, arg0: Vector) -> Vector:
3984
+ ...
3985
+ def __itruediv__(self, arg0: Vector) -> Vector:
3986
+ ...
3987
+ @typing.overload
3988
+ def __mul__(self, arg0: Vector) -> Vector:
3989
+ ...
3990
+ @typing.overload
3991
+ def __mul__(self, arg0: float) -> Vector:
3992
+ ...
3993
+ def __radd__(self, arg0: float) -> Vector:
3994
+ ...
3995
+ def __repr__(self) -> str:
3996
+ ...
3997
+ def __rmul__(self, arg0: float) -> Vector:
3998
+ ...
3999
+ def __rsub__(self, arg0: float) -> Vector:
4000
+ ...
4001
+ def __rtruediv__(self, arg0: float) -> Vector:
4002
+ ...
4003
+ def __str__(self) -> str:
4004
+ ...
4005
+ @typing.overload
4006
+ def __sub__(self, arg0: Vector) -> Vector:
4007
+ ...
4008
+ @typing.overload
4009
+ def __sub__(self, arg0: float) -> Vector:
4010
+ ...
4011
+ @typing.overload
4012
+ def __truediv__(self, arg0: Vector) -> Vector:
4013
+ ...
4014
+ @typing.overload
4015
+ def __truediv__(self, arg0: float) -> Vector:
4016
+ ...
4017
+ def distance(self, other: Vector) -> float:
4018
+ """
4019
+ The distance between this Vector and another
4020
+ """
4021
+ def distance_squared(self, other: Vector) -> float:
4022
+ """
4023
+ The squared distance between this Vector and another
4024
+ """
4025
+ @property
4026
+ def length(self) -> float:
4027
+ """
4028
+ The magnitude of the Vector
4029
+ """
4030
+ @property
4031
+ def length_squared(self) -> float:
4032
+ """
4033
+ The squared magnitude of the Vector
4034
+ """
4035
+ @property
4036
+ def x(self) -> float:
4037
+ """
4038
+ The X component of the vector
4039
+ """
4040
+ @x.setter
4041
+ def x(self, arg1: float) -> None:
4042
+ ...
4043
+ @property
4044
+ def y(self) -> float:
4045
+ """
4046
+ The Y component of the vector
4047
+ """
4048
+ @y.setter
4049
+ def y(self, arg1: float) -> None:
4050
+ ...
4051
+ @property
4052
+ def z(self) -> float:
4053
+ """
4054
+ The Z component of the vector
4055
+ """
4056
+ @z.setter
4057
+ def z(self, arg1: float) -> None:
4058
+ ...
4059
+ class WeatherChangeEvent(WeatherEvent, Cancellable):
4060
+ """
4061
+ Called when the weather (rain) state in a world is changing.
4062
+ """
4063
+ @staticmethod
4064
+ def _pybind11_conduit_v1_(*args, **kwargs):
4065
+ ...
4066
+ @property
4067
+ def to_weather_state(self) -> bool:
4068
+ """
4069
+ Gets the state of weather that the world is being set to
4070
+ """
4071
+ class WeatherEvent(Event):
4072
+ """
4073
+ Represents a weather-related event
4074
+ """
4075
+ @staticmethod
4076
+ def _pybind11_conduit_v1_(*args, **kwargs):
4077
+ ...
4078
+ @property
4079
+ def level(self) -> Level:
4080
+ """
4081
+ Returns the Level where this event is occurring
4082
+ """