levistone 0.7.1__cp311-cp311-win_amd64.whl → 0.10.5__cp311-cp311-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.

@@ -4,61 +4,29 @@ import numpy
4
4
  import os
5
5
  import typing
6
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', 'ItemMeta', 'ItemStack', 'Label', 'Language', 'Level', 'Location', 'Logger', 'MapMeta', 'MessageForm', 'Mob', 'MobEvent', 'ModalForm', 'Objective', 'ObjectiveSortOrder', 'OfflinePlayer', 'PacketReceiveEvent', 'PacketSendEvent', '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', 'Service', 'ServiceManager', 'ServicePriority', 'Skin', 'Slider', 'SocketAddress', 'StepSlider', 'Task', 'TextInput', 'ThunderChangeEvent', 'Toggle', 'Translatable', 'Vector', 'WeatherChangeEvent', 'WeatherEvent']
7
+ __all__: list[str] = ['ActionForm', 'Actor', 'ActorDamageEvent', 'ActorDeathEvent', 'ActorEvent', 'ActorExplodeEvent', 'ActorKnockbackEvent', 'ActorRemoveEvent', 'ActorSpawnEvent', 'ActorTeleportEvent', 'BanEntry', 'BarColor', 'BarFlag', 'BarStyle', 'Block', 'BlockBreakEvent', 'BlockCommandSender', 'BlockCookEvent', 'BlockData', 'BlockEvent', 'BlockFace', 'BlockPistonEvent', 'BlockPistonExtendEvent', 'BlockPistonRetractEvent', 'BlockPlaceEvent', 'BlockState', 'BossBar', 'BroadcastMessageEvent', 'Button', 'Cancellable', 'Chunk', 'ChunkEvent', 'ChunkLoadEvent', 'ChunkUnloadEvent', 'ColorFormat', 'Command', 'CommandExecutor', 'CommandSender', 'CommandSenderWrapper', 'ConsoleCommandSender', 'Criteria', 'DamageSource', 'Dimension', 'DimensionEvent', 'DisplaySlot', 'Divider', 'Dropdown', 'Enchantment', 'EnchantmentRegistry', 'EquipmentSlot', 'Event', 'EventPriority', 'EventResult', 'GameMode', 'Header', 'Inventory', 'IpBanEntry', 'IpBanList', 'Item', 'ItemFactory', 'ItemMeta', 'ItemRegistry', 'ItemStack', 'ItemType', 'Label', 'Language', 'LeavesDecayEvent', 'Level', 'LevelEvent', 'Location', 'Logger', 'MapCanvas', 'MapMeta', 'MapRenderer', 'MapView', 'MessageForm', 'Mob', 'MobEvent', 'ModalForm', 'NamespacedKey', 'Objective', 'ObjectiveSortOrder', 'OfflinePlayer', 'PacketReceiveEvent', 'PacketSendEvent', 'Permissible', 'Permission', 'PermissionAttachment', 'PermissionAttachmentInfo', 'PermissionDefault', 'PermissionLevel', 'Player', 'PlayerBanEntry', 'PlayerBanList', 'PlayerBedEnterEvent', 'PlayerBedLeaveEvent', 'PlayerChatEvent', 'PlayerCommandEvent', 'PlayerDeathEvent', 'PlayerDropItemEvent', 'PlayerEmoteEvent', 'PlayerEvent', 'PlayerGameModeChangeEvent', 'PlayerInteractActorEvent', 'PlayerInteractEvent', 'PlayerInventory', 'PlayerItemConsumeEvent', 'PlayerItemHeldEvent', 'PlayerJoinEvent', 'PlayerJumpEvent', 'PlayerKickEvent', 'PlayerLoginEvent', 'PlayerMoveEvent', 'PlayerPickupItemEvent', 'PlayerQuitEvent', 'PlayerRespawnEvent', 'PlayerSkinChangeEvent', 'PlayerTeleportEvent', 'Plugin', 'PluginCommand', 'PluginDescription', 'PluginDisableEvent', 'PluginEnableEvent', 'PluginLoadOrder', 'PluginLoader', 'PluginManager', 'Position', 'RenderType', 'Scheduler', 'Score', 'Scoreboard', 'ScriptMessageEvent', 'Server', 'ServerCommandEvent', 'ServerEvent', 'ServerListPingEvent', 'ServerLoadEvent', 'Service', 'ServiceManager', 'ServicePriority', 'Skin', 'Slider', 'SocketAddress', 'StepSlider', 'Task', 'TextInput', 'ThunderChangeEvent', 'Toggle', 'Translatable', 'Vector', 'WeatherChangeEvent', 'WeatherEvent']
8
8
  class ActionForm:
9
9
  """
10
10
  Represents a form with buttons that let the player take action.
11
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:
12
+ def __init__(self, title: str | Translatable = '', content: str | Translatable = '', buttons: list[Button | Divider | Header | Label] | None = None, on_submit: typing.Callable[[Player, int], None] = None, on_close: typing.Callable[[Player], None] = None) -> None:
49
13
  ...
50
14
  def add_button(self, text: str | Translatable, icon: str | None = None, on_click: typing.Callable[[Player], None] = None) -> ActionForm:
51
15
  """
52
16
  Adds a button to the form.
53
17
  """
54
- @property
55
- def buttons(self) -> list[ActionForm.Button]:
18
+ def add_divider(self) -> ActionForm:
56
19
  """
57
- Gets or sets the buttons of the action form.
20
+ Adds a divider to the form.
21
+ """
22
+ def add_header(self, text: str | Translatable) -> ActionForm:
23
+ """
24
+ Adds a header to the form.
25
+ """
26
+ def add_label(self, text: str | Translatable) -> ActionForm:
27
+ """
28
+ Adds a label to the form.
58
29
  """
59
- @buttons.setter
60
- def buttons(self, arg1: list[ActionForm.Button]) -> ActionForm:
61
- ...
62
30
  @property
63
31
  def content(self) -> str | Translatable:
64
32
  """
@@ -68,6 +36,14 @@ class ActionForm:
68
36
  def content(self, arg1: str | Translatable) -> ActionForm:
69
37
  ...
70
38
  @property
39
+ def controls(self) -> list[Button | Divider | Header | Label]:
40
+ """
41
+ Gets or sets the controls of the action form.
42
+ """
43
+ @controls.setter
44
+ def controls(self, arg1: list[Button | Divider | Header | Label]) -> ActionForm:
45
+ ...
46
+ @property
71
47
  def on_close(self) -> typing.Callable[[Player], None]:
72
48
  """
73
49
  Gets or sets the on close callback.
@@ -95,9 +71,6 @@ class Actor(CommandSender):
95
71
  """
96
72
  Represents a base actor in the level.
97
73
  """
98
- @staticmethod
99
- def _pybind11_conduit_v1_(*args, **kwargs):
100
- ...
101
74
  def add_scoreboard_tag(self, tag: str) -> bool:
102
75
  """
103
76
  Adds a tag to this actor.
@@ -238,9 +211,6 @@ class ActorDamageEvent(MobEvent, Cancellable):
238
211
  """
239
212
  Called when an Actor is damaged.
240
213
  """
241
- @staticmethod
242
- def _pybind11_conduit_v1_(*args, **kwargs):
243
- ...
244
214
  @property
245
215
  def damage(self) -> float:
246
216
  """
@@ -258,9 +228,6 @@ class ActorDeathEvent(MobEvent):
258
228
  """
259
229
  Called when an Actor dies.
260
230
  """
261
- @staticmethod
262
- def _pybind11_conduit_v1_(*args, **kwargs):
263
- ...
264
231
  @property
265
232
  def damage_source(self) -> DamageSource:
266
233
  """
@@ -270,9 +237,6 @@ class ActorEvent(Event):
270
237
  """
271
238
  Represents an Actor-related event.
272
239
  """
273
- @staticmethod
274
- def _pybind11_conduit_v1_(*args, **kwargs):
275
- ...
276
240
  @property
277
241
  def actor(self) -> Actor:
278
242
  """
@@ -282,9 +246,6 @@ class ActorExplodeEvent(ActorEvent, Cancellable):
282
246
  """
283
247
  Called when an Actor explodes.
284
248
  """
285
- @staticmethod
286
- def _pybind11_conduit_v1_(*args, **kwargs):
287
- ...
288
249
  @property
289
250
  def block_list(self) -> list[Block]:
290
251
  """
@@ -302,9 +263,6 @@ class ActorKnockbackEvent(MobEvent, Cancellable):
302
263
  """
303
264
  Called when a living entity receives knockback.
304
265
  """
305
- @staticmethod
306
- def _pybind11_conduit_v1_(*args, **kwargs):
307
- ...
308
266
  @property
309
267
  def knockback(self) -> Vector:
310
268
  """
@@ -322,23 +280,14 @@ class ActorRemoveEvent(ActorEvent):
322
280
  """
323
281
  Called when an Actor is removed.
324
282
  """
325
- @staticmethod
326
- def _pybind11_conduit_v1_(*args, **kwargs):
327
- ...
328
283
  class ActorSpawnEvent(ActorEvent, Cancellable):
329
284
  """
330
285
  Called when an Actor is spawned into a world.
331
286
  """
332
- @staticmethod
333
- def _pybind11_conduit_v1_(*args, **kwargs):
334
- ...
335
287
  class ActorTeleportEvent(ActorEvent, Cancellable):
336
288
  """
337
289
  Called when a non-player entity is teleported from one location to another.
338
290
  """
339
- @staticmethod
340
- def _pybind11_conduit_v1_(*args, **kwargs):
341
- ...
342
291
  @property
343
292
  def from_location(self) -> Location:
344
293
  """
@@ -359,9 +308,6 @@ class BanEntry:
359
308
  """
360
309
  A single entry from a ban list.
361
310
  """
362
- @staticmethod
363
- def _pybind11_conduit_v1_(*args, **kwargs):
364
- ...
365
311
  @property
366
312
  def created(self) -> datetime.datetime:
367
313
  """
@@ -404,9 +350,6 @@ class BarColor:
404
350
  WHITE: typing.ClassVar[BarColor] # value = <BarColor.WHITE: 7>
405
351
  YELLOW: typing.ClassVar[BarColor] # value = <BarColor.YELLOW: 4>
406
352
  __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>}
407
- @staticmethod
408
- def _pybind11_conduit_v1_(*args, **kwargs):
409
- ...
410
353
  def __eq__(self, other: typing.Any) -> bool:
411
354
  ...
412
355
  def __getstate__(self) -> int:
@@ -436,9 +379,6 @@ class BarColor:
436
379
  class BarFlag:
437
380
  DARKEN_SKY: typing.ClassVar[BarFlag] # value = <BarFlag.DARKEN_SKY: 0>
438
381
  __members__: typing.ClassVar[dict[str, BarFlag]] # value = {'DARKEN_SKY': <BarFlag.DARKEN_SKY: 0>}
439
- @staticmethod
440
- def _pybind11_conduit_v1_(*args, **kwargs):
441
- ...
442
382
  def __eq__(self, other: typing.Any) -> bool:
443
383
  ...
444
384
  def __getstate__(self) -> int:
@@ -472,9 +412,6 @@ class BarStyle:
472
412
  SEGMENTED_6: typing.ClassVar[BarStyle] # value = <BarStyle.SEGMENTED_6: 1>
473
413
  SOLID: typing.ClassVar[BarStyle] # value = <BarStyle.SOLID: 0>
474
414
  __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>}
475
- @staticmethod
476
- def _pybind11_conduit_v1_(*args, **kwargs):
477
- ...
478
415
  def __eq__(self, other: typing.Any) -> bool:
479
416
  ...
480
417
  def __getstate__(self) -> int:
@@ -505,9 +442,6 @@ class Block:
505
442
  """
506
443
  Represents a block.
507
444
  """
508
- @staticmethod
509
- def _pybind11_conduit_v1_(*args, **kwargs):
510
- ...
511
445
  def __str__(self) -> str:
512
446
  ...
513
447
  def capture_state(self) -> BlockState:
@@ -571,21 +505,41 @@ class BlockBreakEvent(BlockEvent, Cancellable):
571
505
  """
572
506
  Called when a block is broken by a player.
573
507
  """
574
- @staticmethod
575
- def _pybind11_conduit_v1_(*args, **kwargs):
576
- ...
577
508
  @property
578
509
  def player(self) -> Player:
579
510
  """
580
511
  Gets the Player that is breaking the block involved in this event.
581
512
  """
513
+ class BlockCommandSender(CommandSender):
514
+ """
515
+ Represents a block command sender.
516
+ """
517
+ @property
518
+ def block(self) -> Block:
519
+ """
520
+ Returns the block this command sender belongs to
521
+ """
522
+ class BlockCookEvent(BlockEvent, Cancellable):
523
+ """
524
+ Called when an ItemStack is successfully cooked in a block.
525
+ """
526
+ @property
527
+ def result(self) -> ItemStack:
528
+ """
529
+ Gets or sets the resultant ItemStack for this event
530
+ """
531
+ @result.setter
532
+ def result(self, arg1: ItemStack) -> None:
533
+ ...
534
+ @property
535
+ def source(self) -> ItemStack:
536
+ """
537
+ Gets the smelted ItemStack for this event
538
+ """
582
539
  class BlockData:
583
540
  """
584
541
  Represents the data related to a live block
585
542
  """
586
- @staticmethod
587
- def _pybind11_conduit_v1_(*args, **kwargs):
588
- ...
589
543
  def __str__(self) -> str:
590
544
  ...
591
545
  @property
@@ -594,6 +548,11 @@ class BlockData:
594
548
  Gets the block states for this block.
595
549
  """
596
550
  @property
551
+ def runtime_id(self) -> int:
552
+ """
553
+ Gets the runtime id for this block.
554
+ """
555
+ @property
597
556
  def type(self) -> str:
598
557
  """
599
558
  Get the block type represented by this block data.
@@ -602,9 +561,6 @@ class BlockEvent(Event):
602
561
  """
603
562
  Represents an Block-related event
604
563
  """
605
- @staticmethod
606
- def _pybind11_conduit_v1_(*args, **kwargs):
607
- ...
608
564
  @property
609
565
  def block(self) -> Block:
610
566
  """
@@ -618,9 +574,6 @@ class BlockFace:
618
574
  UP: typing.ClassVar[BlockFace] # value = <BlockFace.UP: 1>
619
575
  WEST: typing.ClassVar[BlockFace] # value = <BlockFace.WEST: 4>
620
576
  __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>}
621
- @staticmethod
622
- def _pybind11_conduit_v1_(*args, **kwargs):
623
- ...
624
577
  def __eq__(self, other: typing.Any) -> bool:
625
578
  ...
626
579
  def __getstate__(self) -> int:
@@ -647,13 +600,27 @@ class BlockFace:
647
600
  @property
648
601
  def value(self) -> int:
649
602
  ...
603
+ class BlockPistonEvent(BlockEvent, Cancellable):
604
+ """
605
+ Called when a piston block is triggered
606
+ """
607
+ @property
608
+ def direction(self) -> BlockFace:
609
+ """
610
+ Return the direction in which the piston will operate.
611
+ """
612
+ class BlockPistonExtendEvent(BlockPistonEvent):
613
+ """
614
+ Called when a piston extends.
615
+ """
616
+ class BlockPistonRetractEvent(BlockPistonEvent):
617
+ """
618
+ Called when a piston retracts.
619
+ """
650
620
  class BlockPlaceEvent(BlockEvent, Cancellable):
651
621
  """
652
622
  Called when a block is placed by a player.
653
623
  """
654
- @staticmethod
655
- def _pybind11_conduit_v1_(*args, **kwargs):
656
- ...
657
624
  @property
658
625
  def block_against(self) -> Block:
659
626
  """
@@ -678,9 +645,6 @@ class BlockState:
678
645
  """
679
646
  Represents a captured state of a block, which will not update automatically.
680
647
  """
681
- @staticmethod
682
- def _pybind11_conduit_v1_(*args, **kwargs):
683
- ...
684
648
  def __str__(self) -> str:
685
649
  ...
686
650
  def update(self, force: bool = False, apply_physics: bool = True) -> bool:
@@ -737,9 +701,6 @@ class BossBar:
737
701
  """
738
702
  Represents a boss bar that is displayed to players.
739
703
  """
740
- @staticmethod
741
- def _pybind11_conduit_v1_(*args, **kwargs):
742
- ...
743
704
  def add_flag(self, flag: BarFlag) -> None:
744
705
  """
745
706
  Adds an optional flag to this boss bar.
@@ -813,29 +774,53 @@ class BroadcastMessageEvent(ServerEvent, Cancellable):
813
774
  """
814
775
  Event triggered for server broadcast messages such as from Server.broadcast
815
776
  """
816
- @staticmethod
817
- def _pybind11_conduit_v1_(*args, **kwargs):
818
- ...
819
777
  @property
820
- def message(self) -> str:
778
+ def message(self) -> str | Translatable:
821
779
  """
822
780
  Gets or sets the message to broadcast.
823
781
  """
824
782
  @message.setter
825
- def message(self, arg1: str) -> None:
783
+ def message(self, arg1: str | Translatable) -> None:
826
784
  ...
827
785
  @property
828
786
  def recipients(self) -> set[CommandSender]:
829
787
  """
830
788
  Gets a set of recipients that this broadcast message will be displayed to.
831
789
  """
790
+ class Button:
791
+ """
792
+ Represents a button with text and an optional icon.
793
+ """
794
+ def __init__(self, text: str | Translatable = '', icon: str | None = None, on_click: typing.Callable[[Player], None] = None) -> None:
795
+ ...
796
+ @property
797
+ def icon(self) -> str | None:
798
+ """
799
+ Gets or sets the icon path or URL of the button
800
+ """
801
+ @icon.setter
802
+ def icon(self, arg1: str) -> Button:
803
+ ...
804
+ @property
805
+ def on_click(self) -> typing.Callable[[Player], None]:
806
+ """
807
+ Gets or sets the on click callback.
808
+ """
809
+ @on_click.setter
810
+ def on_click(self, arg1: typing.Callable[[Player], None]) -> Button:
811
+ ...
812
+ @property
813
+ def text(self) -> str | Translatable:
814
+ """
815
+ Gets or sets the text of the button
816
+ """
817
+ @text.setter
818
+ def text(self, arg1: str | Translatable) -> Button:
819
+ ...
832
820
  class Cancellable:
833
821
  """
834
822
  Represents an event that may be cancelled by a plugin or the server.
835
823
  """
836
- @staticmethod
837
- def _pybind11_conduit_v1_(*args, **kwargs):
838
- ...
839
824
  def cancel(self) -> None:
840
825
  """
841
826
  Cancel this event. A cancelled event will not be executed in the server, but will still pass to other plugins.
@@ -860,8 +845,9 @@ class Chunk:
860
845
  """
861
846
  Represents a chunk of blocks.
862
847
  """
863
- @staticmethod
864
- def _pybind11_conduit_v1_(*args, **kwargs):
848
+ def __repr__(self) -> str:
849
+ ...
850
+ def __str__(self) -> str:
865
851
  ...
866
852
  @property
867
853
  def dimension(self) -> Dimension:
@@ -883,6 +869,23 @@ class Chunk:
883
869
  """
884
870
  Gets the Z-coordinate of this chunk
885
871
  """
872
+ class ChunkEvent(DimensionEvent):
873
+ """
874
+ Represents a Chunk related event
875
+ """
876
+ @property
877
+ def chunk(self) -> Chunk:
878
+ """
879
+ Gets the chunk being loaded/unloaded
880
+ """
881
+ class ChunkLoadEvent(ChunkEvent):
882
+ """
883
+ Called when a chunk is loaded
884
+ """
885
+ class ChunkUnloadEvent(ChunkEvent):
886
+ """
887
+ Called when a chunk is unloaded
888
+ """
886
889
  class ColorFormat:
887
890
  """
888
891
  All supported color and format codes.
@@ -919,16 +922,10 @@ class ColorFormat:
919
922
  RESET: typing.ClassVar[str] = '§r'
920
923
  WHITE: typing.ClassVar[str] = '§f'
921
924
  YELLOW: typing.ClassVar[str] = '§e'
922
- @staticmethod
923
- def _pybind11_conduit_v1_(*args, **kwargs):
924
- ...
925
925
  class Command:
926
926
  """
927
927
  Represents a Command, which executes various tasks upon user input
928
928
  """
929
- @staticmethod
930
- def _pybind11_conduit_v1_(*args, **kwargs):
931
- ...
932
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:
933
930
  ...
934
931
  def execute(self, sender: CommandSender, args: list[str]) -> bool:
@@ -992,9 +989,6 @@ class CommandExecutor:
992
989
  """
993
990
  Represents a class which contains a single method for executing commands
994
991
  """
995
- @staticmethod
996
- def _pybind11_conduit_v1_(*args, **kwargs):
997
- ...
998
992
  def __init__(self) -> None:
999
993
  ...
1000
994
  def on_command(self, sender: CommandSender, command: Command, args: list[str]) -> bool:
@@ -1005,9 +999,6 @@ class CommandSender(Permissible):
1005
999
  """
1006
1000
  Represents a command sender.
1007
1001
  """
1008
- @staticmethod
1009
- def _pybind11_conduit_v1_(*args, **kwargs):
1010
- ...
1011
1002
  def send_error_message(self, message: str | Translatable) -> None:
1012
1003
  """
1013
1004
  Sends this sender an error message
@@ -1030,18 +1021,12 @@ class CommandSenderWrapper(CommandSender):
1030
1021
  """
1031
1022
  Represents a wrapper that forwards commands to the wrapped CommandSender and captures its output
1032
1023
  """
1033
- @staticmethod
1034
- def _pybind11_conduit_v1_(*args, **kwargs):
1035
- ...
1036
1024
  def __init__(self, sender: CommandSender, on_message: typing.Callable[[str | Translatable], None] = None, on_error: typing.Callable[[str | Translatable], None] = None) -> None:
1037
1025
  ...
1038
1026
  class ConsoleCommandSender(CommandSender):
1039
1027
  """
1040
1028
  Represents a console command sender.
1041
1029
  """
1042
- @staticmethod
1043
- def _pybind11_conduit_v1_(*args, **kwargs):
1044
- ...
1045
1030
  class Criteria:
1046
1031
  """
1047
1032
  Represents a scoreboard criteria.
@@ -1052,9 +1037,6 @@ class Criteria:
1052
1037
  """
1053
1038
  DUMMY: typing.ClassVar[Criteria.Type] # value = <Type.DUMMY: 0>
1054
1039
  __members__: typing.ClassVar[dict[str, Criteria.Type]] # value = {'DUMMY': <Type.DUMMY: 0>}
1055
- @staticmethod
1056
- def _pybind11_conduit_v1_(*args, **kwargs):
1057
- ...
1058
1040
  def __eq__(self, other: typing.Any) -> bool:
1059
1041
  ...
1060
1042
  def __getstate__(self) -> int:
@@ -1082,9 +1064,6 @@ class Criteria:
1082
1064
  def value(self) -> int:
1083
1065
  ...
1084
1066
  DUMMY: typing.ClassVar[Criteria.Type] # value = <Type.DUMMY: 0>
1085
- @staticmethod
1086
- def _pybind11_conduit_v1_(*args, **kwargs):
1087
- ...
1088
1067
  @property
1089
1068
  def default_render_type(self) -> RenderType:
1090
1069
  ...
@@ -1098,9 +1077,6 @@ class DamageSource:
1098
1077
  """
1099
1078
  Represents a source of damage.
1100
1079
  """
1101
- @staticmethod
1102
- def _pybind11_conduit_v1_(*args, **kwargs):
1103
- ...
1104
1080
  def __str__(self) -> str:
1105
1081
  ...
1106
1082
  @property
@@ -1136,9 +1112,6 @@ class Dimension:
1136
1112
  OVERWORLD: typing.ClassVar[Dimension.Type] # value = <Type.OVERWORLD: 0>
1137
1113
  THE_END: typing.ClassVar[Dimension.Type] # value = <Type.THE_END: 2>
1138
1114
  __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>}
1139
- @staticmethod
1140
- def _pybind11_conduit_v1_(*args, **kwargs):
1141
- ...
1142
1115
  def __eq__(self, other: typing.Any) -> bool:
1143
1116
  ...
1144
1117
  def __getstate__(self) -> int:
@@ -1169,9 +1142,6 @@ class Dimension:
1169
1142
  NETHER: typing.ClassVar[Dimension.Type] # value = <Type.NETHER: 1>
1170
1143
  OVERWORLD: typing.ClassVar[Dimension.Type] # value = <Type.OVERWORLD: 0>
1171
1144
  THE_END: typing.ClassVar[Dimension.Type] # value = <Type.THE_END: 2>
1172
- @staticmethod
1173
- def _pybind11_conduit_v1_(*args, **kwargs):
1174
- ...
1175
1145
  @typing.overload
1176
1146
  def get_block_at(self, location: Location) -> Block:
1177
1147
  """
@@ -1216,6 +1186,15 @@ class Dimension:
1216
1186
  """
1217
1187
  Gets the type of this dimension
1218
1188
  """
1189
+ class DimensionEvent(LevelEvent):
1190
+ """
1191
+ Represents events within a dimension
1192
+ """
1193
+ @property
1194
+ def dimension(self) -> Dimension:
1195
+ """
1196
+ Gets the dimension primarily involved with this event
1197
+ """
1219
1198
  class DisplaySlot:
1220
1199
  """
1221
1200
  Locations for displaying objectives to the player
@@ -1224,9 +1203,6 @@ class DisplaySlot:
1224
1203
  PLAYER_LIST: typing.ClassVar[DisplaySlot] # value = <DisplaySlot.PLAYER_LIST: 1>
1225
1204
  SIDE_BAR: typing.ClassVar[DisplaySlot] # value = <DisplaySlot.SIDE_BAR: 2>
1226
1205
  __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>}
1227
- @staticmethod
1228
- def _pybind11_conduit_v1_(*args, **kwargs):
1229
- ...
1230
1206
  def __eq__(self, other: typing.Any) -> bool:
1231
1207
  ...
1232
1208
  def __getstate__(self) -> int:
@@ -1253,13 +1229,16 @@ class DisplaySlot:
1253
1229
  @property
1254
1230
  def value(self) -> int:
1255
1231
  ...
1232
+ class Divider:
1233
+ """
1234
+ Represents a divider.
1235
+ """
1236
+ def __init__(self) -> None:
1237
+ ...
1256
1238
  class Dropdown:
1257
1239
  """
1258
1240
  Represents a dropdown with a set of predefined options.
1259
1241
  """
1260
- @staticmethod
1261
- def _pybind11_conduit_v1_(*args, **kwargs):
1262
- ...
1263
1242
  def __init__(self, label: str | Translatable = '', options: list[str] | None = None, default_index: int | None = None) -> None:
1264
1243
  ...
1265
1244
  def add_option(self, option: str) -> Dropdown:
@@ -1290,13 +1269,95 @@ class Dropdown:
1290
1269
  @options.setter
1291
1270
  def options(self, arg1: list[str]) -> Dropdown:
1292
1271
  ...
1272
+ class Enchantment:
1273
+ def can_enchant_item(self, item: ItemStack) -> bool:
1274
+ """
1275
+ Checks if this Enchantment may be applied to the given ItemStack.
1276
+
1277
+ This does not check if it conflicts with any enchantments already applied to the item.
1278
+ """
1279
+ def conflicts_with(self, other: Enchantment) -> bool:
1280
+ """
1281
+ Check if this enchantment conflicts with another enchantment.
1282
+ """
1283
+ @property
1284
+ def key(self) -> NamespacedKey:
1285
+ """
1286
+ Return the namespaced identifier for this enchantment.
1287
+ """
1288
+ @property
1289
+ def max_level(self) -> int:
1290
+ """
1291
+ Gets the maximum level that this Enchantment may become.
1292
+ """
1293
+ @property
1294
+ def start_level(self) -> int:
1295
+ """
1296
+ Gets the level that this Enchantment should start at (also known as minimum level).
1297
+ """
1298
+ @property
1299
+ def translation_key(self) -> str:
1300
+ """
1301
+ Get the translation key, suitable for use in a translation component.
1302
+ """
1303
+ class EnchantmentRegistry:
1304
+ @typing.overload
1305
+ def __contains__(self, key: NamespacedKey) -> bool:
1306
+ ...
1307
+ @typing.overload
1308
+ def __contains__(self, key: str) -> bool:
1309
+ ...
1310
+ @typing.overload
1311
+ def __getitem__(self, key: NamespacedKey) -> Enchantment:
1312
+ ...
1313
+ @typing.overload
1314
+ def __getitem__(self, key: str) -> Enchantment:
1315
+ ...
1316
+ def __iter__(self) -> list:
1317
+ ...
1318
+ def get(self, key: NamespacedKey) -> Enchantment:
1319
+ ...
1320
+ def get_or_throw(self, key: NamespacedKey) -> Enchantment:
1321
+ ...
1322
+ class EquipmentSlot:
1323
+ BODY: typing.ClassVar[EquipmentSlot] # value = <EquipmentSlot.BODY: 6>
1324
+ CHEST: typing.ClassVar[EquipmentSlot] # value = <EquipmentSlot.CHEST: 4>
1325
+ FEET: typing.ClassVar[EquipmentSlot] # value = <EquipmentSlot.FEET: 2>
1326
+ HAND: typing.ClassVar[EquipmentSlot] # value = <EquipmentSlot.HAND: 0>
1327
+ HEAD: typing.ClassVar[EquipmentSlot] # value = <EquipmentSlot.HEAD: 5>
1328
+ LEGS: typing.ClassVar[EquipmentSlot] # value = <EquipmentSlot.LEGS: 3>
1329
+ OFF_HAND: typing.ClassVar[EquipmentSlot] # value = <EquipmentSlot.OFF_HAND: 1>
1330
+ __members__: typing.ClassVar[dict[str, EquipmentSlot]] # value = {'HAND': <EquipmentSlot.HAND: 0>, 'OFF_HAND': <EquipmentSlot.OFF_HAND: 1>, 'FEET': <EquipmentSlot.FEET: 2>, 'LEGS': <EquipmentSlot.LEGS: 3>, 'CHEST': <EquipmentSlot.CHEST: 4>, 'HEAD': <EquipmentSlot.HEAD: 5>, 'BODY': <EquipmentSlot.BODY: 6>}
1331
+ def __eq__(self, other: typing.Any) -> bool:
1332
+ ...
1333
+ def __getstate__(self) -> int:
1334
+ ...
1335
+ def __hash__(self) -> int:
1336
+ ...
1337
+ def __index__(self) -> int:
1338
+ ...
1339
+ def __init__(self, value: int) -> None:
1340
+ ...
1341
+ def __int__(self) -> int:
1342
+ ...
1343
+ def __ne__(self, other: typing.Any) -> bool:
1344
+ ...
1345
+ def __repr__(self) -> str:
1346
+ ...
1347
+ def __setstate__(self, state: int) -> None:
1348
+ ...
1349
+ def __str__(self) -> str:
1350
+ ...
1351
+ @property
1352
+ def name(self) -> str:
1353
+ ...
1354
+ @property
1355
+ def value(self) -> int:
1356
+ ...
1293
1357
  class Event:
1294
1358
  """
1295
1359
  Represents an event.
1296
1360
  """
1297
- @staticmethod
1298
- def _pybind11_conduit_v1_(*args, **kwargs):
1299
- ...
1300
1361
  @property
1301
1362
  def event_name(self) -> str:
1302
1363
  """
@@ -1318,9 +1379,37 @@ class EventPriority:
1318
1379
  MONITOR: typing.ClassVar[EventPriority] # value = <EventPriority.MONITOR: 5>
1319
1380
  NORMAL: typing.ClassVar[EventPriority] # value = <EventPriority.NORMAL: 2>
1320
1381
  __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>}
1321
- @staticmethod
1322
- def _pybind11_conduit_v1_(*args, **kwargs):
1382
+ def __eq__(self, other: typing.Any) -> bool:
1383
+ ...
1384
+ def __getstate__(self) -> int:
1323
1385
  ...
1386
+ def __hash__(self) -> int:
1387
+ ...
1388
+ def __index__(self) -> int:
1389
+ ...
1390
+ def __init__(self, value: int) -> None:
1391
+ ...
1392
+ def __int__(self) -> int:
1393
+ ...
1394
+ def __ne__(self, other: typing.Any) -> bool:
1395
+ ...
1396
+ def __repr__(self) -> str:
1397
+ ...
1398
+ def __setstate__(self, state: int) -> None:
1399
+ ...
1400
+ def __str__(self) -> str:
1401
+ ...
1402
+ @property
1403
+ def name(self) -> str:
1404
+ ...
1405
+ @property
1406
+ def value(self) -> int:
1407
+ ...
1408
+ class EventResult:
1409
+ ALLOW: typing.ClassVar[EventResult] # value = <EventResult.ALLOW: 2>
1410
+ DEFAULT: typing.ClassVar[EventResult] # value = <EventResult.DEFAULT: 1>
1411
+ DENY: typing.ClassVar[EventResult] # value = <EventResult.DENY: 0>
1412
+ __members__: typing.ClassVar[dict[str, EventResult]] # value = {'DENY': <EventResult.DENY: 0>, 'DEFAULT': <EventResult.DEFAULT: 1>, 'ALLOW': <EventResult.ALLOW: 2>}
1324
1413
  def __eq__(self, other: typing.Any) -> bool:
1325
1414
  ...
1326
1415
  def __getstate__(self) -> int:
@@ -1356,9 +1445,6 @@ class GameMode:
1356
1445
  SPECTATOR: typing.ClassVar[GameMode] # value = <GameMode.SPECTATOR: 3>
1357
1446
  SURVIVAL: typing.ClassVar[GameMode] # value = <GameMode.SURVIVAL: 0>
1358
1447
  __members__: typing.ClassVar[dict[str, GameMode]] # value = {'SURVIVAL': <GameMode.SURVIVAL: 0>, 'CREATIVE': <GameMode.CREATIVE: 1>, 'ADVENTURE': <GameMode.ADVENTURE: 2>, 'SPECTATOR': <GameMode.SPECTATOR: 3>}
1359
- @staticmethod
1360
- def _pybind11_conduit_v1_(*args, **kwargs):
1361
- ...
1362
1448
  def __eq__(self, other: typing.Any) -> bool:
1363
1449
  ...
1364
1450
  def __getstate__(self) -> int:
@@ -1385,41 +1471,140 @@ class GameMode:
1385
1471
  @property
1386
1472
  def value(self) -> int:
1387
1473
  ...
1388
- class Inventory:
1474
+ class Header:
1389
1475
  """
1390
- Interface to the various inventories.
1476
+ Represents a header with a label.
1391
1477
  """
1392
- @staticmethod
1393
- def _pybind11_conduit_v1_(*args, **kwargs):
1478
+ def __init__(self, label: str | Translatable = '') -> None:
1394
1479
  ...
1395
- def __get_item__(self, index: int) -> ItemStack:
1396
- """
1397
- Returns the ItemStack found in the slot at the given index
1480
+ @property
1481
+ def label(self) -> str | Translatable:
1398
1482
  """
1399
- def __len__(self) -> int:
1483
+ Gets or sets the label of the header.
1484
+ """
1485
+ @label.setter
1486
+ def label(self, arg1: str | Translatable) -> Header:
1487
+ ...
1488
+ class Inventory:
1489
+ """
1490
+ Interface to the various inventories.
1491
+ """
1492
+ @typing.overload
1493
+ def __contains__(self, item: ItemStack) -> bool:
1494
+ """
1495
+ Checks if the inventory contains any ItemStacks with the given ItemStack.
1496
+ """
1497
+ @typing.overload
1498
+ def __contains__(self, type: str) -> bool:
1499
+ """
1500
+ Checks if the inventory contains any ItemStacks with the given ItemType.
1501
+ """
1502
+ def __getitem__(self, index: int) -> ItemStack:
1503
+ """
1504
+ Returns the ItemStack found in the slot at the given index
1505
+ """
1506
+ def __len__(self) -> int:
1400
1507
  """
1401
1508
  Returns the size of the inventory
1402
1509
  """
1403
- def __set_item__(self, index: int, item: ItemStack) -> None:
1510
+ def __setitem__(self, index: int, item: ItemStack) -> None:
1404
1511
  """
1405
1512
  Stores the ItemStack at the given index of the inventory.
1406
1513
  """
1407
- def add_item(self, item: ItemStack) -> None:
1514
+ def add_item(self, *args) -> dict[int, ItemStack]:
1515
+ """
1516
+ Stores the given ItemStacks in the inventory.
1517
+ This will try to fill existing stacks and empty slots as well as it can.
1518
+
1519
+ The returned map contains what it couldn't store, where the key is the index, and the value is the ItemStack.
1520
+ If all items are stored, it will return an empty dict.
1521
+ """
1522
+ @typing.overload
1523
+ def all(self, item: ItemStack) -> dict[int, ItemStack]:
1524
+ """
1525
+ Finds all slots in the inventory containing any ItemStacks with the given ItemStack.
1526
+ This will only match slots if both the type and the amount of the stack match
1527
+ The returned map contains entries where, the key is the slot index, and the value is the ItemStack in that slot. If no matching ItemStack is found, an empty dict is returned.
1528
+ """
1529
+ @typing.overload
1530
+ def all(self, type: str) -> dict[int, ItemStack]:
1531
+ """
1532
+ Finds all slots in the inventory containing any ItemStacks with the given ItemType.
1533
+ The returned map contains entries where, the key is the slot index, and the value is the ItemStack in that slot. If no matching ItemStack is found, an empty dict is returned.
1534
+ """
1535
+ @typing.overload
1536
+ def clear(self, index: int) -> None:
1408
1537
  """
1409
- Stores the given ItemStacks in the inventory. This will try to fill existing stacks and empty slots as well as it can.
1538
+ Clears out a particular slot in the index.
1410
1539
  """
1540
+ @typing.overload
1411
1541
  def clear(self) -> None:
1412
1542
  """
1413
1543
  Clears out the whole Inventory.
1414
1544
  """
1545
+ @typing.overload
1546
+ def contains(self, item: ItemStack, amount: int) -> bool:
1547
+ """
1548
+ Checks if the inventory contains at least the minimum amount specified of exactly matching ItemStacks.
1549
+ An ItemStack only counts if both the type and the amount of the stack match.
1550
+ """
1551
+ @typing.overload
1552
+ def contains(self, item: ItemStack) -> bool:
1553
+ """
1554
+ Checks if the inventory contains any ItemStacks with the given ItemStack.
1555
+ This will only return true if both the type and the amount of the stack match.
1556
+ """
1557
+ @typing.overload
1558
+ def contains(self, type: str) -> bool:
1559
+ """
1560
+ Checks if the inventory contains any ItemStacks with the given ItemType.
1561
+ """
1562
+ @typing.overload
1563
+ def contains_at_least(self, item: ItemStack, amount: int) -> bool:
1564
+ """
1565
+ Checks if the inventory contains ItemStacks matching the given ItemStack whose amounts sum to at least the minimum amount specified.
1566
+ """
1567
+ @typing.overload
1568
+ def contains_at_least(self, type: str, amount: int) -> bool:
1569
+ """
1570
+ Checks if the inventory contains any ItemStacks with the given ItemType, adding to at least the minimum amount specified.
1571
+ """
1572
+ @typing.overload
1415
1573
  def first(self, item: ItemStack) -> int:
1416
1574
  """
1417
1575
  Returns the first slot in the inventory containing an ItemStack with the given stack.
1576
+ This will only match slots if both the type and the amount of the stack match
1577
+ The returned map contains entries where, the key is the slot index, and the value is the ItemStack in that slot. If no matching ItemStack is found, an empty dict is returned.
1578
+ """
1579
+ @typing.overload
1580
+ def first(self, type: str) -> int:
1581
+ """
1582
+ Finds the first slot in the inventory containing an ItemStack with the given ItemType.
1583
+ The returned map contains entries where, the key is the slot index, and the value is the ItemStack in that slot. If no matching ItemStack is found, an empty dict is returned.
1418
1584
  """
1419
1585
  def get_item(self, index: int) -> ItemStack:
1420
1586
  """
1421
1587
  Returns the ItemStack found in the slot at the given index
1422
1588
  """
1589
+ @typing.overload
1590
+ def remove(self, item: ItemStack) -> None:
1591
+ """
1592
+ Removes all stacks in the inventory matching the given stack.
1593
+ This will only match a slot if both the type and the amount of the stack match
1594
+ """
1595
+ @typing.overload
1596
+ def remove(self, type: str) -> None:
1597
+ """
1598
+ Removes all stacks in the inventory matching the given ItemType.
1599
+ """
1600
+ def remove_item(self, *args) -> dict[int, ItemStack]:
1601
+ """
1602
+ Removes the given ItemStacks from the inventory.
1603
+ It will try to remove 'as much as possible' from the types and amounts you give as arguments.
1604
+
1605
+ The returned HashMap contains what it couldn't remove, where the key is the index, and the value is the ItemStack.
1606
+ If all the given ItemStacks are removed, it will return an empty dict.
1607
+ """
1423
1608
  def set_item(self, index: int, item: ItemStack) -> None:
1424
1609
  """
1425
1610
  Stores the ItemStack at the given index of the inventory.
@@ -1429,6 +1614,14 @@ class Inventory:
1429
1614
  """
1430
1615
  Returns all ItemStacks from the inventory
1431
1616
  """
1617
+ @contents.setter
1618
+ def contents(self, arg1: list[ItemStack]) -> None:
1619
+ ...
1620
+ @property
1621
+ def first_empty(self) -> int:
1622
+ """
1623
+ Returns the first empty Slot.
1624
+ """
1432
1625
  @property
1433
1626
  def is_empty(self) -> bool:
1434
1627
  """
@@ -1448,9 +1641,6 @@ class IpBanEntry(BanEntry):
1448
1641
  """
1449
1642
  Represents a ban entry for an IP address.
1450
1643
  """
1451
- @staticmethod
1452
- def _pybind11_conduit_v1_(*args, **kwargs):
1453
- ...
1454
1644
  def __init__(self, address: str) -> None:
1455
1645
  ...
1456
1646
  @property
@@ -1462,9 +1652,6 @@ class IpBanList:
1462
1652
  """
1463
1653
  Represents a ban list containing banned IP addresses.
1464
1654
  """
1465
- @staticmethod
1466
- def _pybind11_conduit_v1_(*args, **kwargs):
1467
- ...
1468
1655
  def add_ban(self, address: str, reason: str | None = None, expires: datetime.datetime | None = None, source: str | None = None) -> IpBanEntry:
1469
1656
  """
1470
1657
  Adds a ban to this list, or updates an existing one.
@@ -1486,17 +1673,95 @@ class IpBanList:
1486
1673
  """
1487
1674
  Gets a vector of pointers to entries in the ban list.
1488
1675
  """
1676
+ class Item(Actor):
1677
+ """
1678
+ Represents a base actor in the level.
1679
+ """
1680
+ @property
1681
+ def is_unlimited_lifetime(self) -> bool:
1682
+ """
1683
+ Gets or sets if this Item lives forever
1684
+ """
1685
+ @is_unlimited_lifetime.setter
1686
+ def is_unlimited_lifetime(self, arg1: bool) -> None:
1687
+ ...
1688
+ @property
1689
+ def item_stack(self) -> ItemStack:
1690
+ """
1691
+ Gets or sets the item stack associated with this item drop.
1692
+ """
1693
+ @item_stack.setter
1694
+ def item_stack(self, arg1: ItemStack) -> None:
1695
+ ...
1696
+ @property
1697
+ def pickup_delay(self) -> int:
1698
+ """
1699
+ Gets or sets the delay before this Item is available to be picked up by players.
1700
+ """
1701
+ @pickup_delay.setter
1702
+ def pickup_delay(self, arg1: int) -> None:
1703
+ ...
1704
+ @property
1705
+ def thrower(self) -> int | None:
1706
+ """
1707
+ Gets or sets the thrower of this item.
1708
+ """
1709
+ @thrower.setter
1710
+ def thrower(self, arg1: int | None) -> None:
1711
+ ...
1712
+ class ItemFactory:
1713
+ def as_meta_for(self, meta: ItemMeta, type: ItemType) -> ItemMeta:
1714
+ """
1715
+ Returns an appropriate item meta for the specified item type.
1716
+ """
1717
+ def equals(self, meta1: ItemMeta, meta2: ItemMeta) -> bool:
1718
+ """
1719
+ This method is used to compare two ItemMeta objects.
1720
+ """
1721
+ def get_item_meta(self, type: ItemType) -> ItemMeta:
1722
+ """
1723
+ This creates a new item meta for the item type.
1724
+ """
1725
+ def is_applicable(self, meta: ItemMeta, type: ItemType) -> bool:
1726
+ """
1727
+ This method checks the item meta to confirm that it is applicable (no data lost if applied) to the specified ItemStack
1728
+ """
1489
1729
  class ItemMeta:
1490
1730
  """
1491
1731
  Represents the metadata of a generic item.
1492
1732
  """
1493
- @staticmethod
1494
- def _pybind11_conduit_v1_(*args, **kwargs):
1495
- ...
1733
+ def add_enchant(self, id: str, level: int, force: bool = False) -> bool:
1734
+ """
1735
+ Adds the specified enchantment to this item meta.
1736
+ """
1496
1737
  def clone(self) -> ItemMeta:
1497
1738
  """
1498
1739
  Creates a clone of the current metadata.
1499
1740
  """
1741
+ def get_enchant_level(self, id: str) -> int:
1742
+ """
1743
+ Checks for the level of the specified enchantment.
1744
+ """
1745
+ def has_enchant(self, id: str) -> bool:
1746
+ """
1747
+ Checks for existence of the specified enchantment.
1748
+ """
1749
+ def remove_enchant(self, id: str) -> bool:
1750
+ """
1751
+ Removes the specified enchantment from this item meta.
1752
+ """
1753
+ def remove_enchants(self) -> None:
1754
+ """
1755
+ Removes all enchantments from this item meta.
1756
+ """
1757
+ @property
1758
+ def damage(self) -> int:
1759
+ """
1760
+ Gets or sets the damage.
1761
+ """
1762
+ @damage.setter
1763
+ def damage(self, arg1: int) -> None:
1764
+ ...
1500
1765
  @property
1501
1766
  def display_name(self) -> str | None:
1502
1767
  """
@@ -1506,16 +1771,44 @@ class ItemMeta:
1506
1771
  def display_name(self, arg1: str | None) -> None:
1507
1772
  ...
1508
1773
  @property
1774
+ def enchants(self) -> dict[str, int]:
1775
+ """
1776
+ Returns a copy the enchantments in this ItemMeta.
1777
+ """
1778
+ @property
1779
+ def has_damage(self) -> bool:
1780
+ """
1781
+ Checks to see if this item has damage.
1782
+ """
1783
+ @property
1509
1784
  def has_display_name(self) -> bool:
1510
1785
  """
1511
1786
  Checks for existence of a display name.
1512
1787
  """
1513
1788
  @property
1789
+ def has_enchants(self) -> bool:
1790
+ """
1791
+ Checks for the existence of any enchantments.
1792
+ """
1793
+ @property
1514
1794
  def has_lore(self) -> bool:
1515
1795
  """
1516
1796
  Checks for existence of lore.
1517
1797
  """
1518
1798
  @property
1799
+ def has_repair_cost(self) -> bool:
1800
+ """
1801
+ Checks to see if this item has a repair penalty.
1802
+ """
1803
+ @property
1804
+ def is_unbreakable(self) -> bool:
1805
+ """
1806
+ Gets or sets the unbreakable tag. An unbreakable item will not lose durability.
1807
+ """
1808
+ @is_unbreakable.setter
1809
+ def is_unbreakable(self, arg1: bool) -> None:
1810
+ ...
1811
+ @property
1519
1812
  def lore(self) -> list[str] | None:
1520
1813
  """
1521
1814
  Gets or sets the lore for this item.
@@ -1523,17 +1816,50 @@ class ItemMeta:
1523
1816
  @lore.setter
1524
1817
  def lore(self, arg1: list[str] | None) -> None:
1525
1818
  ...
1819
+ @property
1820
+ def repair_cost(self) -> int:
1821
+ """
1822
+ Gets or sets the repair penalty.
1823
+ """
1824
+ @repair_cost.setter
1825
+ def repair_cost(self, arg1: int) -> None:
1826
+ ...
1827
+ class ItemRegistry:
1828
+ @typing.overload
1829
+ def __contains__(self, key: NamespacedKey) -> bool:
1830
+ ...
1831
+ @typing.overload
1832
+ def __contains__(self, key: str) -> bool:
1833
+ ...
1834
+ @typing.overload
1835
+ def __getitem__(self, key: NamespacedKey) -> ItemType:
1836
+ ...
1837
+ @typing.overload
1838
+ def __getitem__(self, key: str) -> ItemType:
1839
+ ...
1840
+ def __iter__(self) -> list:
1841
+ ...
1842
+ def get(self, key: NamespacedKey) -> ItemType:
1843
+ ...
1844
+ def get_or_throw(self, key: NamespacedKey) -> ItemType:
1845
+ ...
1526
1846
  class ItemStack:
1527
1847
  """
1528
1848
  Represents a stack of items.
1529
1849
  """
1530
- @staticmethod
1531
- def _pybind11_conduit_v1_(*args, **kwargs):
1850
+ __hash__: typing.ClassVar[None] = None
1851
+ def __eq__(self, arg0: ItemStack) -> bool:
1852
+ ...
1853
+ def __init__(self, type: str, amount: int = 1, data: int = 0) -> None:
1532
1854
  ...
1533
- def __init__(self, type: str = 'minecraft:air', amount: int = 1) -> None:
1855
+ def __ne__(self, arg0: ItemStack) -> bool:
1534
1856
  ...
1535
1857
  def __str__(self) -> str:
1536
1858
  ...
1859
+ def is_similar(self, other: ItemStack) -> bool:
1860
+ """
1861
+ Checks if the two stacks are equal, but does not consider stack size (amount).
1862
+ """
1537
1863
  def set_item_meta(self, meta: ItemMeta) -> bool:
1538
1864
  """
1539
1865
  Set the ItemMeta of this ItemStack.
@@ -1547,25 +1873,84 @@ class ItemStack:
1547
1873
  def amount(self, arg1: int) -> None:
1548
1874
  ...
1549
1875
  @property
1876
+ def data(self) -> int:
1877
+ """
1878
+ Gets or sets the data for this stack of items.
1879
+ """
1880
+ @data.setter
1881
+ def data(self, arg1: int) -> None:
1882
+ ...
1883
+ @property
1550
1884
  def item_meta(self) -> ItemMeta:
1551
1885
  """
1552
1886
  Gets a copy of the ItemMeta of this ItemStack.
1553
1887
  """
1554
1888
  @property
1555
- def type(self) -> str:
1889
+ def max_stack_size(self) -> int:
1890
+ """
1891
+ Get the maximum stack size for this item.
1892
+ """
1893
+ @property
1894
+ def type(self) -> ItemType:
1556
1895
  """
1557
1896
  Gets or sets the type of this item.
1558
1897
  """
1559
1898
  @type.setter
1560
1899
  def type(self, arg1: str) -> None:
1561
1900
  ...
1562
- class Label:
1901
+ class ItemType:
1563
1902
  """
1564
- Represents a text label.
1903
+ Represents an item type.
1565
1904
  """
1905
+ __hash__: typing.ClassVar[None] = None
1566
1906
  @staticmethod
1567
- def _pybind11_conduit_v1_(*args, **kwargs):
1907
+ def get(name: str) -> ItemType:
1908
+ """
1909
+ Attempts to get the ItemType with the given name.
1910
+ """
1911
+ @typing.overload
1912
+ def __eq__(self, arg0: ItemType) -> bool:
1913
+ ...
1914
+ @typing.overload
1915
+ def __eq__(self, arg0: str) -> bool:
1568
1916
  ...
1917
+ @typing.overload
1918
+ def __ne__(self, arg0: ItemType) -> bool:
1919
+ ...
1920
+ @typing.overload
1921
+ def __ne__(self, arg0: str) -> bool:
1922
+ ...
1923
+ def __str__(self) -> str:
1924
+ ...
1925
+ @property
1926
+ def id(self) -> str:
1927
+ """
1928
+ Return the identifier of this item type.
1929
+ """
1930
+ @property
1931
+ def key(self) -> NamespacedKey:
1932
+ """
1933
+ Return the namespaced identifier of this item type.
1934
+ """
1935
+ @property
1936
+ def max_durability(self) -> int:
1937
+ """
1938
+ Gets the maximum durability of this item type
1939
+ """
1940
+ @property
1941
+ def max_stack_size(self) -> int:
1942
+ """
1943
+ Gets the maximum amount of this item type that can be held in a stack.
1944
+ """
1945
+ @property
1946
+ def translation_key(self) -> str:
1947
+ """
1948
+ Get the translation key, suitable for use in a translation component.
1949
+ """
1950
+ class Label:
1951
+ """
1952
+ Represents a text label.
1953
+ """
1569
1954
  def __init__(self, text: str | Translatable = '') -> None:
1570
1955
  ...
1571
1956
  @property
@@ -1580,9 +1965,6 @@ class Language:
1580
1965
  """
1581
1966
  Represents the interface for translating text into different languages.
1582
1967
  """
1583
- @staticmethod
1584
- def _pybind11_conduit_v1_(*args, **kwargs):
1585
- ...
1586
1968
  @typing.overload
1587
1969
  def translate(self, text: str, params: list[str] | None = None, locale: str | None = None) -> str:
1588
1970
  """
@@ -1598,10 +1980,12 @@ class Language:
1598
1980
  """
1599
1981
  Gets the current locale.
1600
1982
  """
1983
+ class LeavesDecayEvent(BlockEvent, Cancellable):
1984
+ """
1985
+ Called when leaves are decaying naturally.
1986
+ If a Leaves Decay event is cancelled, the leaves will not decay.
1987
+ """
1601
1988
  class Level:
1602
- @staticmethod
1603
- def _pybind11_conduit_v1_(*args, **kwargs):
1604
- ...
1605
1989
  def get_dimension(self, name: str) -> Dimension:
1606
1990
  """
1607
1991
  Gets the dimension with the given name.
@@ -1622,6 +2006,11 @@ class Level:
1622
2006
  Gets the unique name of this level
1623
2007
  """
1624
2008
  @property
2009
+ def seed(self) -> int:
2010
+ """
2011
+ Gets the Seed for this level.
2012
+ """
2013
+ @property
1625
2014
  def time(self) -> int:
1626
2015
  """
1627
2016
  Gets and sets the relative in-game time on the server
@@ -1629,13 +2018,19 @@ class Level:
1629
2018
  @time.setter
1630
2019
  def time(self, arg1: int) -> None:
1631
2020
  ...
2021
+ class LevelEvent(Event):
2022
+ """
2023
+ Represents events within a level
2024
+ """
2025
+ @property
2026
+ def level(self) -> Level:
2027
+ """
2028
+ Gets the level primarily involved with this event
2029
+ """
1632
2030
  class Location(Position):
1633
2031
  """
1634
2032
  Represents a 3-dimensional location in a dimension within a level.
1635
2033
  """
1636
- @staticmethod
1637
- def _pybind11_conduit_v1_(*args, **kwargs):
1638
- ...
1639
2034
  def __init__(self, dimension: Dimension, x: float, y: float, z: float, pitch: float = 0.0, yaw: float = 0.0) -> None:
1640
2035
  ...
1641
2036
  def __repr__(self) -> str:
@@ -1673,9 +2068,6 @@ class Logger:
1673
2068
  TRACE: typing.ClassVar[Logger.Level] # value = <Level.TRACE: 0>
1674
2069
  WARNING: typing.ClassVar[Logger.Level] # value = <Level.WARNING: 3>
1675
2070
  __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>}
1676
- @staticmethod
1677
- def _pybind11_conduit_v1_(*args, **kwargs):
1678
- ...
1679
2071
  def __eq__(self, other: typing.Any) -> bool:
1680
2072
  ...
1681
2073
  def __getstate__(self) -> int:
@@ -1708,9 +2100,6 @@ class Logger:
1708
2100
  INFO: typing.ClassVar[Logger.Level] # value = <Level.INFO: 2>
1709
2101
  TRACE: typing.ClassVar[Logger.Level] # value = <Level.TRACE: 0>
1710
2102
  WARNING: typing.ClassVar[Logger.Level] # value = <Level.WARNING: 3>
1711
- @staticmethod
1712
- def _pybind11_conduit_v1_(*args, **kwargs):
1713
- ...
1714
2103
  def critical(self, message: str) -> None:
1715
2104
  """
1716
2105
  Log a message at the CRITICAL level.
@@ -1748,20 +2137,170 @@ class Logger:
1748
2137
  """
1749
2138
  Get the name of this Logger instance.
1750
2139
  """
2140
+ class MapCanvas:
2141
+ """
2142
+ Represents a canvas for drawing to a map. Each canvas is associated with a specific MapRenderer and represents that renderer's layer on the map.
2143
+ """
2144
+ def draw_image(self, x: int, y: int, image: numpy.ndarray[numpy.uint8]) -> None:
2145
+ """
2146
+ Draw an image to the map. The image will be clipped if necessary.
2147
+ """
2148
+ def get_base_pixel_color(self, x: int, y: int) -> tuple[int, ...]:
2149
+ """
2150
+ Get a pixel from the layers below this canvas.
2151
+ """
2152
+ def get_pixel_color(self, x: int, y: int) -> tuple[int, ...] | None:
2153
+ """
2154
+ Get a pixel from the canvas.
2155
+
2156
+ If no color is set at the given position for this canvas, then None is returned and the color returned by get_base_pixel_color() is shown on the map
2157
+ """
2158
+ def set_pixel_color(self, x: int, y: int, color: tuple[int, ...] | None) -> None:
2159
+ """
2160
+ Draw a pixel to the canvas.
2161
+
2162
+ If None is used as color, then the color returned by get_base_pixel_color() is shown on the map.
2163
+ """
2164
+ @property
2165
+ def map_view(self) -> MapView:
2166
+ """
2167
+ Get the map this canvas is attached to.
2168
+ """
1751
2169
  class MapMeta(ItemMeta):
1752
2170
  """
1753
2171
  Represents the metadata for a map item.
1754
2172
  """
1755
- @staticmethod
1756
- def _pybind11_conduit_v1_(*args, **kwargs):
2173
+ class MapRenderer:
2174
+ """
2175
+ Represents a renderer for a map.
2176
+ """
2177
+ def __init__(self, is_contextual: bool = False) -> None:
2178
+ """
2179
+ Initialize the map renderer base with the given contextual status.
2180
+ """
2181
+ def initialize(self, view: MapView) -> None:
2182
+ """
2183
+ Initialize this MapRenderer for the given map.
2184
+ """
2185
+ def render(self, map: MapView, canvas: MapCanvas, player: Player) -> None:
2186
+ """
2187
+ Render to the given map.
2188
+ """
2189
+ class MapView:
2190
+ """
2191
+ Represents a map item.
2192
+ """
2193
+ class Scale:
2194
+ """
2195
+ An enum representing all possible scales a map can be set to.
2196
+ """
2197
+ CLOSE: typing.ClassVar[MapView.Scale] # value = <Scale.CLOSE: 1>
2198
+ CLOSEST: typing.ClassVar[MapView.Scale] # value = <Scale.CLOSEST: 0>
2199
+ FAR: typing.ClassVar[MapView.Scale] # value = <Scale.FAR: 3>
2200
+ FARTHEST: typing.ClassVar[MapView.Scale] # value = <Scale.FARTHEST: 4>
2201
+ NORMAL: typing.ClassVar[MapView.Scale] # value = <Scale.NORMAL: 2>
2202
+ __members__: typing.ClassVar[dict[str, MapView.Scale]] # value = {'CLOSEST': <Scale.CLOSEST: 0>, 'CLOSE': <Scale.CLOSE: 1>, 'NORMAL': <Scale.NORMAL: 2>, 'FAR': <Scale.FAR: 3>, 'FARTHEST': <Scale.FARTHEST: 4>}
2203
+ def __eq__(self, other: typing.Any) -> bool:
2204
+ ...
2205
+ def __getstate__(self) -> int:
2206
+ ...
2207
+ def __hash__(self) -> int:
2208
+ ...
2209
+ def __index__(self) -> int:
2210
+ ...
2211
+ def __init__(self, value: int) -> None:
2212
+ ...
2213
+ def __int__(self) -> int:
2214
+ ...
2215
+ def __ne__(self, other: typing.Any) -> bool:
2216
+ ...
2217
+ def __repr__(self) -> str:
2218
+ ...
2219
+ def __setstate__(self, state: int) -> None:
2220
+ ...
2221
+ def __str__(self) -> str:
2222
+ ...
2223
+ @property
2224
+ def name(self) -> str:
2225
+ ...
2226
+ @property
2227
+ def value(self) -> int:
2228
+ ...
2229
+ def add_renderer(self, renderer: MapRenderer) -> None:
2230
+ """
2231
+ Add a renderer to this map.
2232
+ """
2233
+ def remove_renderer(self, renderer: MapRenderer) -> bool:
2234
+ """
2235
+ Remove a renderer from this map.
2236
+ """
2237
+ @property
2238
+ def center_x(self) -> int:
2239
+ """
2240
+ Get or set the center X position of this map.
2241
+ """
2242
+ @center_x.setter
2243
+ def center_x(self, arg1: int) -> None:
2244
+ ...
2245
+ @property
2246
+ def center_z(self) -> int:
2247
+ """
2248
+ Get or set the center Z position of this map.
2249
+ """
2250
+ @center_z.setter
2251
+ def center_z(self, arg1: int) -> None:
2252
+ ...
2253
+ @property
2254
+ def dimension(self) -> Dimension:
2255
+ """
2256
+ Get or set the dimension that this map is associated with.
2257
+ """
2258
+ @dimension.setter
2259
+ def dimension(self, arg1: Dimension) -> None:
2260
+ ...
2261
+ @property
2262
+ def id(self) -> int:
2263
+ """
2264
+ Get the ID of this map item for use with MapMeta.
2265
+ """
2266
+ @property
2267
+ def is_unlimited_tracking(self) -> bool:
2268
+ """
2269
+ Whether the map will show a smaller position cursor (true), or no position cursor (false) when cursor is outside of map's range.
2270
+ """
2271
+ @is_unlimited_tracking.setter
2272
+ def is_unlimited_tracking(self, arg1: bool) -> None:
2273
+ ...
2274
+ @property
2275
+ def is_virtual(self) -> bool:
2276
+ """
2277
+ Check whether this map is virtual.
2278
+ """
2279
+ @property
2280
+ def locked(self) -> bool:
2281
+ """
2282
+ Whether the map is locked or not. A locked map may not be explored further.
2283
+ """
2284
+ @locked.setter
2285
+ def locked(self, arg1: bool) -> None:
2286
+ ...
2287
+ @property
2288
+ def renderers(self) -> list[MapRenderer]:
2289
+ """
2290
+ Get a copied list of MapRenderers currently in effect.
2291
+ """
2292
+ @property
2293
+ def scale(self) -> MapView.Scale:
2294
+ """
2295
+ Get or set the scale of this map.
2296
+ """
2297
+ @scale.setter
2298
+ def scale(self, arg1: MapView.Scale) -> None:
1757
2299
  ...
1758
2300
  class MessageForm:
1759
2301
  """
1760
2302
  Represents a form with two buttons.
1761
2303
  """
1762
- @staticmethod
1763
- def _pybind11_conduit_v1_(*args, **kwargs):
1764
- ...
1765
2304
  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:
1766
2305
  ...
1767
2306
  @property
@@ -1816,9 +2355,6 @@ class Mob(Actor):
1816
2355
  """
1817
2356
  Represents a mobile entity (i.e. living entity), such as a monster or player.
1818
2357
  """
1819
- @staticmethod
1820
- def _pybind11_conduit_v1_(*args, **kwargs):
1821
- ...
1822
2358
  @property
1823
2359
  def is_gliding(self) -> bool:
1824
2360
  """
@@ -1828,9 +2364,6 @@ class MobEvent(Event):
1828
2364
  """
1829
2365
  Represents an Mob-related event.
1830
2366
  """
1831
- @staticmethod
1832
- def _pybind11_conduit_v1_(*args, **kwargs):
1833
- ...
1834
2367
  @property
1835
2368
  def actor(self) -> Mob:
1836
2369
  """
@@ -1840,22 +2373,19 @@ class ModalForm:
1840
2373
  """
1841
2374
  Represents a modal form with controls.
1842
2375
  """
1843
- @staticmethod
1844
- def _pybind11_conduit_v1_(*args, **kwargs):
1845
- ...
1846
- 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:
2376
+ def __init__(self, title: str | Translatable = '', controls: list[Dropdown | Label | Slider | StepSlider | TextInput | Toggle | Divider | Header] | 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:
1847
2377
  ...
1848
- def add_control(self, control: Dropdown | Label | Slider | StepSlider | TextInput | Toggle) -> ModalForm:
2378
+ def add_control(self, control: Dropdown | Label | Slider | StepSlider | TextInput | Toggle | Divider | Header) -> ModalForm:
1849
2379
  """
1850
2380
  Adds a control to the form.
1851
2381
  """
1852
2382
  @property
1853
- def controls(self) -> list[Dropdown | Label | Slider | StepSlider | TextInput | Toggle]:
2383
+ def controls(self) -> list[Dropdown | Label | Slider | StepSlider | TextInput | Toggle | Divider | Header]:
1854
2384
  """
1855
2385
  Gets or sets the controls of the modal form.
1856
2386
  """
1857
2387
  @controls.setter
1858
- def controls(self, arg1: list[Dropdown | Label | Slider | StepSlider | TextInput | Toggle]) -> ModalForm:
2388
+ def controls(self, arg1: list[Dropdown | Label | Slider | StepSlider | TextInput | Toggle | Divider | Header]) -> ModalForm:
1859
2389
  ...
1860
2390
  @property
1861
2391
  def icon(self) -> str | None:
@@ -1897,14 +2427,36 @@ class ModalForm:
1897
2427
  @title.setter
1898
2428
  def title(self, arg1: str | Translatable) -> ModalForm:
1899
2429
  ...
2430
+ class NamespacedKey:
2431
+ """
2432
+ Represents a string-based key which consists of two components - a namespace and a key.
2433
+ """
2434
+ @staticmethod
2435
+ def from_string(input: str, plugin: Plugin = None) -> NamespacedKey:
2436
+ """
2437
+ Parses a NamespacedKey from a string.
2438
+ """
2439
+ def __init__(self, arg0: Plugin, arg1: str) -> None:
2440
+ ...
2441
+ def __repr__(self) -> str:
2442
+ ...
2443
+ def __str__(self) -> str:
2444
+ ...
2445
+ @property
2446
+ def key(self) -> str:
2447
+ """
2448
+ Returns the key of the NamespacedKey.
2449
+ """
2450
+ @property
2451
+ def namespace(self) -> str:
2452
+ """
2453
+ Returns the namespace of the NamespacedKey.
2454
+ """
1900
2455
  class Objective:
1901
2456
  """
1902
2457
  Represents an objective on a scoreboard that can show scores specific to entries.
1903
2458
  """
1904
2459
  __hash__: typing.ClassVar[None] = None
1905
- @staticmethod
1906
- def _pybind11_conduit_v1_(*args, **kwargs):
1907
- ...
1908
2460
  def __eq__(self, arg0: Objective) -> bool:
1909
2461
  ...
1910
2462
  def __ne__(self, arg0: Objective) -> bool:
@@ -1937,8 +2489,11 @@ class Objective:
1937
2489
  @property
1938
2490
  def display_slot(self) -> DisplaySlot | None:
1939
2491
  """
1940
- Gets the display slot this objective is displayed at
2492
+ Gets or sets the display slot this objective is displayed at
1941
2493
  """
2494
+ @display_slot.setter
2495
+ def display_slot(self, arg1: DisplaySlot | None) -> None:
2496
+ ...
1942
2497
  @property
1943
2498
  def is_displayed(self) -> bool:
1944
2499
  """
@@ -1957,11 +2512,8 @@ class Objective:
1957
2512
  @property
1958
2513
  def render_type(self) -> RenderType:
1959
2514
  """
1960
- Gets and sets the manner in which this objective will be rendered.
2515
+ Gets the manner in which this objective will be rendered.
1961
2516
  """
1962
- @render_type.setter
1963
- def render_type(self, arg1: RenderType) -> None:
1964
- ...
1965
2517
  @property
1966
2518
  def scoreboard(self) -> Scoreboard:
1967
2519
  """
@@ -1970,8 +2522,11 @@ class Objective:
1970
2522
  @property
1971
2523
  def sort_order(self) -> ObjectiveSortOrder | None:
1972
2524
  """
1973
- Gets and sets the sort order for this objective
2525
+ Gets or sets the sort order for this objective
1974
2526
  """
2527
+ @sort_order.setter
2528
+ def sort_order(self, arg1: ObjectiveSortOrder) -> None:
2529
+ ...
1975
2530
  class ObjectiveSortOrder:
1976
2531
  """
1977
2532
  Represents the sort order of objectives on a DisplaySlot.
@@ -1979,9 +2534,6 @@ class ObjectiveSortOrder:
1979
2534
  ASCENDING: typing.ClassVar[ObjectiveSortOrder] # value = <ObjectiveSortOrder.ASCENDING: 0>
1980
2535
  DESCENDING: typing.ClassVar[ObjectiveSortOrder] # value = <ObjectiveSortOrder.DESCENDING: 1>
1981
2536
  __members__: typing.ClassVar[dict[str, ObjectiveSortOrder]] # value = {'ASCENDING': <ObjectiveSortOrder.ASCENDING: 0>, 'DESCENDING': <ObjectiveSortOrder.DESCENDING: 1>}
1982
- @staticmethod
1983
- def _pybind11_conduit_v1_(*args, **kwargs):
1984
- ...
1985
2537
  def __eq__(self, other: typing.Any) -> bool:
1986
2538
  ...
1987
2539
  def __getstate__(self) -> int:
@@ -2012,9 +2564,6 @@ class OfflinePlayer:
2012
2564
  """
2013
2565
  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.
2014
2566
  """
2015
- @staticmethod
2016
- def _pybind11_conduit_v1_(*args, **kwargs):
2017
- ...
2018
2567
  @property
2019
2568
  def name(self) -> str:
2020
2569
  """
@@ -2029,9 +2578,11 @@ class PacketReceiveEvent(ServerEvent, Cancellable):
2029
2578
  """
2030
2579
  Called when the server receives a packet from a connected client.
2031
2580
  """
2032
- @staticmethod
2033
- def _pybind11_conduit_v1_(*args, **kwargs):
2034
- ...
2581
+ @property
2582
+ def address(self) -> SocketAddress:
2583
+ """
2584
+ Gets the network address to which this packet is being sent.
2585
+ """
2035
2586
  @property
2036
2587
  def packet_id(self) -> int:
2037
2588
  """
@@ -2049,14 +2600,22 @@ class PacketReceiveEvent(ServerEvent, Cancellable):
2049
2600
  def player(self) -> Player:
2050
2601
  """
2051
2602
  Gets the player involved in this event
2603
+ NOTE: This may return None if the packet is sent before the player completes the login process.
2604
+ """
2605
+ @property
2606
+ def sub_client_id(self) -> int:
2607
+ """
2608
+ Gets the SubClient ID (0 = primary client; 1-3 = split-screen clients).
2052
2609
  """
2053
2610
  class PacketSendEvent(ServerEvent, Cancellable):
2054
2611
  """
2055
2612
  Called when the server sends a packet to a connected client.
2056
2613
  """
2057
- @staticmethod
2058
- def _pybind11_conduit_v1_(*args, **kwargs):
2059
- ...
2614
+ @property
2615
+ def address(self) -> SocketAddress:
2616
+ """
2617
+ Gets the network address to which this packet is being sent.
2618
+ """
2060
2619
  @property
2061
2620
  def packet_id(self) -> int:
2062
2621
  """
@@ -2074,14 +2633,17 @@ class PacketSendEvent(ServerEvent, Cancellable):
2074
2633
  def player(self) -> Player:
2075
2634
  """
2076
2635
  Gets the player involved in this event
2636
+ NOTE: This may return None if the packet is sent before the player completes the login process.
2637
+ """
2638
+ @property
2639
+ def sub_client_id(self) -> int:
2640
+ """
2641
+ Gets the SubClient ID (0 = primary client; 1-3 = split-screen clients).
2077
2642
  """
2078
2643
  class Permissible:
2079
2644
  """
2080
2645
  Represents an object that may become a server operator and can be assigned permissions.
2081
2646
  """
2082
- @staticmethod
2083
- def _pybind11_conduit_v1_(*args, **kwargs):
2084
- ...
2085
2647
  @typing.overload
2086
2648
  def add_attachment(self, plugin: Plugin, name: str, value: bool) -> PermissionAttachment:
2087
2649
  """
@@ -2126,20 +2688,14 @@ class Permissible:
2126
2688
  Gets effective permissions.
2127
2689
  """
2128
2690
  @property
2129
- def is_op(self) -> bool:
2691
+ def permission_level(self) -> PermissionLevel:
2130
2692
  """
2131
- The operator status of this object
2693
+ Gets the permission level of this object
2132
2694
  """
2133
- @is_op.setter
2134
- def is_op(self, arg1: bool) -> None:
2135
- ...
2136
2695
  class Permission:
2137
2696
  """
2138
2697
  Represents a unique permission that may be attached to a Permissible
2139
2698
  """
2140
- @staticmethod
2141
- def _pybind11_conduit_v1_(*args, **kwargs):
2142
- ...
2143
2699
  def __init__(self, name: str, description: str | None = None, default: PermissionDefault | None = None, children: dict[str, bool] | None = None, *args, **kwargs) -> None:
2144
2700
  ...
2145
2701
  @typing.overload
@@ -2191,9 +2747,6 @@ class PermissionAttachment:
2191
2747
  """
2192
2748
  Holds information about a permission attachment on a Permissible object
2193
2749
  """
2194
- @staticmethod
2195
- def _pybind11_conduit_v1_(*args, **kwargs):
2196
- ...
2197
2750
  def __init__(self, plugin: Plugin, permissible: Permissible) -> None:
2198
2751
  ...
2199
2752
  def remove(self) -> bool:
@@ -2247,9 +2800,6 @@ class PermissionAttachmentInfo:
2247
2800
  """
2248
2801
  Holds information on a permission and which PermissionAttachment provides it
2249
2802
  """
2250
- @staticmethod
2251
- def _pybind11_conduit_v1_(*args, **kwargs):
2252
- ...
2253
2803
  def __init__(self, permissible: Permissible, permission: str, attachment: PermissionAttachment, value: bool) -> None:
2254
2804
  ...
2255
2805
  @property
@@ -2276,16 +2826,46 @@ class PermissionDefault:
2276
2826
  """
2277
2827
  Represents the possible default values for permissions
2278
2828
  """
2829
+ CONSOLE: typing.ClassVar[PermissionDefault] # value = <PermissionDefault.CONSOLE: 4>
2279
2830
  FALSE: typing.ClassVar[PermissionDefault] # value = <PermissionDefault.FALSE: 1>
2280
2831
  NOT_OP: typing.ClassVar[PermissionDefault] # value = <PermissionDefault.NOT_OP: 3>
2281
2832
  NOT_OPERATOR: typing.ClassVar[PermissionDefault] # value = <PermissionDefault.NOT_OP: 3>
2282
2833
  OP: typing.ClassVar[PermissionDefault] # value = <PermissionDefault.OP: 2>
2283
2834
  OPERATOR: typing.ClassVar[PermissionDefault] # value = <PermissionDefault.OP: 2>
2284
2835
  TRUE: typing.ClassVar[PermissionDefault] # value = <PermissionDefault.TRUE: 0>
2285
- __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>}
2286
- @staticmethod
2287
- def _pybind11_conduit_v1_(*args, **kwargs):
2836
+ __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>, 'CONSOLE': <PermissionDefault.CONSOLE: 4>}
2837
+ def __eq__(self, other: typing.Any) -> bool:
2838
+ ...
2839
+ def __getstate__(self) -> int:
2840
+ ...
2841
+ def __hash__(self) -> int:
2842
+ ...
2843
+ def __index__(self) -> int:
2844
+ ...
2845
+ def __init__(self, value: int) -> None:
2846
+ ...
2847
+ def __int__(self) -> int:
2848
+ ...
2849
+ def __ne__(self, other: typing.Any) -> bool:
2288
2850
  ...
2851
+ def __repr__(self) -> str:
2852
+ ...
2853
+ def __setstate__(self, state: int) -> None:
2854
+ ...
2855
+ def __str__(self) -> str:
2856
+ ...
2857
+ @property
2858
+ def name(self) -> str:
2859
+ ...
2860
+ @property
2861
+ def value(self) -> int:
2862
+ ...
2863
+ class PermissionLevel:
2864
+ CONSOLE: typing.ClassVar[PermissionLevel] # value = <PermissionLevel.CONSOLE: 2>
2865
+ DEFAULT: typing.ClassVar[PermissionLevel] # value = <PermissionLevel.DEFAULT: 0>
2866
+ OP: typing.ClassVar[PermissionLevel] # value = <PermissionLevel.OP: 1>
2867
+ OPERATOR: typing.ClassVar[PermissionLevel] # value = <PermissionLevel.OP: 1>
2868
+ __members__: typing.ClassVar[dict[str, PermissionLevel]] # value = {'DEFAULT': <PermissionLevel.DEFAULT: 0>, 'OP': <PermissionLevel.OP: 1>, 'OPERATOR': <PermissionLevel.OP: 1>, 'CONSOLE': <PermissionLevel.CONSOLE: 2>}
2289
2869
  def __eq__(self, other: typing.Any) -> bool:
2290
2870
  ...
2291
2871
  def __getstate__(self) -> int:
@@ -2316,9 +2896,6 @@ class Player(Mob, OfflinePlayer):
2316
2896
  """
2317
2897
  Represents a player.
2318
2898
  """
2319
- @staticmethod
2320
- def _pybind11_conduit_v1_(*args, **kwargs):
2321
- ...
2322
2899
  def close_form(self) -> None:
2323
2900
  """
2324
2901
  Closes the forms that are currently open for the player.
@@ -2339,7 +2916,7 @@ class Player(Mob, OfflinePlayer):
2339
2916
  """
2340
2917
  Makes the player perform the given command.
2341
2918
  """
2342
- def play_sound(self, location: Location, sound: str, volume: float, pitch: float) -> None:
2919
+ def play_sound(self, location: Location, sound: str, volume: float = 1.0, pitch: float = 1.0) -> None:
2343
2920
  """
2344
2921
  Play a sound for a player at the location.
2345
2922
  """
@@ -2421,6 +2998,11 @@ class Player(Mob, OfflinePlayer):
2421
2998
  Get the player's current device's operation system (OS).
2422
2999
  """
2423
3000
  @property
3001
+ def ender_chest(self) -> Inventory:
3002
+ """
3003
+ Get the player's EnderChest inventory.
3004
+ """
3005
+ @property
2424
3006
  def exp_level(self) -> int:
2425
3007
  """
2426
3008
  Gets or sets the players current experience level.
@@ -2467,8 +3049,16 @@ class Player(Mob, OfflinePlayer):
2467
3049
  """
2468
3050
  If the player is currently flying or not.
2469
3051
  """
2470
- @is_flying.setter
2471
- def is_flying(self, arg1: bool) -> None:
3052
+ @is_flying.setter
3053
+ def is_flying(self, arg1: bool) -> None:
3054
+ ...
3055
+ @property
3056
+ def is_op(self) -> bool:
3057
+ """
3058
+ The operator status of this playerall
3059
+ """
3060
+ @is_op.setter
3061
+ def is_op(self, arg1: bool) -> None:
2472
3062
  ...
2473
3063
  @property
2474
3064
  def is_sneaking(self) -> bool:
@@ -2541,9 +3131,6 @@ class PlayerBanEntry(BanEntry):
2541
3131
  """
2542
3132
  Represents a ban entry for a player.
2543
3133
  """
2544
- @staticmethod
2545
- def _pybind11_conduit_v1_(*args, **kwargs):
2546
- ...
2547
3134
  def __init__(self, name: str, uuid: uuid.UUID | None = None, xuid: str | None = None) -> None:
2548
3135
  ...
2549
3136
  @property
@@ -2565,9 +3152,6 @@ class PlayerBanList:
2565
3152
  """
2566
3153
  Represents a ban list containing banned players.
2567
3154
  """
2568
- @staticmethod
2569
- def _pybind11_conduit_v1_(*args, **kwargs):
2570
- ...
2571
3155
  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:
2572
3156
  """
2573
3157
  Adds a ban to this list, or updates an existing one.
@@ -2589,12 +3173,35 @@ class PlayerBanList:
2589
3173
  """
2590
3174
  Gets a vector of pointers to entries in the ban list.
2591
3175
  """
3176
+ class PlayerBedEnterEvent(PlayerEvent, Cancellable):
3177
+ """
3178
+ Called when a player is almost about to enter the bed.
3179
+ """
3180
+ @property
3181
+ def bed(self) -> Block:
3182
+ """
3183
+ Returns the bed block involved in this event.
3184
+ """
3185
+ class PlayerBedLeaveEvent(PlayerEvent):
3186
+ """
3187
+ Called when a player is leaving a bed.
3188
+ """
3189
+ @property
3190
+ def bed(self) -> Block:
3191
+ """
3192
+ Returns the bed block involved in this event.
3193
+ """
2592
3194
  class PlayerChatEvent(PlayerEvent, Cancellable):
2593
3195
  """
2594
3196
  Called when a player sends a chat message.
2595
3197
  """
2596
- @staticmethod
2597
- def _pybind11_conduit_v1_(*args, **kwargs):
3198
+ @property
3199
+ def format(self) -> str:
3200
+ """
3201
+ Sets the format to use to display this chat message
3202
+ """
3203
+ @format.setter
3204
+ def format(self, arg1: str) -> None:
2598
3205
  ...
2599
3206
  @property
2600
3207
  def message(self) -> str:
@@ -2604,13 +3211,23 @@ class PlayerChatEvent(PlayerEvent, Cancellable):
2604
3211
  @message.setter
2605
3212
  def message(self, arg1: str) -> None:
2606
3213
  ...
3214
+ @property
3215
+ def player(self) -> Player:
3216
+ """
3217
+ Gets or sets the player that this message will display as
3218
+ """
3219
+ @player.setter
3220
+ def player(self, arg1: Player) -> None:
3221
+ ...
3222
+ @property
3223
+ def recipients(self) -> list[Player]:
3224
+ """
3225
+ Gets a set of recipients that this chat message will be displayed to
3226
+ """
2607
3227
  class PlayerCommandEvent(PlayerEvent, Cancellable):
2608
3228
  """
2609
3229
  Called whenever a player runs a command.
2610
3230
  """
2611
- @staticmethod
2612
- def _pybind11_conduit_v1_(*args, **kwargs):
2613
- ...
2614
3231
  @property
2615
3232
  def command(self) -> str:
2616
3233
  """
@@ -2623,36 +3240,44 @@ class PlayerDeathEvent(ActorDeathEvent, PlayerEvent):
2623
3240
  """
2624
3241
  Called when a player dies
2625
3242
  """
2626
- @staticmethod
2627
- def _pybind11_conduit_v1_(*args, **kwargs):
2628
- ...
2629
3243
  @property
2630
- def death_message(self) -> str:
3244
+ def death_message(self) -> str | Translatable | None:
2631
3245
  """
2632
3246
  Gets or sets the death message that will appear to everyone on the server.
2633
3247
  """
2634
3248
  @death_message.setter
2635
- def death_message(self, arg1: str) -> None:
3249
+ def death_message(self, arg1: str | Translatable | None) -> None:
2636
3250
  ...
2637
- class PlayerEmoteEvent(PlayerEvent):
3251
+ class PlayerDropItemEvent(PlayerEvent, Cancellable):
3252
+ """
3253
+ Called when a player drops an item from their inventory
3254
+ """
3255
+ @property
3256
+ def item(self) -> ItemStack:
3257
+ """
3258
+ Gets the ItemStack dropped by the player
3259
+ """
3260
+ class PlayerEmoteEvent(PlayerEvent, Cancellable):
2638
3261
  """
2639
3262
  Called when a player uses and emote
2640
3263
  """
2641
- @staticmethod
2642
- def _pybind11_conduit_v1_(*args, **kwargs):
2643
- ...
2644
3264
  @property
2645
3265
  def emote_id(self) -> str:
2646
3266
  """
2647
- Gets the emote ID
3267
+ Gets the emote piece ID
3268
+ """
3269
+ @property
3270
+ def is_muted(self) -> bool:
3271
+ """
3272
+ Gets or sets the muted state for the emote.
2648
3273
  """
3274
+ @is_muted.setter
3275
+ def is_muted(self, arg1: bool) -> None:
3276
+ ...
2649
3277
  class PlayerEvent(Event):
2650
3278
  """
2651
3279
  Represents a player related event
2652
3280
  """
2653
- @staticmethod
2654
- def _pybind11_conduit_v1_(*args, **kwargs):
2655
- ...
2656
3281
  @property
2657
3282
  def player(self) -> Player:
2658
3283
  """
@@ -2662,9 +3287,6 @@ class PlayerGameModeChangeEvent(PlayerEvent, Cancellable):
2662
3287
  """
2663
3288
  Called when the GameMode of the player is changed.
2664
3289
  """
2665
- @staticmethod
2666
- def _pybind11_conduit_v1_(*args, **kwargs):
2667
- ...
2668
3290
  @property
2669
3291
  def new_game_mode(self) -> GameMode:
2670
3292
  """
@@ -2674,9 +3296,6 @@ class PlayerInteractActorEvent(PlayerEvent, Cancellable):
2674
3296
  """
2675
3297
  Represents an event that is called when a player right-clicks an actor.
2676
3298
  """
2677
- @staticmethod
2678
- def _pybind11_conduit_v1_(*args, **kwargs):
2679
- ...
2680
3299
  @property
2681
3300
  def actor(self) -> Actor:
2682
3301
  """
@@ -2686,9 +3305,43 @@ class PlayerInteractEvent(PlayerEvent, Cancellable):
2686
3305
  """
2687
3306
  Represents an event that is called when a player right-clicks a block.
2688
3307
  """
2689
- @staticmethod
2690
- def _pybind11_conduit_v1_(*args, **kwargs):
2691
- ...
3308
+ class Action:
3309
+ LEFT_CLICK_AIR: typing.ClassVar[PlayerInteractEvent.Action] # value = <Action.LEFT_CLICK_AIR: 2>
3310
+ LEFT_CLICK_BLOCK: typing.ClassVar[PlayerInteractEvent.Action] # value = <Action.LEFT_CLICK_BLOCK: 0>
3311
+ RIGHT_CLICK_AIR: typing.ClassVar[PlayerInteractEvent.Action] # value = <Action.RIGHT_CLICK_AIR: 3>
3312
+ RIGHT_CLICK_BLOCK: typing.ClassVar[PlayerInteractEvent.Action] # value = <Action.RIGHT_CLICK_BLOCK: 1>
3313
+ __members__: typing.ClassVar[dict[str, PlayerInteractEvent.Action]] # value = {'LEFT_CLICK_BLOCK': <Action.LEFT_CLICK_BLOCK: 0>, 'RIGHT_CLICK_BLOCK': <Action.RIGHT_CLICK_BLOCK: 1>, 'LEFT_CLICK_AIR': <Action.LEFT_CLICK_AIR: 2>, 'RIGHT_CLICK_AIR': <Action.RIGHT_CLICK_AIR: 3>}
3314
+ def __eq__(self, other: typing.Any) -> bool:
3315
+ ...
3316
+ def __getstate__(self) -> int:
3317
+ ...
3318
+ def __hash__(self) -> int:
3319
+ ...
3320
+ def __index__(self) -> int:
3321
+ ...
3322
+ def __init__(self, value: int) -> None:
3323
+ ...
3324
+ def __int__(self) -> int:
3325
+ ...
3326
+ def __ne__(self, other: typing.Any) -> bool:
3327
+ ...
3328
+ def __repr__(self) -> str:
3329
+ ...
3330
+ def __setstate__(self, state: int) -> None:
3331
+ ...
3332
+ def __str__(self) -> str:
3333
+ ...
3334
+ @property
3335
+ def name(self) -> str:
3336
+ ...
3337
+ @property
3338
+ def value(self) -> int:
3339
+ ...
3340
+ @property
3341
+ def action(self) -> PlayerInteractEvent.Action:
3342
+ """
3343
+ Returns the action type of interaction
3344
+ """
2692
3345
  @property
2693
3346
  def block(self) -> Block:
2694
3347
  """
@@ -2700,7 +3353,7 @@ class PlayerInteractEvent(PlayerEvent, Cancellable):
2700
3353
  Returns the face of the block that was clicked
2701
3354
  """
2702
3355
  @property
2703
- def clicked_position(self) -> Vector:
3356
+ def clicked_position(self) -> Vector | None:
2704
3357
  """
2705
3358
  Gets the exact position on the block the player interacted with.
2706
3359
  """
@@ -2723,9 +3376,6 @@ class PlayerInventory(Inventory):
2723
3376
  """
2724
3377
  Interface to the inventory of a Player, including the four armor slots and any extra slots.
2725
3378
  """
2726
- @staticmethod
2727
- def _pybind11_conduit_v1_(*args, **kwargs):
2728
- ...
2729
3379
  @property
2730
3380
  def boots(self) -> ItemStack:
2731
3381
  """
@@ -2782,28 +3432,54 @@ class PlayerInventory(Inventory):
2782
3432
  @leggings.setter
2783
3433
  def leggings(self, arg1: ItemStack) -> None:
2784
3434
  ...
3435
+ class PlayerItemConsumeEvent(PlayerEvent, Cancellable):
3436
+ """
3437
+ Called when a player is finishing consuming an item (food, potion, milk bucket).
3438
+ """
3439
+ @property
3440
+ def hand(self) -> EquipmentSlot:
3441
+ """
3442
+ Get the hand used to consume the item.
3443
+ """
3444
+ @property
3445
+ def item(self) -> ItemStack:
3446
+ """
3447
+ Gets or sets the item that is being consumed.
3448
+ """
3449
+ class PlayerItemHeldEvent(PlayerEvent, Cancellable):
3450
+ """
3451
+ Called when a player changes their currently held item.
3452
+ """
3453
+ @property
3454
+ def new_slot(self) -> int:
3455
+ """
3456
+ Gets the new held slot index
3457
+ """
3458
+ @property
3459
+ def previous_slot(self) -> int:
3460
+ """
3461
+ Gets the previous held slot index.
3462
+ """
2785
3463
  class PlayerJoinEvent(PlayerEvent):
2786
3464
  """
2787
3465
  Called when a player joins a server
2788
3466
  """
2789
- @staticmethod
2790
- def _pybind11_conduit_v1_(*args, **kwargs):
2791
- ...
2792
3467
  @property
2793
- def join_message(self) -> str:
3468
+ def join_message(self) -> str | Translatable | None:
2794
3469
  """
2795
3470
  Gets or sets the join message to send to all online players.
2796
3471
  """
2797
3472
  @join_message.setter
2798
- def join_message(self, arg1: str) -> None:
3473
+ def join_message(self, arg1: str | Translatable | None) -> None:
2799
3474
  ...
3475
+ class PlayerJumpEvent(PlayerMoveEvent):
3476
+ """
3477
+ Called when a player jumps.
3478
+ """
2800
3479
  class PlayerKickEvent(PlayerEvent, Cancellable):
2801
3480
  """
2802
3481
  Called when a player gets kicked from the server
2803
3482
  """
2804
- @staticmethod
2805
- def _pybind11_conduit_v1_(*args, **kwargs):
2806
- ...
2807
3483
  @property
2808
3484
  def reason(self) -> str:
2809
3485
  """
@@ -2816,9 +3492,6 @@ class PlayerLoginEvent(PlayerEvent, Cancellable):
2816
3492
  """
2817
3493
  Called when a player attempts to login in.
2818
3494
  """
2819
- @staticmethod
2820
- def _pybind11_conduit_v1_(*args, **kwargs):
2821
- ...
2822
3495
  @property
2823
3496
  def kick_message(self) -> str:
2824
3497
  """
@@ -2827,58 +3500,76 @@ class PlayerLoginEvent(PlayerEvent, Cancellable):
2827
3500
  @kick_message.setter
2828
3501
  def kick_message(self, arg1: str) -> None:
2829
3502
  ...
3503
+ class PlayerMoveEvent(PlayerEvent, Cancellable):
3504
+ """
3505
+ Called when a player moves.
3506
+ """
3507
+ @property
3508
+ def from_location(self) -> Location:
3509
+ """
3510
+ Gets or sets the location that this player moved from.
3511
+ """
3512
+ @from_location.setter
3513
+ def from_location(self, arg1: Location) -> None:
3514
+ ...
3515
+ @property
3516
+ def to_location(self) -> Location:
3517
+ """
3518
+ Gets or sets the location that this player moved to.
3519
+ """
3520
+ @to_location.setter
3521
+ def to_location(self, arg1: Location) -> None:
3522
+ ...
3523
+ class PlayerPickupItemEvent(PlayerEvent, Cancellable):
3524
+ """
3525
+ Called when a player picks an item up from the ground.
3526
+ """
3527
+ @property
3528
+ def item(self) -> Item:
3529
+ """
3530
+ Gets the Item picked up by the entity.
3531
+ """
2830
3532
  class PlayerQuitEvent(PlayerEvent):
2831
3533
  """
2832
3534
  Called when a player leaves a server.
2833
3535
  """
2834
- @staticmethod
2835
- def _pybind11_conduit_v1_(*args, **kwargs):
2836
- ...
2837
3536
  @property
2838
- def quit_message(self) -> str:
3537
+ def quit_message(self) -> str | Translatable | None:
2839
3538
  """
2840
3539
  Gets or sets the quit message to send to all online players.
2841
3540
  """
2842
3541
  @quit_message.setter
2843
- def quit_message(self, arg1: str) -> None:
3542
+ def quit_message(self, arg1: str | Translatable | None) -> None:
2844
3543
  ...
2845
3544
  class PlayerRespawnEvent(PlayerEvent):
2846
3545
  """
2847
3546
  Called when a player respawns.
2848
3547
  """
2849
- @staticmethod
2850
- def _pybind11_conduit_v1_(*args, **kwargs):
2851
- ...
2852
- class PlayerTeleportEvent(PlayerEvent, Cancellable):
3548
+ class PlayerSkinChangeEvent(PlayerEvent, Cancellable):
2853
3549
  """
2854
- Called when a player is teleported from one location to another.
3550
+ Called when a player changes their skin.
2855
3551
  """
2856
- @staticmethod
2857
- def _pybind11_conduit_v1_(*args, **kwargs):
2858
- ...
2859
3552
  @property
2860
- def from_location(self) -> Location:
3553
+ def new_skin(self) -> Skin:
2861
3554
  """
2862
- Gets or sets the location that this player moved from.
3555
+ Gets the player's new skin.
2863
3556
  """
2864
- @from_location.setter
2865
- def from_location(self, arg1: Location) -> None:
2866
- ...
2867
3557
  @property
2868
- def to_location(self) -> Location:
3558
+ def skin_change_message(self) -> str | Translatable | None:
2869
3559
  """
2870
- Gets or sets the location that this player moved to.
3560
+ Gets or sets the message to send to all online players for this skin change.
2871
3561
  """
2872
- @to_location.setter
2873
- def to_location(self, arg1: Location) -> None:
3562
+ @skin_change_message.setter
3563
+ def skin_change_message(self, arg1: str | Translatable | None) -> None:
2874
3564
  ...
3565
+ class PlayerTeleportEvent(PlayerMoveEvent):
3566
+ """
3567
+ Called when a player is teleported from one location to another.
3568
+ """
2875
3569
  class Plugin(CommandExecutor):
2876
3570
  """
2877
3571
  Represents a Plugin
2878
3572
  """
2879
- @staticmethod
2880
- def _pybind11_conduit_v1_(*args, **kwargs):
2881
- ...
2882
3573
  def __init__(self) -> None:
2883
3574
  ...
2884
3575
  def _get_description(self) -> PluginDescription:
@@ -2933,9 +3624,6 @@ class PluginCommand(Command):
2933
3624
  """
2934
3625
  Represents a Command belonging to a Plugin
2935
3626
  """
2936
- @staticmethod
2937
- def _pybind11_conduit_v1_(*args, **kwargs):
2938
- ...
2939
3627
  @property
2940
3628
  def executor(self) -> CommandExecutor:
2941
3629
  """
@@ -2953,9 +3641,6 @@ class PluginDescription:
2953
3641
  """
2954
3642
  Represents the basic information about a plugin that the plugin loader needs to know.
2955
3643
  """
2956
- @staticmethod
2957
- def _pybind11_conduit_v1_(*args, **kwargs):
2958
- ...
2959
3644
  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:
2960
3645
  ...
2961
3646
  @property
@@ -3047,9 +3732,6 @@ class PluginDisableEvent(ServerEvent):
3047
3732
  """
3048
3733
  Called when a plugin is disabled.
3049
3734
  """
3050
- @staticmethod
3051
- def _pybind11_conduit_v1_(*args, **kwargs):
3052
- ...
3053
3735
  @property
3054
3736
  def plugin(self) -> Plugin:
3055
3737
  ...
@@ -3057,9 +3739,6 @@ class PluginEnableEvent(ServerEvent):
3057
3739
  """
3058
3740
  Called when a plugin is enabled.
3059
3741
  """
3060
- @staticmethod
3061
- def _pybind11_conduit_v1_(*args, **kwargs):
3062
- ...
3063
3742
  @property
3064
3743
  def plugin(self) -> Plugin:
3065
3744
  ...
@@ -3070,9 +3749,6 @@ class PluginLoadOrder:
3070
3749
  POSTWORLD: typing.ClassVar[PluginLoadOrder] # value = <PluginLoadOrder.POSTWORLD: 1>
3071
3750
  STARTUP: typing.ClassVar[PluginLoadOrder] # value = <PluginLoadOrder.STARTUP: 0>
3072
3751
  __members__: typing.ClassVar[dict[str, PluginLoadOrder]] # value = {'STARTUP': <PluginLoadOrder.STARTUP: 0>, 'POSTWORLD': <PluginLoadOrder.POSTWORLD: 1>}
3073
- @staticmethod
3074
- def _pybind11_conduit_v1_(*args, **kwargs):
3075
- ...
3076
3752
  def __eq__(self, other: typing.Any) -> bool:
3077
3753
  ...
3078
3754
  def __getstate__(self) -> int:
@@ -3103,9 +3779,6 @@ class PluginLoader:
3103
3779
  """
3104
3780
  Represents a plugin loader, which handles direct access to specific types of plugins
3105
3781
  """
3106
- @staticmethod
3107
- def _pybind11_conduit_v1_(*args, **kwargs):
3108
- ...
3109
3782
  def __init__(self, server: Server) -> None:
3110
3783
  ...
3111
3784
  def disable_plugin(self, plugin: Plugin) -> None:
@@ -3138,9 +3811,6 @@ class PluginManager:
3138
3811
  """
3139
3812
  Represents a plugin manager that handles all plugins from the Server
3140
3813
  """
3141
- @staticmethod
3142
- def _pybind11_conduit_v1_(*args, **kwargs):
3143
- ...
3144
3814
  def call_event(self, event: Event) -> None:
3145
3815
  """
3146
3816
  Calls an event which will be passed to plugins.
@@ -3165,13 +3835,13 @@ class PluginManager:
3165
3835
  """
3166
3836
  Enable all the loaded plugins
3167
3837
  """
3168
- def get_default_perm_subscriptions(self, op: bool) -> set[Permissible]:
3838
+ def get_default_perm_subscriptions(self, level: PermissionLevel) -> set[Permissible]:
3169
3839
  """
3170
- Gets a set containing all subscribed Permissibles to the given default list, by op status.
3840
+ Gets a set containing all subscribed Permissibles to the given default list, by permission level.
3171
3841
  """
3172
- def get_default_permissions(self, op: bool) -> set[Permission]:
3842
+ def get_default_permissions(self, level: PermissionLevel) -> list[Permission]:
3173
3843
  """
3174
- Gets the default permissions for the given op status.
3844
+ Gets the default permissions for the given permission level.
3175
3845
  """
3176
3846
  def get_permission(self, name: str) -> Permission:
3177
3847
  """
@@ -3227,17 +3897,17 @@ class PluginManager:
3227
3897
  """
3228
3898
  Removes a Permission registration from this plugin manager by name.
3229
3899
  """
3230
- def subscribe_to_default_perms(self, op: bool, permissible: Permissible) -> None:
3900
+ def subscribe_to_default_perms(self, level: PermissionLevel, permissible: Permissible) -> None:
3231
3901
  """
3232
- Subscribes to the given Default permissions by operator status.
3902
+ Subscribes to the given Default permissions by permission level.
3233
3903
  """
3234
3904
  def subscribe_to_permission(self, permission: str, permissible: Permissible) -> None:
3235
3905
  """
3236
3906
  Subscribes the given Permissible for information about the requested Permission.
3237
3907
  """
3238
- def unsubscribe_from_default_perms(self, op: bool, permissible: Permissible) -> None:
3908
+ def unsubscribe_from_default_perms(self, level: PermissionLevel, permissible: Permissible) -> None:
3239
3909
  """
3240
- Unsubscribes from the given Default permissions by operator status.
3910
+ Unsubscribes from the given Default permissions by permission level.
3241
3911
  """
3242
3912
  def unsubscribe_from_permission(self, permission: str, permissible: Permissible) -> None:
3243
3913
  """
@@ -3257,9 +3927,6 @@ class Position(Vector):
3257
3927
  """
3258
3928
  Represents a 3-dimensional position in a dimension within a level.
3259
3929
  """
3260
- @staticmethod
3261
- def _pybind11_conduit_v1_(*args, **kwargs):
3262
- ...
3263
3930
  def __init__(self, dimension: Dimension, x: float, y: float, z: float) -> None:
3264
3931
  ...
3265
3932
  def __repr__(self) -> str:
@@ -3289,32 +3956,13 @@ class Position(Vector):
3289
3956
  @dimension.setter
3290
3957
  def dimension(self, arg1: Dimension) -> None:
3291
3958
  ...
3292
- class ProxiedCommandSender(CommandSender):
3293
- """
3294
- Represents a proxied command sender.
3295
- """
3296
- @staticmethod
3297
- def _pybind11_conduit_v1_(*args, **kwargs):
3298
- ...
3299
- @property
3300
- def callee(self) -> CommandSender:
3301
- """
3302
- Returns the CommandSender which is being used to call the command.
3303
- """
3304
- @property
3305
- def caller(self) -> CommandSender:
3306
- """
3307
- Returns the CommandSender which triggered this proxied command.
3308
- """
3309
3959
  class RenderType:
3310
3960
  """
3311
3961
  Controls the way in which an Objective is rendered on the client side.
3312
3962
  """
3963
+ HEARTS: typing.ClassVar[RenderType] # value = <RenderType.HEARTS: 1>
3313
3964
  INTEGER: typing.ClassVar[RenderType] # value = <RenderType.INTEGER: 0>
3314
- __members__: typing.ClassVar[dict[str, RenderType]] # value = {'INTEGER': <RenderType.INTEGER: 0>}
3315
- @staticmethod
3316
- def _pybind11_conduit_v1_(*args, **kwargs):
3317
- ...
3965
+ __members__: typing.ClassVar[dict[str, RenderType]] # value = {'INTEGER': <RenderType.INTEGER: 0>, 'HEARTS': <RenderType.HEARTS: 1>}
3318
3966
  def __eq__(self, other: typing.Any) -> bool:
3319
3967
  ...
3320
3968
  def __getstate__(self) -> int:
@@ -3345,9 +3993,6 @@ class Scheduler:
3345
3993
  """
3346
3994
  Represents a scheduler that executes various tasks
3347
3995
  """
3348
- @staticmethod
3349
- def _pybind11_conduit_v1_(*args, **kwargs):
3350
- ...
3351
3996
  def cancel_task(self, id: int) -> None:
3352
3997
  """
3353
3998
  Removes task from scheduler.
@@ -3376,9 +4021,6 @@ class Score:
3376
4021
  """
3377
4022
  Represents a score for an objective on a scoreboard.
3378
4023
  """
3379
- @staticmethod
3380
- def _pybind11_conduit_v1_(*args, **kwargs):
3381
- ...
3382
4024
  @property
3383
4025
  def entry(self) -> Player | Actor | str:
3384
4026
  """
@@ -3411,9 +4053,6 @@ class Scoreboard:
3411
4053
  """
3412
4054
  Represents a scoreboard
3413
4055
  """
3414
- @staticmethod
3415
- def _pybind11_conduit_v1_(*args, **kwargs):
3416
- ...
3417
4056
  def add_objective(self, name: str, criteria: Criteria.Type, display_name: str | None = None, render_type: RenderType = RenderType.INTEGER) -> Objective:
3418
4057
  """
3419
4058
  Registers an Objective on this Scoreboard with a name displayed to players
@@ -3458,9 +4097,6 @@ class ScriptMessageEvent(ServerEvent, Cancellable):
3458
4097
  """
3459
4098
  Called when a message is sent by `/scriptevent` command
3460
4099
  """
3461
- @staticmethod
3462
- def _pybind11_conduit_v1_(*args, **kwargs):
3463
- ...
3464
4100
  @property
3465
4101
  def message(self) -> str:
3466
4102
  """
@@ -3480,9 +4116,6 @@ class Server:
3480
4116
  """
3481
4117
  Represents a server implementation.
3482
4118
  """
3483
- @staticmethod
3484
- def _pybind11_conduit_v1_(*args, **kwargs):
3485
- ...
3486
4119
  def broadcast(self, message: str | Translatable, permission: str) -> None:
3487
4120
  """
3488
4121
  Broadcasts the specified message to every user with the given permission name.
@@ -3574,11 +4207,26 @@ class Server:
3574
4207
  Gets the current ticks per second (TPS).
3575
4208
  """
3576
4209
  @property
4210
+ def enchantment_registry(self) -> EnchantmentRegistry:
4211
+ """
4212
+ Returns the registry for all the enchantments.
4213
+ """
4214
+ @property
3577
4215
  def ip_ban_list(self) -> IpBanList:
3578
4216
  """
3579
4217
  Gets the IP ban list.
3580
4218
  """
3581
4219
  @property
4220
+ def item_factory(self) -> ItemFactory:
4221
+ """
4222
+ Gets the instance of the item factory (for ItemMeta).
4223
+ """
4224
+ @property
4225
+ def item_registry(self) -> ItemRegistry:
4226
+ """
4227
+ Returns the registry for all the item types.
4228
+ """
4229
+ @property
3582
4230
  def language(self) -> Language:
3583
4231
  """
3584
4232
  Gets the current language interface used by the server.
@@ -3627,6 +4275,21 @@ class Server:
3627
4275
  Gets the plugin manager for interfacing with plugins.
3628
4276
  """
3629
4277
  @property
4278
+ def port(self) -> int:
4279
+ """
4280
+ Get the game port that the server runs on.
4281
+ """
4282
+ @property
4283
+ def port_v6(self) -> int:
4284
+ """
4285
+ Get the game port (IPv6) that the server runs on.
4286
+ """
4287
+ @property
4288
+ def protocol_version(self) -> int:
4289
+ """
4290
+ Gets the network protocol version that this server supports.
4291
+ """
4292
+ @property
3630
4293
  def scheduler(self) -> Scheduler:
3631
4294
  """
3632
4295
  Gets the scheduler for managing scheduled events.
@@ -3655,9 +4318,6 @@ class ServerCommandEvent(ServerEvent, Cancellable):
3655
4318
  """
3656
4319
  Called when the console runs a command, early in the process.
3657
4320
  """
3658
- @staticmethod
3659
- def _pybind11_conduit_v1_(*args, **kwargs):
3660
- ...
3661
4321
  @property
3662
4322
  def command(self) -> str:
3663
4323
  """
@@ -3675,16 +4335,10 @@ class ServerEvent(Event):
3675
4335
  """
3676
4336
  Represents a server-related event
3677
4337
  """
3678
- @staticmethod
3679
- def _pybind11_conduit_v1_(*args, **kwargs):
3680
- ...
3681
4338
  class ServerListPingEvent(ServerEvent, Cancellable):
3682
4339
  """
3683
4340
  Called when a server ping is coming in.
3684
4341
  """
3685
- @staticmethod
3686
- def _pybind11_conduit_v1_(*args, **kwargs):
3687
- ...
3688
4342
  @property
3689
4343
  def game_mode(self) -> GameMode:
3690
4344
  """
@@ -3779,9 +4433,6 @@ class ServerLoadEvent(Event):
3779
4433
  class LoadType:
3780
4434
  STARTUP: typing.ClassVar[ServerLoadEvent.LoadType] # value = <LoadType.STARTUP: 0>
3781
4435
  __members__: typing.ClassVar[dict[str, ServerLoadEvent.LoadType]] # value = {'STARTUP': <LoadType.STARTUP: 0>}
3782
- @staticmethod
3783
- def _pybind11_conduit_v1_(*args, **kwargs):
3784
- ...
3785
4436
  def __eq__(self, other: typing.Any) -> bool:
3786
4437
  ...
3787
4438
  def __getstate__(self) -> int:
@@ -3809,9 +4460,6 @@ class ServerLoadEvent(Event):
3809
4460
  def value(self) -> int:
3810
4461
  ...
3811
4462
  STARTUP: typing.ClassVar[ServerLoadEvent.LoadType] # value = <LoadType.STARTUP: 0>
3812
- @staticmethod
3813
- def _pybind11_conduit_v1_(*args, **kwargs):
3814
- ...
3815
4463
  @property
3816
4464
  def type(self) -> ServerLoadEvent.LoadType:
3817
4465
  ...
@@ -3819,18 +4467,12 @@ class Service:
3819
4467
  """
3820
4468
  Represents a list of methods.
3821
4469
  """
3822
- @staticmethod
3823
- def _pybind11_conduit_v1_(*args, **kwargs):
3824
- ...
3825
4470
  def __init__(self) -> None:
3826
4471
  ...
3827
4472
  class ServiceManager:
3828
4473
  """
3829
4474
  Represent a service manager that manages services and service providers.
3830
4475
  """
3831
- @staticmethod
3832
- def _pybind11_conduit_v1_(*args, **kwargs):
3833
- ...
3834
4476
  def load(self, name: str) -> Service:
3835
4477
  ...
3836
4478
  def register(self, name: str, provider: Service, plugin: Plugin, priority: ServicePriority) -> None:
@@ -3861,9 +4503,6 @@ class ServicePriority:
3861
4503
  LOWEST: typing.ClassVar[ServicePriority] # value = <ServicePriority.LOWEST: 0>
3862
4504
  NORMAL: typing.ClassVar[ServicePriority] # value = <ServicePriority.NORMAL: 2>
3863
4505
  __members__: typing.ClassVar[dict[str, ServicePriority]] # value = {'LOWEST': <ServicePriority.LOWEST: 0>, 'LOW': <ServicePriority.LOW: 1>, 'NORMAL': <ServicePriority.NORMAL: 2>, 'HIGH': <ServicePriority.HIGH: 3>, 'HIGHEST': <ServicePriority.HIGHEST: 4>}
3864
- @staticmethod
3865
- def _pybind11_conduit_v1_(*args, **kwargs):
3866
- ...
3867
4506
  def __eq__(self, other: typing.Any) -> bool:
3868
4507
  ...
3869
4508
  def __getstate__(self) -> int:
@@ -3894,38 +4533,32 @@ class Skin:
3894
4533
  """
3895
4534
  Represents a player skin.
3896
4535
  """
3897
- @staticmethod
3898
- def _pybind11_conduit_v1_(*args, **kwargs):
3899
- ...
3900
- 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:
4536
+ def __init__(self, id: str, image: numpy.ndarray[numpy.uint8], cape_id: str | None = None, cape_image: numpy.ndarray[numpy.uint8] | None = None) -> None:
3901
4537
  ...
3902
4538
  @property
3903
- def cape_data(self) -> numpy.ndarray[numpy.uint8] | None:
3904
- """
3905
- Get the Cape data.
3906
- """
3907
- @property
3908
4539
  def cape_id(self) -> str | None:
3909
4540
  """
3910
4541
  Get the Cape ID.
3911
4542
  """
3912
4543
  @property
3913
- def skin_data(self) -> numpy.ndarray[numpy.uint8]:
4544
+ def cape_image(self) -> numpy.ndarray[numpy.uint8]:
3914
4545
  """
3915
- Get the Skin data.
4546
+ Get the Cape image.
3916
4547
  """
3917
4548
  @property
3918
- def skin_id(self) -> str:
4549
+ def id(self) -> str:
3919
4550
  """
3920
4551
  Get the Skin ID.
3921
4552
  """
4553
+ @property
4554
+ def image(self) -> numpy.ndarray[numpy.uint8]:
4555
+ """
4556
+ Get the Skin image.
4557
+ """
3922
4558
  class Slider:
3923
4559
  """
3924
4560
  Represents a slider with a label.
3925
4561
  """
3926
- @staticmethod
3927
- def _pybind11_conduit_v1_(*args, **kwargs):
3928
- ...
3929
4562
  def __init__(self, label: str | Translatable = '', min: float = 0, max: float = 100, step: float = 20, default_value: float | None = None) -> None:
3930
4563
  ...
3931
4564
  @property
@@ -3972,9 +4605,6 @@ class SocketAddress:
3972
4605
  """
3973
4606
  Represents an IP Socket Address (hostname + port number).
3974
4607
  """
3975
- @staticmethod
3976
- def _pybind11_conduit_v1_(*args, **kwargs):
3977
- ...
3978
4608
  @typing.overload
3979
4609
  def __init__(self) -> None:
3980
4610
  ...
@@ -3999,9 +4629,6 @@ class StepSlider:
3999
4629
  """
4000
4630
  Represents a step slider with a set of predefined options.
4001
4631
  """
4002
- @staticmethod
4003
- def _pybind11_conduit_v1_(*args, **kwargs):
4004
- ...
4005
4632
  def __init__(self, label: str | Translatable = '', options: list[str] | None = None, default_index: int | None = None) -> None:
4006
4633
  ...
4007
4634
  def add_option(self, option: str) -> Dropdown:
@@ -4036,9 +4663,6 @@ class Task:
4036
4663
  """
4037
4664
  Represents a task being executed by the scheduler
4038
4665
  """
4039
- @staticmethod
4040
- def _pybind11_conduit_v1_(*args, **kwargs):
4041
- ...
4042
4666
  def cancel(self) -> None:
4043
4667
  """
4044
4668
  Attempts to cancel this task.
@@ -4067,9 +4691,6 @@ class TextInput:
4067
4691
  """
4068
4692
  Represents a text input field.
4069
4693
  """
4070
- @staticmethod
4071
- def _pybind11_conduit_v1_(*args, **kwargs):
4072
- ...
4073
4694
  def __init__(self, label: str | Translatable = '', placeholder: str | Translatable = '', default_value: str | None = None) -> None:
4074
4695
  ...
4075
4696
  @property
@@ -4100,9 +4721,6 @@ class ThunderChangeEvent(WeatherEvent, Cancellable):
4100
4721
  """
4101
4722
  Called when the thunder state in a world is changing.
4102
4723
  """
4103
- @staticmethod
4104
- def _pybind11_conduit_v1_(*args, **kwargs):
4105
- ...
4106
4724
  @property
4107
4725
  def to_thunder_state(self) -> bool:
4108
4726
  """
@@ -4112,9 +4730,6 @@ class Toggle:
4112
4730
  """
4113
4731
  Represents a toggle button with a label.
4114
4732
  """
4115
- @staticmethod
4116
- def _pybind11_conduit_v1_(*args, **kwargs):
4117
- ...
4118
4733
  def __init__(self, label: str | Translatable = '', default_value: bool = False) -> None:
4119
4734
  ...
4120
4735
  @property
@@ -4137,9 +4752,6 @@ class Translatable:
4137
4752
  """
4138
4753
  Represents an object with a text representation that can be translated by the Minecraft client.
4139
4754
  """
4140
- @staticmethod
4141
- def _pybind11_conduit_v1_(*args, **kwargs):
4142
- ...
4143
4755
  def __init__(self, text: str, params: list[str] | None = None) -> None:
4144
4756
  ...
4145
4757
  @property
@@ -4156,9 +4768,6 @@ class Vector:
4156
4768
  """
4157
4769
  Represents a 3-dimensional vector.
4158
4770
  """
4159
- @staticmethod
4160
- def _pybind11_conduit_v1_(*args, **kwargs):
4161
- ...
4162
4771
  @typing.overload
4163
4772
  def __add__(self, arg0: Vector) -> Vector:
4164
4773
  ...
@@ -4255,9 +4864,6 @@ class WeatherChangeEvent(WeatherEvent, Cancellable):
4255
4864
  """
4256
4865
  Called when the weather (rain) state in a world is changing.
4257
4866
  """
4258
- @staticmethod
4259
- def _pybind11_conduit_v1_(*args, **kwargs):
4260
- ...
4261
4867
  @property
4262
4868
  def to_weather_state(self) -> bool:
4263
4869
  """
@@ -4267,9 +4873,6 @@ class WeatherEvent(Event):
4267
4873
  """
4268
4874
  Represents a weather-related event
4269
4875
  """
4270
- @staticmethod
4271
- def _pybind11_conduit_v1_(*args, **kwargs):
4272
- ...
4273
4876
  @property
4274
4877
  def level(self) -> Level:
4275
4878
  """