levistone 0.7.1__cp312-cp312-win_amd64.whl → 0.9.3__cp312-cp312-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,7 +4,7 @@ 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__ = ['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', 'ChunkEvent', 'ChunkLoadEvent', 'ChunkUnloadEvent', 'ColorFormat', 'Command', 'CommandExecutor', 'CommandSender', 'CommandSenderWrapper', 'ConsoleCommandSender', 'Criteria', 'DamageSource', 'Dimension', 'DimensionEvent', 'DisplaySlot', 'Divider', 'Dropdown', 'Enchantment', 'EnchantmentRegistry', 'EquipmentSlot', 'Event', 'EventPriority', 'GameMode', 'Header', 'Inventory', 'IpBanEntry', 'IpBanList', 'ItemFactory', 'ItemMeta', 'ItemRegistry', 'ItemStack', 'ItemType', 'Label', 'Language', 'Level', 'LevelEvent', 'Location', 'Logger', 'MapCanvas', 'MapMeta', 'MapRenderer', 'MapView', 'MessageForm', 'Mob', 'MobEvent', 'ModalForm', 'NamespacedKey', 'Objective', 'ObjectiveSortOrder', 'OfflinePlayer', 'PacketReceiveEvent', 'PacketSendEvent', 'Permissible', 'Permission', 'PermissionAttachment', 'PermissionAttachmentInfo', 'PermissionDefault', 'Player', 'PlayerBanEntry', 'PlayerBanList', 'PlayerChatEvent', 'PlayerCommandEvent', 'PlayerDeathEvent', 'PlayerDropItemEvent', 'PlayerEmoteEvent', 'PlayerEvent', 'PlayerGameModeChangeEvent', 'PlayerInteractActorEvent', 'PlayerInteractEvent', 'PlayerInventory', 'PlayerItemConsumeEvent', 'PlayerJoinEvent', 'PlayerJumpEvent', 'PlayerKickEvent', 'PlayerLoginEvent', 'PlayerMoveEvent', 'PlayerPickupItemEvent', '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']
8
8
  class ActionForm:
9
9
  """
10
10
  Represents a form with buttons that let the player take action.
@@ -13,9 +13,6 @@ class ActionForm:
13
13
  """
14
14
  Represents a button with text and an optional icon.
15
15
  """
16
- @staticmethod
17
- def _pybind11_conduit_v1_(*args, **kwargs):
18
- ...
19
16
  def __init__(self, text: str | Translatable = '', icon: str | None = None, on_click: typing.Callable[[Player], None] = None) -> None:
20
17
  ...
21
18
  @property
@@ -42,23 +39,24 @@ class ActionForm:
42
39
  @text.setter
43
40
  def text(self, arg1: str | Translatable) -> ActionForm.Button:
44
41
  ...
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:
42
+ def __init__(self, title: str | Translatable = '', content: str | Translatable = '', buttons: list[ActionForm.Button | Divider | Header | Label] | None = None, on_submit: typing.Callable[[Player, int], None] = None, on_close: typing.Callable[[Player], None] = None) -> None:
49
43
  ...
50
44
  def add_button(self, text: str | Translatable, icon: str | None = None, on_click: typing.Callable[[Player], None] = None) -> ActionForm:
51
45
  """
52
46
  Adds a button to the form.
53
47
  """
54
- @property
55
- def buttons(self) -> list[ActionForm.Button]:
48
+ def add_divider(self) -> ActionForm:
56
49
  """
57
- Gets or sets the buttons of the action form.
50
+ Adds a divider to the form.
51
+ """
52
+ def add_header(self, text: str | Translatable) -> ActionForm:
53
+ """
54
+ Adds a header to the form.
55
+ """
56
+ def add_label(self, text: str | Translatable) -> ActionForm:
57
+ """
58
+ Adds a label to the form.
58
59
  """
59
- @buttons.setter
60
- def buttons(self, arg1: list[ActionForm.Button]) -> ActionForm:
61
- ...
62
60
  @property
63
61
  def content(self) -> str | Translatable:
64
62
  """
@@ -68,6 +66,14 @@ class ActionForm:
68
66
  def content(self, arg1: str | Translatable) -> ActionForm:
69
67
  ...
70
68
  @property
69
+ def controls(self) -> list[ActionForm.Button | Divider | Header | Label]:
70
+ """
71
+ Gets or sets the controls of the action form.
72
+ """
73
+ @controls.setter
74
+ def controls(self, arg1: list[ActionForm.Button | Divider | Header | Label]) -> ActionForm:
75
+ ...
76
+ @property
71
77
  def on_close(self) -> typing.Callable[[Player], None]:
72
78
  """
73
79
  Gets or sets the on close callback.
@@ -95,9 +101,6 @@ class Actor(CommandSender):
95
101
  """
96
102
  Represents a base actor in the level.
97
103
  """
98
- @staticmethod
99
- def _pybind11_conduit_v1_(*args, **kwargs):
100
- ...
101
104
  def add_scoreboard_tag(self, tag: str) -> bool:
102
105
  """
103
106
  Adds a tag to this actor.
@@ -238,9 +241,6 @@ class ActorDamageEvent(MobEvent, Cancellable):
238
241
  """
239
242
  Called when an Actor is damaged.
240
243
  """
241
- @staticmethod
242
- def _pybind11_conduit_v1_(*args, **kwargs):
243
- ...
244
244
  @property
245
245
  def damage(self) -> float:
246
246
  """
@@ -258,9 +258,6 @@ class ActorDeathEvent(MobEvent):
258
258
  """
259
259
  Called when an Actor dies.
260
260
  """
261
- @staticmethod
262
- def _pybind11_conduit_v1_(*args, **kwargs):
263
- ...
264
261
  @property
265
262
  def damage_source(self) -> DamageSource:
266
263
  """
@@ -270,9 +267,6 @@ class ActorEvent(Event):
270
267
  """
271
268
  Represents an Actor-related event.
272
269
  """
273
- @staticmethod
274
- def _pybind11_conduit_v1_(*args, **kwargs):
275
- ...
276
270
  @property
277
271
  def actor(self) -> Actor:
278
272
  """
@@ -282,9 +276,6 @@ class ActorExplodeEvent(ActorEvent, Cancellable):
282
276
  """
283
277
  Called when an Actor explodes.
284
278
  """
285
- @staticmethod
286
- def _pybind11_conduit_v1_(*args, **kwargs):
287
- ...
288
279
  @property
289
280
  def block_list(self) -> list[Block]:
290
281
  """
@@ -302,9 +293,6 @@ class ActorKnockbackEvent(MobEvent, Cancellable):
302
293
  """
303
294
  Called when a living entity receives knockback.
304
295
  """
305
- @staticmethod
306
- def _pybind11_conduit_v1_(*args, **kwargs):
307
- ...
308
296
  @property
309
297
  def knockback(self) -> Vector:
310
298
  """
@@ -322,23 +310,14 @@ class ActorRemoveEvent(ActorEvent):
322
310
  """
323
311
  Called when an Actor is removed.
324
312
  """
325
- @staticmethod
326
- def _pybind11_conduit_v1_(*args, **kwargs):
327
- ...
328
313
  class ActorSpawnEvent(ActorEvent, Cancellable):
329
314
  """
330
315
  Called when an Actor is spawned into a world.
331
316
  """
332
- @staticmethod
333
- def _pybind11_conduit_v1_(*args, **kwargs):
334
- ...
335
317
  class ActorTeleportEvent(ActorEvent, Cancellable):
336
318
  """
337
319
  Called when a non-player entity is teleported from one location to another.
338
320
  """
339
- @staticmethod
340
- def _pybind11_conduit_v1_(*args, **kwargs):
341
- ...
342
321
  @property
343
322
  def from_location(self) -> Location:
344
323
  """
@@ -359,9 +338,6 @@ class BanEntry:
359
338
  """
360
339
  A single entry from a ban list.
361
340
  """
362
- @staticmethod
363
- def _pybind11_conduit_v1_(*args, **kwargs):
364
- ...
365
341
  @property
366
342
  def created(self) -> datetime.datetime:
367
343
  """
@@ -404,9 +380,6 @@ class BarColor:
404
380
  WHITE: typing.ClassVar[BarColor] # value = <BarColor.WHITE: 7>
405
381
  YELLOW: typing.ClassVar[BarColor] # value = <BarColor.YELLOW: 4>
406
382
  __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
383
  def __eq__(self, other: typing.Any) -> bool:
411
384
  ...
412
385
  def __getstate__(self) -> int:
@@ -436,9 +409,6 @@ class BarColor:
436
409
  class BarFlag:
437
410
  DARKEN_SKY: typing.ClassVar[BarFlag] # value = <BarFlag.DARKEN_SKY: 0>
438
411
  __members__: typing.ClassVar[dict[str, BarFlag]] # value = {'DARKEN_SKY': <BarFlag.DARKEN_SKY: 0>}
439
- @staticmethod
440
- def _pybind11_conduit_v1_(*args, **kwargs):
441
- ...
442
412
  def __eq__(self, other: typing.Any) -> bool:
443
413
  ...
444
414
  def __getstate__(self) -> int:
@@ -472,9 +442,6 @@ class BarStyle:
472
442
  SEGMENTED_6: typing.ClassVar[BarStyle] # value = <BarStyle.SEGMENTED_6: 1>
473
443
  SOLID: typing.ClassVar[BarStyle] # value = <BarStyle.SOLID: 0>
474
444
  __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
445
  def __eq__(self, other: typing.Any) -> bool:
479
446
  ...
480
447
  def __getstate__(self) -> int:
@@ -505,9 +472,6 @@ class Block:
505
472
  """
506
473
  Represents a block.
507
474
  """
508
- @staticmethod
509
- def _pybind11_conduit_v1_(*args, **kwargs):
510
- ...
511
475
  def __str__(self) -> str:
512
476
  ...
513
477
  def capture_state(self) -> BlockState:
@@ -571,9 +535,6 @@ class BlockBreakEvent(BlockEvent, Cancellable):
571
535
  """
572
536
  Called when a block is broken by a player.
573
537
  """
574
- @staticmethod
575
- def _pybind11_conduit_v1_(*args, **kwargs):
576
- ...
577
538
  @property
578
539
  def player(self) -> Player:
579
540
  """
@@ -583,9 +544,6 @@ class BlockData:
583
544
  """
584
545
  Represents the data related to a live block
585
546
  """
586
- @staticmethod
587
- def _pybind11_conduit_v1_(*args, **kwargs):
588
- ...
589
547
  def __str__(self) -> str:
590
548
  ...
591
549
  @property
@@ -594,6 +552,11 @@ class BlockData:
594
552
  Gets the block states for this block.
595
553
  """
596
554
  @property
555
+ def runtime_id(self) -> int:
556
+ """
557
+ Gets the runtime id for this block.
558
+ """
559
+ @property
597
560
  def type(self) -> str:
598
561
  """
599
562
  Get the block type represented by this block data.
@@ -602,9 +565,6 @@ class BlockEvent(Event):
602
565
  """
603
566
  Represents an Block-related event
604
567
  """
605
- @staticmethod
606
- def _pybind11_conduit_v1_(*args, **kwargs):
607
- ...
608
568
  @property
609
569
  def block(self) -> Block:
610
570
  """
@@ -618,9 +578,6 @@ class BlockFace:
618
578
  UP: typing.ClassVar[BlockFace] # value = <BlockFace.UP: 1>
619
579
  WEST: typing.ClassVar[BlockFace] # value = <BlockFace.WEST: 4>
620
580
  __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
581
  def __eq__(self, other: typing.Any) -> bool:
625
582
  ...
626
583
  def __getstate__(self) -> int:
@@ -651,9 +608,6 @@ class BlockPlaceEvent(BlockEvent, Cancellable):
651
608
  """
652
609
  Called when a block is placed by a player.
653
610
  """
654
- @staticmethod
655
- def _pybind11_conduit_v1_(*args, **kwargs):
656
- ...
657
611
  @property
658
612
  def block_against(self) -> Block:
659
613
  """
@@ -678,9 +632,6 @@ class BlockState:
678
632
  """
679
633
  Represents a captured state of a block, which will not update automatically.
680
634
  """
681
- @staticmethod
682
- def _pybind11_conduit_v1_(*args, **kwargs):
683
- ...
684
635
  def __str__(self) -> str:
685
636
  ...
686
637
  def update(self, force: bool = False, apply_physics: bool = True) -> bool:
@@ -737,9 +688,6 @@ class BossBar:
737
688
  """
738
689
  Represents a boss bar that is displayed to players.
739
690
  """
740
- @staticmethod
741
- def _pybind11_conduit_v1_(*args, **kwargs):
742
- ...
743
691
  def add_flag(self, flag: BarFlag) -> None:
744
692
  """
745
693
  Adds an optional flag to this boss bar.
@@ -813,16 +761,13 @@ class BroadcastMessageEvent(ServerEvent, Cancellable):
813
761
  """
814
762
  Event triggered for server broadcast messages such as from Server.broadcast
815
763
  """
816
- @staticmethod
817
- def _pybind11_conduit_v1_(*args, **kwargs):
818
- ...
819
764
  @property
820
- def message(self) -> str:
765
+ def message(self) -> str | Translatable:
821
766
  """
822
767
  Gets or sets the message to broadcast.
823
768
  """
824
769
  @message.setter
825
- def message(self, arg1: str) -> None:
770
+ def message(self, arg1: str | Translatable) -> None:
826
771
  ...
827
772
  @property
828
773
  def recipients(self) -> set[CommandSender]:
@@ -833,9 +778,6 @@ class Cancellable:
833
778
  """
834
779
  Represents an event that may be cancelled by a plugin or the server.
835
780
  """
836
- @staticmethod
837
- def _pybind11_conduit_v1_(*args, **kwargs):
838
- ...
839
781
  def cancel(self) -> None:
840
782
  """
841
783
  Cancel this event. A cancelled event will not be executed in the server, but will still pass to other plugins.
@@ -860,8 +802,9 @@ class Chunk:
860
802
  """
861
803
  Represents a chunk of blocks.
862
804
  """
863
- @staticmethod
864
- def _pybind11_conduit_v1_(*args, **kwargs):
805
+ def __repr__(self) -> str:
806
+ ...
807
+ def __str__(self) -> str:
865
808
  ...
866
809
  @property
867
810
  def dimension(self) -> Dimension:
@@ -883,6 +826,23 @@ class Chunk:
883
826
  """
884
827
  Gets the Z-coordinate of this chunk
885
828
  """
829
+ class ChunkEvent(DimensionEvent):
830
+ """
831
+ Represents a Chunk related event
832
+ """
833
+ @property
834
+ def chunk(self) -> Chunk:
835
+ """
836
+ Gets the chunk being loaded/unloaded
837
+ """
838
+ class ChunkLoadEvent(ChunkEvent):
839
+ """
840
+ Called when a chunk is loaded
841
+ """
842
+ class ChunkUnloadEvent(ChunkEvent):
843
+ """
844
+ Called when a chunk is unloaded
845
+ """
886
846
  class ColorFormat:
887
847
  """
888
848
  All supported color and format codes.
@@ -919,16 +879,10 @@ class ColorFormat:
919
879
  RESET: typing.ClassVar[str] = '§r'
920
880
  WHITE: typing.ClassVar[str] = '§f'
921
881
  YELLOW: typing.ClassVar[str] = '§e'
922
- @staticmethod
923
- def _pybind11_conduit_v1_(*args, **kwargs):
924
- ...
925
882
  class Command:
926
883
  """
927
884
  Represents a Command, which executes various tasks upon user input
928
885
  """
929
- @staticmethod
930
- def _pybind11_conduit_v1_(*args, **kwargs):
931
- ...
932
886
  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
887
  ...
934
888
  def execute(self, sender: CommandSender, args: list[str]) -> bool:
@@ -992,9 +946,6 @@ class CommandExecutor:
992
946
  """
993
947
  Represents a class which contains a single method for executing commands
994
948
  """
995
- @staticmethod
996
- def _pybind11_conduit_v1_(*args, **kwargs):
997
- ...
998
949
  def __init__(self) -> None:
999
950
  ...
1000
951
  def on_command(self, sender: CommandSender, command: Command, args: list[str]) -> bool:
@@ -1005,9 +956,6 @@ class CommandSender(Permissible):
1005
956
  """
1006
957
  Represents a command sender.
1007
958
  """
1008
- @staticmethod
1009
- def _pybind11_conduit_v1_(*args, **kwargs):
1010
- ...
1011
959
  def send_error_message(self, message: str | Translatable) -> None:
1012
960
  """
1013
961
  Sends this sender an error message
@@ -1030,18 +978,12 @@ class CommandSenderWrapper(CommandSender):
1030
978
  """
1031
979
  Represents a wrapper that forwards commands to the wrapped CommandSender and captures its output
1032
980
  """
1033
- @staticmethod
1034
- def _pybind11_conduit_v1_(*args, **kwargs):
1035
- ...
1036
981
  def __init__(self, sender: CommandSender, on_message: typing.Callable[[str | Translatable], None] = None, on_error: typing.Callable[[str | Translatable], None] = None) -> None:
1037
982
  ...
1038
983
  class ConsoleCommandSender(CommandSender):
1039
984
  """
1040
985
  Represents a console command sender.
1041
986
  """
1042
- @staticmethod
1043
- def _pybind11_conduit_v1_(*args, **kwargs):
1044
- ...
1045
987
  class Criteria:
1046
988
  """
1047
989
  Represents a scoreboard criteria.
@@ -1052,9 +994,6 @@ class Criteria:
1052
994
  """
1053
995
  DUMMY: typing.ClassVar[Criteria.Type] # value = <Type.DUMMY: 0>
1054
996
  __members__: typing.ClassVar[dict[str, Criteria.Type]] # value = {'DUMMY': <Type.DUMMY: 0>}
1055
- @staticmethod
1056
- def _pybind11_conduit_v1_(*args, **kwargs):
1057
- ...
1058
997
  def __eq__(self, other: typing.Any) -> bool:
1059
998
  ...
1060
999
  def __getstate__(self) -> int:
@@ -1082,9 +1021,6 @@ class Criteria:
1082
1021
  def value(self) -> int:
1083
1022
  ...
1084
1023
  DUMMY: typing.ClassVar[Criteria.Type] # value = <Type.DUMMY: 0>
1085
- @staticmethod
1086
- def _pybind11_conduit_v1_(*args, **kwargs):
1087
- ...
1088
1024
  @property
1089
1025
  def default_render_type(self) -> RenderType:
1090
1026
  ...
@@ -1098,9 +1034,6 @@ class DamageSource:
1098
1034
  """
1099
1035
  Represents a source of damage.
1100
1036
  """
1101
- @staticmethod
1102
- def _pybind11_conduit_v1_(*args, **kwargs):
1103
- ...
1104
1037
  def __str__(self) -> str:
1105
1038
  ...
1106
1039
  @property
@@ -1136,9 +1069,6 @@ class Dimension:
1136
1069
  OVERWORLD: typing.ClassVar[Dimension.Type] # value = <Type.OVERWORLD: 0>
1137
1070
  THE_END: typing.ClassVar[Dimension.Type] # value = <Type.THE_END: 2>
1138
1071
  __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
1072
  def __eq__(self, other: typing.Any) -> bool:
1143
1073
  ...
1144
1074
  def __getstate__(self) -> int:
@@ -1169,9 +1099,6 @@ class Dimension:
1169
1099
  NETHER: typing.ClassVar[Dimension.Type] # value = <Type.NETHER: 1>
1170
1100
  OVERWORLD: typing.ClassVar[Dimension.Type] # value = <Type.OVERWORLD: 0>
1171
1101
  THE_END: typing.ClassVar[Dimension.Type] # value = <Type.THE_END: 2>
1172
- @staticmethod
1173
- def _pybind11_conduit_v1_(*args, **kwargs):
1174
- ...
1175
1102
  @typing.overload
1176
1103
  def get_block_at(self, location: Location) -> Block:
1177
1104
  """
@@ -1216,6 +1143,15 @@ class Dimension:
1216
1143
  """
1217
1144
  Gets the type of this dimension
1218
1145
  """
1146
+ class DimensionEvent(LevelEvent):
1147
+ """
1148
+ Represents events within a dimension
1149
+ """
1150
+ @property
1151
+ def dimension(self) -> Dimension:
1152
+ """
1153
+ Gets the dimension primarily involved with this event
1154
+ """
1219
1155
  class DisplaySlot:
1220
1156
  """
1221
1157
  Locations for displaying objectives to the player
@@ -1224,9 +1160,6 @@ class DisplaySlot:
1224
1160
  PLAYER_LIST: typing.ClassVar[DisplaySlot] # value = <DisplaySlot.PLAYER_LIST: 1>
1225
1161
  SIDE_BAR: typing.ClassVar[DisplaySlot] # value = <DisplaySlot.SIDE_BAR: 2>
1226
1162
  __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
1163
  def __eq__(self, other: typing.Any) -> bool:
1231
1164
  ...
1232
1165
  def __getstate__(self) -> int:
@@ -1253,13 +1186,16 @@ class DisplaySlot:
1253
1186
  @property
1254
1187
  def value(self) -> int:
1255
1188
  ...
1189
+ class Divider:
1190
+ """
1191
+ Represents a divider.
1192
+ """
1193
+ def __init__(self) -> None:
1194
+ ...
1256
1195
  class Dropdown:
1257
1196
  """
1258
1197
  Represents a dropdown with a set of predefined options.
1259
1198
  """
1260
- @staticmethod
1261
- def _pybind11_conduit_v1_(*args, **kwargs):
1262
- ...
1263
1199
  def __init__(self, label: str | Translatable = '', options: list[str] | None = None, default_index: int | None = None) -> None:
1264
1200
  ...
1265
1201
  def add_option(self, option: str) -> Dropdown:
@@ -1290,13 +1226,95 @@ class Dropdown:
1290
1226
  @options.setter
1291
1227
  def options(self, arg1: list[str]) -> Dropdown:
1292
1228
  ...
1229
+ class Enchantment:
1230
+ def can_enchant_item(self, item: ItemStack) -> bool:
1231
+ """
1232
+ Checks if this Enchantment may be applied to the given ItemStack.
1233
+
1234
+ This does not check if it conflicts with any enchantments already applied to the item.
1235
+ """
1236
+ def conflicts_with(self, other: Enchantment) -> bool:
1237
+ """
1238
+ Check if this enchantment conflicts with another enchantment.
1239
+ """
1240
+ @property
1241
+ def key(self) -> NamespacedKey:
1242
+ """
1243
+ Return the namespaced identifier for this enchantment.
1244
+ """
1245
+ @property
1246
+ def max_level(self) -> int:
1247
+ """
1248
+ Gets the maximum level that this Enchantment may become.
1249
+ """
1250
+ @property
1251
+ def start_level(self) -> int:
1252
+ """
1253
+ Gets the level that this Enchantment should start at (also known as minimum level).
1254
+ """
1255
+ @property
1256
+ def translation_key(self) -> str:
1257
+ """
1258
+ Get the translation key, suitable for use in a translation component.
1259
+ """
1260
+ class EnchantmentRegistry:
1261
+ @typing.overload
1262
+ def __contains__(self, key: NamespacedKey) -> bool:
1263
+ ...
1264
+ @typing.overload
1265
+ def __contains__(self, key: str) -> bool:
1266
+ ...
1267
+ @typing.overload
1268
+ def __getitem__(self, key: NamespacedKey) -> Enchantment:
1269
+ ...
1270
+ @typing.overload
1271
+ def __getitem__(self, key: str) -> Enchantment:
1272
+ ...
1273
+ def __iter__(self) -> list:
1274
+ ...
1275
+ def get(self, key: NamespacedKey) -> Enchantment:
1276
+ ...
1277
+ def get_or_throw(self, key: NamespacedKey) -> Enchantment:
1278
+ ...
1279
+ class EquipmentSlot:
1280
+ BODY: typing.ClassVar[EquipmentSlot] # value = <EquipmentSlot.BODY: 6>
1281
+ CHEST: typing.ClassVar[EquipmentSlot] # value = <EquipmentSlot.CHEST: 4>
1282
+ FEET: typing.ClassVar[EquipmentSlot] # value = <EquipmentSlot.FEET: 2>
1283
+ HAND: typing.ClassVar[EquipmentSlot] # value = <EquipmentSlot.HAND: 0>
1284
+ HEAD: typing.ClassVar[EquipmentSlot] # value = <EquipmentSlot.HEAD: 5>
1285
+ LEGS: typing.ClassVar[EquipmentSlot] # value = <EquipmentSlot.LEGS: 3>
1286
+ OFF_HAND: typing.ClassVar[EquipmentSlot] # value = <EquipmentSlot.OFF_HAND: 1>
1287
+ __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>}
1288
+ def __eq__(self, other: typing.Any) -> bool:
1289
+ ...
1290
+ def __getstate__(self) -> int:
1291
+ ...
1292
+ def __hash__(self) -> int:
1293
+ ...
1294
+ def __index__(self) -> int:
1295
+ ...
1296
+ def __init__(self, value: int) -> None:
1297
+ ...
1298
+ def __int__(self) -> int:
1299
+ ...
1300
+ def __ne__(self, other: typing.Any) -> bool:
1301
+ ...
1302
+ def __repr__(self) -> str:
1303
+ ...
1304
+ def __setstate__(self, state: int) -> None:
1305
+ ...
1306
+ def __str__(self) -> str:
1307
+ ...
1308
+ @property
1309
+ def name(self) -> str:
1310
+ ...
1311
+ @property
1312
+ def value(self) -> int:
1313
+ ...
1293
1314
  class Event:
1294
1315
  """
1295
1316
  Represents an event.
1296
1317
  """
1297
- @staticmethod
1298
- def _pybind11_conduit_v1_(*args, **kwargs):
1299
- ...
1300
1318
  @property
1301
1319
  def event_name(self) -> str:
1302
1320
  """
@@ -1318,9 +1336,6 @@ class EventPriority:
1318
1336
  MONITOR: typing.ClassVar[EventPriority] # value = <EventPriority.MONITOR: 5>
1319
1337
  NORMAL: typing.ClassVar[EventPriority] # value = <EventPriority.NORMAL: 2>
1320
1338
  __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):
1323
- ...
1324
1339
  def __eq__(self, other: typing.Any) -> bool:
1325
1340
  ...
1326
1341
  def __getstate__(self) -> int:
@@ -1356,9 +1371,6 @@ class GameMode:
1356
1371
  SPECTATOR: typing.ClassVar[GameMode] # value = <GameMode.SPECTATOR: 3>
1357
1372
  SURVIVAL: typing.ClassVar[GameMode] # value = <GameMode.SURVIVAL: 0>
1358
1373
  __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
1374
  def __eq__(self, other: typing.Any) -> bool:
1363
1375
  ...
1364
1376
  def __getstate__(self) -> int:
@@ -1385,14 +1397,35 @@ class GameMode:
1385
1397
  @property
1386
1398
  def value(self) -> int:
1387
1399
  ...
1400
+ class Header:
1401
+ """
1402
+ Represents a header with a label.
1403
+ """
1404
+ def __init__(self, label: str | Translatable = '') -> None:
1405
+ ...
1406
+ @property
1407
+ def label(self) -> str | Translatable:
1408
+ """
1409
+ Gets or sets the label of the header.
1410
+ """
1411
+ @label.setter
1412
+ def label(self, arg1: str | Translatable) -> Header:
1413
+ ...
1388
1414
  class Inventory:
1389
1415
  """
1390
1416
  Interface to the various inventories.
1391
1417
  """
1392
- @staticmethod
1393
- def _pybind11_conduit_v1_(*args, **kwargs):
1394
- ...
1395
- def __get_item__(self, index: int) -> ItemStack:
1418
+ @typing.overload
1419
+ def __contains__(self, item: ItemStack) -> bool:
1420
+ """
1421
+ Checks if the inventory contains any ItemStacks with the given ItemStack.
1422
+ """
1423
+ @typing.overload
1424
+ def __contains__(self, type: str) -> bool:
1425
+ """
1426
+ Checks if the inventory contains any ItemStacks with the given ItemType.
1427
+ """
1428
+ def __getitem__(self, index: int) -> ItemStack:
1396
1429
  """
1397
1430
  Returns the ItemStack found in the slot at the given index
1398
1431
  """
@@ -1400,26 +1433,104 @@ class Inventory:
1400
1433
  """
1401
1434
  Returns the size of the inventory
1402
1435
  """
1403
- def __set_item__(self, index: int, item: ItemStack) -> None:
1436
+ def __setitem__(self, index: int, item: ItemStack) -> None:
1404
1437
  """
1405
1438
  Stores the ItemStack at the given index of the inventory.
1406
1439
  """
1407
- def add_item(self, item: ItemStack) -> None:
1440
+ def add_item(self, *args) -> dict[int, ItemStack]:
1441
+ """
1442
+ Stores the given ItemStacks in the inventory.
1443
+ This will try to fill existing stacks and empty slots as well as it can.
1444
+
1445
+ The returned map contains what it couldn't store, where the key is the index, and the value is the ItemStack.
1446
+ If all items are stored, it will return an empty dict.
1447
+ """
1448
+ @typing.overload
1449
+ def all(self, item: ItemStack) -> dict[int, ItemStack]:
1450
+ """
1451
+ Finds all slots in the inventory containing any ItemStacks with the given ItemStack.
1452
+ This will only match slots if both the type and the amount of the stack match
1453
+ 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.
1454
+ """
1455
+ @typing.overload
1456
+ def all(self, type: str) -> dict[int, ItemStack]:
1457
+ """
1458
+ Finds all slots in the inventory containing any ItemStacks with the given ItemType.
1459
+ 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.
1408
1460
  """
1409
- Stores the given ItemStacks in the inventory. This will try to fill existing stacks and empty slots as well as it can.
1461
+ @typing.overload
1462
+ def clear(self, index: int) -> None:
1463
+ """
1464
+ Clears out a particular slot in the index.
1410
1465
  """
1466
+ @typing.overload
1411
1467
  def clear(self) -> None:
1412
1468
  """
1413
1469
  Clears out the whole Inventory.
1414
1470
  """
1471
+ @typing.overload
1472
+ def contains(self, item: ItemStack, amount: int) -> bool:
1473
+ """
1474
+ Checks if the inventory contains at least the minimum amount specified of exactly matching ItemStacks.
1475
+ An ItemStack only counts if both the type and the amount of the stack match.
1476
+ """
1477
+ @typing.overload
1478
+ def contains(self, item: ItemStack) -> bool:
1479
+ """
1480
+ Checks if the inventory contains any ItemStacks with the given ItemStack.
1481
+ This will only return true if both the type and the amount of the stack match.
1482
+ """
1483
+ @typing.overload
1484
+ def contains(self, type: str) -> bool:
1485
+ """
1486
+ Checks if the inventory contains any ItemStacks with the given ItemType.
1487
+ """
1488
+ @typing.overload
1489
+ def contains_at_least(self, item: ItemStack, amount: int) -> bool:
1490
+ """
1491
+ Checks if the inventory contains ItemStacks matching the given ItemStack whose amounts sum to at least the minimum amount specified.
1492
+ """
1493
+ @typing.overload
1494
+ def contains_at_least(self, type: str, amount: int) -> bool:
1495
+ """
1496
+ Checks if the inventory contains any ItemStacks with the given ItemType, adding to at least the minimum amount specified.
1497
+ """
1498
+ @typing.overload
1415
1499
  def first(self, item: ItemStack) -> int:
1416
1500
  """
1417
1501
  Returns the first slot in the inventory containing an ItemStack with the given stack.
1502
+ This will only match slots if both the type and the amount of the stack match
1503
+ 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.
1504
+ """
1505
+ @typing.overload
1506
+ def first(self, type: str) -> int:
1507
+ """
1508
+ Finds the first slot in the inventory containing an ItemStack with the given ItemType.
1509
+ 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
1510
  """
1419
1511
  def get_item(self, index: int) -> ItemStack:
1420
1512
  """
1421
1513
  Returns the ItemStack found in the slot at the given index
1422
1514
  """
1515
+ @typing.overload
1516
+ def remove(self, item: ItemStack) -> None:
1517
+ """
1518
+ Removes all stacks in the inventory matching the given stack.
1519
+ This will only match a slot if both the type and the amount of the stack match
1520
+ """
1521
+ @typing.overload
1522
+ def remove(self, type: str) -> None:
1523
+ """
1524
+ Removes all stacks in the inventory matching the given ItemType.
1525
+ """
1526
+ def remove_item(self, *args) -> dict[int, ItemStack]:
1527
+ """
1528
+ Removes the given ItemStacks from the inventory.
1529
+ It will try to remove 'as much as possible' from the types and amounts you give as arguments.
1530
+
1531
+ The returned HashMap contains what it couldn't remove, where the key is the index, and the value is the ItemStack.
1532
+ If all the given ItemStacks are removed, it will return an empty dict.
1533
+ """
1423
1534
  def set_item(self, index: int, item: ItemStack) -> None:
1424
1535
  """
1425
1536
  Stores the ItemStack at the given index of the inventory.
@@ -1429,6 +1540,14 @@ class Inventory:
1429
1540
  """
1430
1541
  Returns all ItemStacks from the inventory
1431
1542
  """
1543
+ @contents.setter
1544
+ def contents(self, arg1: list[ItemStack]) -> None:
1545
+ ...
1546
+ @property
1547
+ def first_empty(self) -> int:
1548
+ """
1549
+ Returns the first empty Slot.
1550
+ """
1432
1551
  @property
1433
1552
  def is_empty(self) -> bool:
1434
1553
  """
@@ -1448,9 +1567,6 @@ class IpBanEntry(BanEntry):
1448
1567
  """
1449
1568
  Represents a ban entry for an IP address.
1450
1569
  """
1451
- @staticmethod
1452
- def _pybind11_conduit_v1_(*args, **kwargs):
1453
- ...
1454
1570
  def __init__(self, address: str) -> None:
1455
1571
  ...
1456
1572
  @property
@@ -1462,9 +1578,6 @@ class IpBanList:
1462
1578
  """
1463
1579
  Represents a ban list containing banned IP addresses.
1464
1580
  """
1465
- @staticmethod
1466
- def _pybind11_conduit_v1_(*args, **kwargs):
1467
- ...
1468
1581
  def add_ban(self, address: str, reason: str | None = None, expires: datetime.datetime | None = None, source: str | None = None) -> IpBanEntry:
1469
1582
  """
1470
1583
  Adds a ban to this list, or updates an existing one.
@@ -1486,17 +1599,59 @@ class IpBanList:
1486
1599
  """
1487
1600
  Gets a vector of pointers to entries in the ban list.
1488
1601
  """
1602
+ class ItemFactory:
1603
+ def as_meta_for(self, meta: ItemMeta, type: ItemType) -> ItemMeta:
1604
+ """
1605
+ Returns an appropriate item meta for the specified item type.
1606
+ """
1607
+ def equals(self, meta1: ItemMeta, meta2: ItemMeta) -> bool:
1608
+ """
1609
+ This method is used to compare two ItemMeta objects.
1610
+ """
1611
+ def get_item_meta(self, type: ItemType) -> ItemMeta:
1612
+ """
1613
+ This creates a new item meta for the item type.
1614
+ """
1615
+ def is_applicable(self, meta: ItemMeta, type: ItemType) -> bool:
1616
+ """
1617
+ This method checks the item meta to confirm that it is applicable (no data lost if applied) to the specified ItemStack
1618
+ """
1489
1619
  class ItemMeta:
1490
1620
  """
1491
1621
  Represents the metadata of a generic item.
1492
1622
  """
1493
- @staticmethod
1494
- def _pybind11_conduit_v1_(*args, **kwargs):
1495
- ...
1623
+ def add_enchant(self, id: str, level: int, force: bool = False) -> bool:
1624
+ """
1625
+ Adds the specified enchantment to this item meta.
1626
+ """
1496
1627
  def clone(self) -> ItemMeta:
1497
1628
  """
1498
1629
  Creates a clone of the current metadata.
1499
1630
  """
1631
+ def get_enchant_level(self, id: str) -> int:
1632
+ """
1633
+ Checks for the level of the specified enchantment.
1634
+ """
1635
+ def has_enchant(self, id: str) -> bool:
1636
+ """
1637
+ Checks for existence of the specified enchantment.
1638
+ """
1639
+ def remove_enchant(self, id: str) -> bool:
1640
+ """
1641
+ Removes the specified enchantment from this item meta.
1642
+ """
1643
+ def remove_enchants(self) -> None:
1644
+ """
1645
+ Removes all enchantments from this item meta.
1646
+ """
1647
+ @property
1648
+ def damage(self) -> int:
1649
+ """
1650
+ Gets or sets the damage.
1651
+ """
1652
+ @damage.setter
1653
+ def damage(self, arg1: int) -> None:
1654
+ ...
1500
1655
  @property
1501
1656
  def display_name(self) -> str | None:
1502
1657
  """
@@ -1506,16 +1661,44 @@ class ItemMeta:
1506
1661
  def display_name(self, arg1: str | None) -> None:
1507
1662
  ...
1508
1663
  @property
1664
+ def enchants(self) -> dict[str, int]:
1665
+ """
1666
+ Returns a copy the enchantments in this ItemMeta.
1667
+ """
1668
+ @property
1669
+ def has_damage(self) -> bool:
1670
+ """
1671
+ Checks to see if this item has damage.
1672
+ """
1673
+ @property
1509
1674
  def has_display_name(self) -> bool:
1510
1675
  """
1511
1676
  Checks for existence of a display name.
1512
1677
  """
1513
1678
  @property
1679
+ def has_enchants(self) -> bool:
1680
+ """
1681
+ Checks for the existence of any enchantments.
1682
+ """
1683
+ @property
1514
1684
  def has_lore(self) -> bool:
1515
1685
  """
1516
1686
  Checks for existence of lore.
1517
1687
  """
1518
1688
  @property
1689
+ def has_repair_cost(self) -> bool:
1690
+ """
1691
+ Checks to see if this item has a repair penalty.
1692
+ """
1693
+ @property
1694
+ def is_unbreakable(self) -> bool:
1695
+ """
1696
+ Gets or sets the unbreakable tag. An unbreakable item will not lose durability.
1697
+ """
1698
+ @is_unbreakable.setter
1699
+ def is_unbreakable(self, arg1: bool) -> None:
1700
+ ...
1701
+ @property
1519
1702
  def lore(self) -> list[str] | None:
1520
1703
  """
1521
1704
  Gets or sets the lore for this item.
@@ -1523,17 +1706,50 @@ class ItemMeta:
1523
1706
  @lore.setter
1524
1707
  def lore(self, arg1: list[str] | None) -> None:
1525
1708
  ...
1709
+ @property
1710
+ def repair_cost(self) -> int:
1711
+ """
1712
+ Gets or sets the repair penalty.
1713
+ """
1714
+ @repair_cost.setter
1715
+ def repair_cost(self, arg1: int) -> None:
1716
+ ...
1717
+ class ItemRegistry:
1718
+ @typing.overload
1719
+ def __contains__(self, key: NamespacedKey) -> bool:
1720
+ ...
1721
+ @typing.overload
1722
+ def __contains__(self, key: str) -> bool:
1723
+ ...
1724
+ @typing.overload
1725
+ def __getitem__(self, key: NamespacedKey) -> ItemType:
1726
+ ...
1727
+ @typing.overload
1728
+ def __getitem__(self, key: str) -> ItemType:
1729
+ ...
1730
+ def __iter__(self) -> list:
1731
+ ...
1732
+ def get(self, key: NamespacedKey) -> ItemType:
1733
+ ...
1734
+ def get_or_throw(self, key: NamespacedKey) -> ItemType:
1735
+ ...
1526
1736
  class ItemStack:
1527
1737
  """
1528
1738
  Represents a stack of items.
1529
1739
  """
1530
- @staticmethod
1531
- def _pybind11_conduit_v1_(*args, **kwargs):
1740
+ __hash__: typing.ClassVar[None] = None
1741
+ def __eq__(self, arg0: ItemStack) -> bool:
1742
+ ...
1743
+ def __init__(self, type: ItemType | str, amount: int = 1) -> None:
1532
1744
  ...
1533
- def __init__(self, type: str = 'minecraft:air', amount: int = 1) -> None:
1745
+ def __ne__(self, arg0: ItemStack) -> bool:
1534
1746
  ...
1535
1747
  def __str__(self) -> str:
1536
1748
  ...
1749
+ def is_similar(self, other: ItemStack) -> bool:
1750
+ """
1751
+ Checks if the two stacks are equal, but does not consider stack size (amount).
1752
+ """
1537
1753
  def set_item_meta(self, meta: ItemMeta) -> bool:
1538
1754
  """
1539
1755
  Set the ItemMeta of this ItemStack.
@@ -1552,20 +1768,71 @@ class ItemStack:
1552
1768
  Gets a copy of the ItemMeta of this ItemStack.
1553
1769
  """
1554
1770
  @property
1555
- def type(self) -> str:
1771
+ def max_stack_size(self) -> int:
1772
+ """
1773
+ Get the maximum stack size for this item.
1774
+ """
1775
+ @property
1776
+ def type(self) -> ItemType:
1556
1777
  """
1557
1778
  Gets or sets the type of this item.
1558
1779
  """
1559
1780
  @type.setter
1560
- def type(self, arg1: str) -> None:
1781
+ def type(self, arg1: ItemType | str) -> None:
1561
1782
  ...
1562
- class Label:
1783
+ class ItemType:
1563
1784
  """
1564
- Represents a text label.
1785
+ Represents an item type.
1565
1786
  """
1787
+ __hash__: typing.ClassVar[None] = None
1566
1788
  @staticmethod
1567
- def _pybind11_conduit_v1_(*args, **kwargs):
1789
+ def get(name: str) -> ItemType:
1790
+ """
1791
+ Attempts to get the ItemType with the given name.
1792
+ """
1793
+ @typing.overload
1794
+ def __eq__(self, arg0: ItemType) -> bool:
1795
+ ...
1796
+ @typing.overload
1797
+ def __eq__(self, arg0: str) -> bool:
1798
+ ...
1799
+ @typing.overload
1800
+ def __ne__(self, arg0: ItemType) -> bool:
1801
+ ...
1802
+ @typing.overload
1803
+ def __ne__(self, arg0: str) -> bool:
1804
+ ...
1805
+ def __str__(self) -> str:
1568
1806
  ...
1807
+ @property
1808
+ def id(self) -> str:
1809
+ """
1810
+ Return the identifier of this item type.
1811
+ """
1812
+ @property
1813
+ def key(self) -> NamespacedKey:
1814
+ """
1815
+ Return the namespaced identifier of this item type.
1816
+ """
1817
+ @property
1818
+ def max_durability(self) -> int:
1819
+ """
1820
+ Gets the maximum durability of this item type
1821
+ """
1822
+ @property
1823
+ def max_stack_size(self) -> int:
1824
+ """
1825
+ Gets the maximum amount of this item type that can be held in a stack.
1826
+ """
1827
+ @property
1828
+ def translation_key(self) -> str:
1829
+ """
1830
+ Get the translation key, suitable for use in a translation component.
1831
+ """
1832
+ class Label:
1833
+ """
1834
+ Represents a text label.
1835
+ """
1569
1836
  def __init__(self, text: str | Translatable = '') -> None:
1570
1837
  ...
1571
1838
  @property
@@ -1580,9 +1847,6 @@ class Language:
1580
1847
  """
1581
1848
  Represents the interface for translating text into different languages.
1582
1849
  """
1583
- @staticmethod
1584
- def _pybind11_conduit_v1_(*args, **kwargs):
1585
- ...
1586
1850
  @typing.overload
1587
1851
  def translate(self, text: str, params: list[str] | None = None, locale: str | None = None) -> str:
1588
1852
  """
@@ -1599,9 +1863,6 @@ class Language:
1599
1863
  Gets the current locale.
1600
1864
  """
1601
1865
  class Level:
1602
- @staticmethod
1603
- def _pybind11_conduit_v1_(*args, **kwargs):
1604
- ...
1605
1866
  def get_dimension(self, name: str) -> Dimension:
1606
1867
  """
1607
1868
  Gets the dimension with the given name.
@@ -1629,13 +1890,19 @@ class Level:
1629
1890
  @time.setter
1630
1891
  def time(self, arg1: int) -> None:
1631
1892
  ...
1893
+ class LevelEvent(Event):
1894
+ """
1895
+ Represents events within a level
1896
+ """
1897
+ @property
1898
+ def level(self) -> Level:
1899
+ """
1900
+ Gets the level primarily involved with this event
1901
+ """
1632
1902
  class Location(Position):
1633
1903
  """
1634
1904
  Represents a 3-dimensional location in a dimension within a level.
1635
1905
  """
1636
- @staticmethod
1637
- def _pybind11_conduit_v1_(*args, **kwargs):
1638
- ...
1639
1906
  def __init__(self, dimension: Dimension, x: float, y: float, z: float, pitch: float = 0.0, yaw: float = 0.0) -> None:
1640
1907
  ...
1641
1908
  def __repr__(self) -> str:
@@ -1673,9 +1940,6 @@ class Logger:
1673
1940
  TRACE: typing.ClassVar[Logger.Level] # value = <Level.TRACE: 0>
1674
1941
  WARNING: typing.ClassVar[Logger.Level] # value = <Level.WARNING: 3>
1675
1942
  __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
1943
  def __eq__(self, other: typing.Any) -> bool:
1680
1944
  ...
1681
1945
  def __getstate__(self) -> int:
@@ -1708,9 +1972,6 @@ class Logger:
1708
1972
  INFO: typing.ClassVar[Logger.Level] # value = <Level.INFO: 2>
1709
1973
  TRACE: typing.ClassVar[Logger.Level] # value = <Level.TRACE: 0>
1710
1974
  WARNING: typing.ClassVar[Logger.Level] # value = <Level.WARNING: 3>
1711
- @staticmethod
1712
- def _pybind11_conduit_v1_(*args, **kwargs):
1713
- ...
1714
1975
  def critical(self, message: str) -> None:
1715
1976
  """
1716
1977
  Log a message at the CRITICAL level.
@@ -1737,31 +1998,181 @@ class Logger:
1737
1998
  """
1738
1999
  def trace(self, message: str) -> None:
1739
2000
  """
1740
- Log a message at the TRACE level.
2001
+ Log a message at the TRACE level.
2002
+ """
2003
+ def warning(self, message: str) -> None:
2004
+ """
2005
+ Log a message at the WARNING level.
2006
+ """
2007
+ @property
2008
+ def name(self) -> str:
2009
+ """
2010
+ Get the name of this Logger instance.
2011
+ """
2012
+ class MapCanvas:
2013
+ """
2014
+ 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.
2015
+ """
2016
+ def draw_image(self, x: int, y: int, image: numpy.ndarray[numpy.uint8]) -> None:
2017
+ """
2018
+ Draw an image to the map. The image will be clipped if necessary.
2019
+ """
2020
+ def get_base_pixel_color(self, x: int, y: int) -> tuple[int, ...]:
2021
+ """
2022
+ Get a pixel from the layers below this canvas.
2023
+ """
2024
+ def get_pixel_color(self, x: int, y: int) -> tuple[int, ...] | None:
2025
+ """
2026
+ Get a pixel from the canvas.
2027
+
2028
+ 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
2029
+ """
2030
+ def set_pixel_color(self, x: int, y: int, color: tuple[int, ...] | None) -> None:
2031
+ """
2032
+ Draw a pixel to the canvas.
2033
+
2034
+ If None is used as color, then the color returned by get_base_pixel_color() is shown on the map.
2035
+ """
2036
+ @property
2037
+ def map_view(self) -> MapView:
2038
+ """
2039
+ Get the map this canvas is attached to.
2040
+ """
2041
+ class MapMeta(ItemMeta):
2042
+ """
2043
+ Represents the metadata for a map item.
2044
+ """
2045
+ class MapRenderer:
2046
+ """
2047
+ Represents a renderer for a map.
2048
+ """
2049
+ def __init__(self, is_contextual: bool = False) -> None:
2050
+ """
2051
+ Initialize the map renderer base with the given contextual status.
2052
+ """
2053
+ def initialize(self, view: MapView) -> None:
2054
+ """
2055
+ Initialize this MapRenderer for the given map.
2056
+ """
2057
+ def render(self, map: MapView, canvas: MapCanvas, player: Player) -> None:
2058
+ """
2059
+ Render to the given map.
2060
+ """
2061
+ class MapView:
2062
+ """
2063
+ Represents a map item.
2064
+ """
2065
+ class Scale:
2066
+ """
2067
+ An enum representing all possible scales a map can be set to.
2068
+ """
2069
+ CLOSE: typing.ClassVar[MapView.Scale] # value = <Scale.CLOSE: 1>
2070
+ CLOSEST: typing.ClassVar[MapView.Scale] # value = <Scale.CLOSEST: 0>
2071
+ FAR: typing.ClassVar[MapView.Scale] # value = <Scale.FAR: 3>
2072
+ FARTHEST: typing.ClassVar[MapView.Scale] # value = <Scale.FARTHEST: 4>
2073
+ NORMAL: typing.ClassVar[MapView.Scale] # value = <Scale.NORMAL: 2>
2074
+ __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>}
2075
+ def __eq__(self, other: typing.Any) -> bool:
2076
+ ...
2077
+ def __getstate__(self) -> int:
2078
+ ...
2079
+ def __hash__(self) -> int:
2080
+ ...
2081
+ def __index__(self) -> int:
2082
+ ...
2083
+ def __init__(self, value: int) -> None:
2084
+ ...
2085
+ def __int__(self) -> int:
2086
+ ...
2087
+ def __ne__(self, other: typing.Any) -> bool:
2088
+ ...
2089
+ def __repr__(self) -> str:
2090
+ ...
2091
+ def __setstate__(self, state: int) -> None:
2092
+ ...
2093
+ def __str__(self) -> str:
2094
+ ...
2095
+ @property
2096
+ def name(self) -> str:
2097
+ ...
2098
+ @property
2099
+ def value(self) -> int:
2100
+ ...
2101
+ def add_renderer(self, renderer: MapRenderer) -> None:
2102
+ """
2103
+ Add a renderer to this map.
2104
+ """
2105
+ def remove_renderer(self, renderer: MapRenderer) -> bool:
2106
+ """
2107
+ Remove a renderer from this map.
2108
+ """
2109
+ @property
2110
+ def center_x(self) -> int:
2111
+ """
2112
+ Get or set the center X position of this map.
2113
+ """
2114
+ @center_x.setter
2115
+ def center_x(self, arg1: int) -> None:
2116
+ ...
2117
+ @property
2118
+ def center_z(self) -> int:
2119
+ """
2120
+ Get or set the center Z position of this map.
2121
+ """
2122
+ @center_z.setter
2123
+ def center_z(self, arg1: int) -> None:
2124
+ ...
2125
+ @property
2126
+ def dimension(self) -> Dimension:
2127
+ """
2128
+ Get or set the dimension that this map is associated with.
2129
+ """
2130
+ @dimension.setter
2131
+ def dimension(self, arg1: Dimension) -> None:
2132
+ ...
2133
+ @property
2134
+ def id(self) -> int:
2135
+ """
2136
+ Get the ID of this map item for use with MapMeta.
2137
+ """
2138
+ @property
2139
+ def is_unlimited_tracking(self) -> bool:
2140
+ """
2141
+ Whether the map will show a smaller position cursor (true), or no position cursor (false) when cursor is outside of map's range.
2142
+ """
2143
+ @is_unlimited_tracking.setter
2144
+ def is_unlimited_tracking(self, arg1: bool) -> None:
2145
+ ...
2146
+ @property
2147
+ def is_virtual(self) -> bool:
2148
+ """
2149
+ Check whether this map is virtual.
2150
+ """
2151
+ @property
2152
+ def locked(self) -> bool:
2153
+ """
2154
+ Whether the map is locked or not. A locked map may not be explored further.
1741
2155
  """
1742
- def warning(self, message: str) -> None:
2156
+ @locked.setter
2157
+ def locked(self, arg1: bool) -> None:
2158
+ ...
2159
+ @property
2160
+ def renderers(self) -> list[MapRenderer]:
1743
2161
  """
1744
- Log a message at the WARNING level.
2162
+ Get a copied list of MapRenderers currently in effect.
1745
2163
  """
1746
2164
  @property
1747
- def name(self) -> str:
2165
+ def scale(self) -> MapView.Scale:
1748
2166
  """
1749
- Get the name of this Logger instance.
2167
+ Get or set the scale of this map.
1750
2168
  """
1751
- class MapMeta(ItemMeta):
1752
- """
1753
- Represents the metadata for a map item.
1754
- """
1755
- @staticmethod
1756
- def _pybind11_conduit_v1_(*args, **kwargs):
2169
+ @scale.setter
2170
+ def scale(self, arg1: MapView.Scale) -> None:
1757
2171
  ...
1758
2172
  class MessageForm:
1759
2173
  """
1760
2174
  Represents a form with two buttons.
1761
2175
  """
1762
- @staticmethod
1763
- def _pybind11_conduit_v1_(*args, **kwargs):
1764
- ...
1765
2176
  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
2177
  ...
1767
2178
  @property
@@ -1816,9 +2227,6 @@ class Mob(Actor):
1816
2227
  """
1817
2228
  Represents a mobile entity (i.e. living entity), such as a monster or player.
1818
2229
  """
1819
- @staticmethod
1820
- def _pybind11_conduit_v1_(*args, **kwargs):
1821
- ...
1822
2230
  @property
1823
2231
  def is_gliding(self) -> bool:
1824
2232
  """
@@ -1828,9 +2236,6 @@ class MobEvent(Event):
1828
2236
  """
1829
2237
  Represents an Mob-related event.
1830
2238
  """
1831
- @staticmethod
1832
- def _pybind11_conduit_v1_(*args, **kwargs):
1833
- ...
1834
2239
  @property
1835
2240
  def actor(self) -> Mob:
1836
2241
  """
@@ -1840,22 +2245,19 @@ class ModalForm:
1840
2245
  """
1841
2246
  Represents a modal form with controls.
1842
2247
  """
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:
2248
+ 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
2249
  ...
1848
- def add_control(self, control: Dropdown | Label | Slider | StepSlider | TextInput | Toggle) -> ModalForm:
2250
+ def add_control(self, control: Dropdown | Label | Slider | StepSlider | TextInput | Toggle | Divider | Header) -> ModalForm:
1849
2251
  """
1850
2252
  Adds a control to the form.
1851
2253
  """
1852
2254
  @property
1853
- def controls(self) -> list[Dropdown | Label | Slider | StepSlider | TextInput | Toggle]:
2255
+ def controls(self) -> list[Dropdown | Label | Slider | StepSlider | TextInput | Toggle | Divider | Header]:
1854
2256
  """
1855
2257
  Gets or sets the controls of the modal form.
1856
2258
  """
1857
2259
  @controls.setter
1858
- def controls(self, arg1: list[Dropdown | Label | Slider | StepSlider | TextInput | Toggle]) -> ModalForm:
2260
+ def controls(self, arg1: list[Dropdown | Label | Slider | StepSlider | TextInput | Toggle | Divider | Header]) -> ModalForm:
1859
2261
  ...
1860
2262
  @property
1861
2263
  def icon(self) -> str | None:
@@ -1897,14 +2299,36 @@ class ModalForm:
1897
2299
  @title.setter
1898
2300
  def title(self, arg1: str | Translatable) -> ModalForm:
1899
2301
  ...
2302
+ class NamespacedKey:
2303
+ """
2304
+ Represents a string-based key which consists of two components - a namespace and a key.
2305
+ """
2306
+ @staticmethod
2307
+ def from_string(input: str, plugin: Plugin = None) -> NamespacedKey:
2308
+ """
2309
+ Parses a NamespacedKey from a string.
2310
+ """
2311
+ def __init__(self, arg0: Plugin, arg1: str) -> None:
2312
+ ...
2313
+ def __repr__(self) -> str:
2314
+ ...
2315
+ def __str__(self) -> str:
2316
+ ...
2317
+ @property
2318
+ def key(self) -> str:
2319
+ """
2320
+ Returns the key of the NamespacedKey.
2321
+ """
2322
+ @property
2323
+ def namespace(self) -> str:
2324
+ """
2325
+ Returns the namespace of the NamespacedKey.
2326
+ """
1900
2327
  class Objective:
1901
2328
  """
1902
2329
  Represents an objective on a scoreboard that can show scores specific to entries.
1903
2330
  """
1904
2331
  __hash__: typing.ClassVar[None] = None
1905
- @staticmethod
1906
- def _pybind11_conduit_v1_(*args, **kwargs):
1907
- ...
1908
2332
  def __eq__(self, arg0: Objective) -> bool:
1909
2333
  ...
1910
2334
  def __ne__(self, arg0: Objective) -> bool:
@@ -1979,9 +2403,6 @@ class ObjectiveSortOrder:
1979
2403
  ASCENDING: typing.ClassVar[ObjectiveSortOrder] # value = <ObjectiveSortOrder.ASCENDING: 0>
1980
2404
  DESCENDING: typing.ClassVar[ObjectiveSortOrder] # value = <ObjectiveSortOrder.DESCENDING: 1>
1981
2405
  __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
2406
  def __eq__(self, other: typing.Any) -> bool:
1986
2407
  ...
1987
2408
  def __getstate__(self) -> int:
@@ -2012,9 +2433,6 @@ class OfflinePlayer:
2012
2433
  """
2013
2434
  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
2435
  """
2015
- @staticmethod
2016
- def _pybind11_conduit_v1_(*args, **kwargs):
2017
- ...
2018
2436
  @property
2019
2437
  def name(self) -> str:
2020
2438
  """
@@ -2029,9 +2447,11 @@ class PacketReceiveEvent(ServerEvent, Cancellable):
2029
2447
  """
2030
2448
  Called when the server receives a packet from a connected client.
2031
2449
  """
2032
- @staticmethod
2033
- def _pybind11_conduit_v1_(*args, **kwargs):
2034
- ...
2450
+ @property
2451
+ def address(self) -> SocketAddress:
2452
+ """
2453
+ Gets the network address to which this packet is being sent.
2454
+ """
2035
2455
  @property
2036
2456
  def packet_id(self) -> int:
2037
2457
  """
@@ -2049,14 +2469,22 @@ class PacketReceiveEvent(ServerEvent, Cancellable):
2049
2469
  def player(self) -> Player:
2050
2470
  """
2051
2471
  Gets the player involved in this event
2472
+ NOTE: This may return None if the packet is sent before the player completes the login process.
2473
+ """
2474
+ @property
2475
+ def sub_client_id(self) -> int:
2476
+ """
2477
+ Gets the SubClient ID (0 = primary client; 1-3 = split-screen clients).
2052
2478
  """
2053
2479
  class PacketSendEvent(ServerEvent, Cancellable):
2054
2480
  """
2055
2481
  Called when the server sends a packet to a connected client.
2056
2482
  """
2057
- @staticmethod
2058
- def _pybind11_conduit_v1_(*args, **kwargs):
2059
- ...
2483
+ @property
2484
+ def address(self) -> SocketAddress:
2485
+ """
2486
+ Gets the network address to which this packet is being sent.
2487
+ """
2060
2488
  @property
2061
2489
  def packet_id(self) -> int:
2062
2490
  """
@@ -2074,14 +2502,17 @@ class PacketSendEvent(ServerEvent, Cancellable):
2074
2502
  def player(self) -> Player:
2075
2503
  """
2076
2504
  Gets the player involved in this event
2505
+ NOTE: This may return None if the packet is sent before the player completes the login process.
2506
+ """
2507
+ @property
2508
+ def sub_client_id(self) -> int:
2509
+ """
2510
+ Gets the SubClient ID (0 = primary client; 1-3 = split-screen clients).
2077
2511
  """
2078
2512
  class Permissible:
2079
2513
  """
2080
2514
  Represents an object that may become a server operator and can be assigned permissions.
2081
2515
  """
2082
- @staticmethod
2083
- def _pybind11_conduit_v1_(*args, **kwargs):
2084
- ...
2085
2516
  @typing.overload
2086
2517
  def add_attachment(self, plugin: Plugin, name: str, value: bool) -> PermissionAttachment:
2087
2518
  """
@@ -2137,9 +2568,6 @@ class Permission:
2137
2568
  """
2138
2569
  Represents a unique permission that may be attached to a Permissible
2139
2570
  """
2140
- @staticmethod
2141
- def _pybind11_conduit_v1_(*args, **kwargs):
2142
- ...
2143
2571
  def __init__(self, name: str, description: str | None = None, default: PermissionDefault | None = None, children: dict[str, bool] | None = None, *args, **kwargs) -> None:
2144
2572
  ...
2145
2573
  @typing.overload
@@ -2191,9 +2619,6 @@ class PermissionAttachment:
2191
2619
  """
2192
2620
  Holds information about a permission attachment on a Permissible object
2193
2621
  """
2194
- @staticmethod
2195
- def _pybind11_conduit_v1_(*args, **kwargs):
2196
- ...
2197
2622
  def __init__(self, plugin: Plugin, permissible: Permissible) -> None:
2198
2623
  ...
2199
2624
  def remove(self) -> bool:
@@ -2247,9 +2672,6 @@ class PermissionAttachmentInfo:
2247
2672
  """
2248
2673
  Holds information on a permission and which PermissionAttachment provides it
2249
2674
  """
2250
- @staticmethod
2251
- def _pybind11_conduit_v1_(*args, **kwargs):
2252
- ...
2253
2675
  def __init__(self, permissible: Permissible, permission: str, attachment: PermissionAttachment, value: bool) -> None:
2254
2676
  ...
2255
2677
  @property
@@ -2283,9 +2705,6 @@ class PermissionDefault:
2283
2705
  OPERATOR: typing.ClassVar[PermissionDefault] # value = <PermissionDefault.OP: 2>
2284
2706
  TRUE: typing.ClassVar[PermissionDefault] # value = <PermissionDefault.TRUE: 0>
2285
2707
  __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):
2288
- ...
2289
2708
  def __eq__(self, other: typing.Any) -> bool:
2290
2709
  ...
2291
2710
  def __getstate__(self) -> int:
@@ -2316,9 +2735,6 @@ class Player(Mob, OfflinePlayer):
2316
2735
  """
2317
2736
  Represents a player.
2318
2737
  """
2319
- @staticmethod
2320
- def _pybind11_conduit_v1_(*args, **kwargs):
2321
- ...
2322
2738
  def close_form(self) -> None:
2323
2739
  """
2324
2740
  Closes the forms that are currently open for the player.
@@ -2339,7 +2755,7 @@ class Player(Mob, OfflinePlayer):
2339
2755
  """
2340
2756
  Makes the player perform the given command.
2341
2757
  """
2342
- def play_sound(self, location: Location, sound: str, volume: float, pitch: float) -> None:
2758
+ def play_sound(self, location: Location, sound: str, volume: float = 1.0, pitch: float = 1.0) -> None:
2343
2759
  """
2344
2760
  Play a sound for a player at the location.
2345
2761
  """
@@ -2541,9 +2957,6 @@ class PlayerBanEntry(BanEntry):
2541
2957
  """
2542
2958
  Represents a ban entry for a player.
2543
2959
  """
2544
- @staticmethod
2545
- def _pybind11_conduit_v1_(*args, **kwargs):
2546
- ...
2547
2960
  def __init__(self, name: str, uuid: uuid.UUID | None = None, xuid: str | None = None) -> None:
2548
2961
  ...
2549
2962
  @property
@@ -2565,9 +2978,6 @@ class PlayerBanList:
2565
2978
  """
2566
2979
  Represents a ban list containing banned players.
2567
2980
  """
2568
- @staticmethod
2569
- def _pybind11_conduit_v1_(*args, **kwargs):
2570
- ...
2571
2981
  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
2982
  """
2573
2983
  Adds a ban to this list, or updates an existing one.
@@ -2593,9 +3003,6 @@ class PlayerChatEvent(PlayerEvent, Cancellable):
2593
3003
  """
2594
3004
  Called when a player sends a chat message.
2595
3005
  """
2596
- @staticmethod
2597
- def _pybind11_conduit_v1_(*args, **kwargs):
2598
- ...
2599
3006
  @property
2600
3007
  def message(self) -> str:
2601
3008
  """
@@ -2608,9 +3015,6 @@ class PlayerCommandEvent(PlayerEvent, Cancellable):
2608
3015
  """
2609
3016
  Called whenever a player runs a command.
2610
3017
  """
2611
- @staticmethod
2612
- def _pybind11_conduit_v1_(*args, **kwargs):
2613
- ...
2614
3018
  @property
2615
3019
  def command(self) -> str:
2616
3020
  """
@@ -2623,9 +3027,6 @@ class PlayerDeathEvent(ActorDeathEvent, PlayerEvent):
2623
3027
  """
2624
3028
  Called when a player dies
2625
3029
  """
2626
- @staticmethod
2627
- def _pybind11_conduit_v1_(*args, **kwargs):
2628
- ...
2629
3030
  @property
2630
3031
  def death_message(self) -> str:
2631
3032
  """
@@ -2634,13 +3035,19 @@ class PlayerDeathEvent(ActorDeathEvent, PlayerEvent):
2634
3035
  @death_message.setter
2635
3036
  def death_message(self, arg1: str) -> None:
2636
3037
  ...
3038
+ class PlayerDropItemEvent(PlayerEvent, Cancellable):
3039
+ """
3040
+ Called when a player drops an item from their inventory
3041
+ """
3042
+ @property
3043
+ def item(self) -> ItemStack:
3044
+ """
3045
+ Gets the ItemStack dropped by the player
3046
+ """
2637
3047
  class PlayerEmoteEvent(PlayerEvent):
2638
3048
  """
2639
3049
  Called when a player uses and emote
2640
3050
  """
2641
- @staticmethod
2642
- def _pybind11_conduit_v1_(*args, **kwargs):
2643
- ...
2644
3051
  @property
2645
3052
  def emote_id(self) -> str:
2646
3053
  """
@@ -2650,9 +3057,6 @@ class PlayerEvent(Event):
2650
3057
  """
2651
3058
  Represents a player related event
2652
3059
  """
2653
- @staticmethod
2654
- def _pybind11_conduit_v1_(*args, **kwargs):
2655
- ...
2656
3060
  @property
2657
3061
  def player(self) -> Player:
2658
3062
  """
@@ -2662,9 +3066,6 @@ class PlayerGameModeChangeEvent(PlayerEvent, Cancellable):
2662
3066
  """
2663
3067
  Called when the GameMode of the player is changed.
2664
3068
  """
2665
- @staticmethod
2666
- def _pybind11_conduit_v1_(*args, **kwargs):
2667
- ...
2668
3069
  @property
2669
3070
  def new_game_mode(self) -> GameMode:
2670
3071
  """
@@ -2674,9 +3075,6 @@ class PlayerInteractActorEvent(PlayerEvent, Cancellable):
2674
3075
  """
2675
3076
  Represents an event that is called when a player right-clicks an actor.
2676
3077
  """
2677
- @staticmethod
2678
- def _pybind11_conduit_v1_(*args, **kwargs):
2679
- ...
2680
3078
  @property
2681
3079
  def actor(self) -> Actor:
2682
3080
  """
@@ -2686,9 +3084,6 @@ class PlayerInteractEvent(PlayerEvent, Cancellable):
2686
3084
  """
2687
3085
  Represents an event that is called when a player right-clicks a block.
2688
3086
  """
2689
- @staticmethod
2690
- def _pybind11_conduit_v1_(*args, **kwargs):
2691
- ...
2692
3087
  @property
2693
3088
  def block(self) -> Block:
2694
3089
  """
@@ -2723,9 +3118,6 @@ class PlayerInventory(Inventory):
2723
3118
  """
2724
3119
  Interface to the inventory of a Player, including the four armor slots and any extra slots.
2725
3120
  """
2726
- @staticmethod
2727
- def _pybind11_conduit_v1_(*args, **kwargs):
2728
- ...
2729
3121
  @property
2730
3122
  def boots(self) -> ItemStack:
2731
3123
  """
@@ -2782,13 +3174,24 @@ class PlayerInventory(Inventory):
2782
3174
  @leggings.setter
2783
3175
  def leggings(self, arg1: ItemStack) -> None:
2784
3176
  ...
3177
+ class PlayerItemConsumeEvent(PlayerEvent, Cancellable):
3178
+ """
3179
+ Called when a player is finishing consuming an item (food, potion, milk bucket).
3180
+ """
3181
+ @property
3182
+ def hand(self) -> EquipmentSlot:
3183
+ """
3184
+ Get the hand used to consume the item.
3185
+ """
3186
+ @property
3187
+ def item(self) -> ItemStack:
3188
+ """
3189
+ Gets or sets the item that is being consumed.
3190
+ """
2785
3191
  class PlayerJoinEvent(PlayerEvent):
2786
3192
  """
2787
3193
  Called when a player joins a server
2788
3194
  """
2789
- @staticmethod
2790
- def _pybind11_conduit_v1_(*args, **kwargs):
2791
- ...
2792
3195
  @property
2793
3196
  def join_message(self) -> str:
2794
3197
  """
@@ -2797,13 +3200,14 @@ class PlayerJoinEvent(PlayerEvent):
2797
3200
  @join_message.setter
2798
3201
  def join_message(self, arg1: str) -> None:
2799
3202
  ...
3203
+ class PlayerJumpEvent(PlayerMoveEvent):
3204
+ """
3205
+ Called when a player jumps.
3206
+ """
2800
3207
  class PlayerKickEvent(PlayerEvent, Cancellable):
2801
3208
  """
2802
3209
  Called when a player gets kicked from the server
2803
3210
  """
2804
- @staticmethod
2805
- def _pybind11_conduit_v1_(*args, **kwargs):
2806
- ...
2807
3211
  @property
2808
3212
  def reason(self) -> str:
2809
3213
  """
@@ -2816,9 +3220,6 @@ class PlayerLoginEvent(PlayerEvent, Cancellable):
2816
3220
  """
2817
3221
  Called when a player attempts to login in.
2818
3222
  """
2819
- @staticmethod
2820
- def _pybind11_conduit_v1_(*args, **kwargs):
2821
- ...
2822
3223
  @property
2823
3224
  def kick_message(self) -> str:
2824
3225
  """
@@ -2827,13 +3228,39 @@ class PlayerLoginEvent(PlayerEvent, Cancellable):
2827
3228
  @kick_message.setter
2828
3229
  def kick_message(self, arg1: str) -> None:
2829
3230
  ...
3231
+ class PlayerMoveEvent(PlayerEvent, Cancellable):
3232
+ """
3233
+ Called when a player moves.
3234
+ """
3235
+ @property
3236
+ def from_location(self) -> Location:
3237
+ """
3238
+ Gets or sets the location that this player moved from.
3239
+ """
3240
+ @from_location.setter
3241
+ def from_location(self, arg1: Location) -> None:
3242
+ ...
3243
+ @property
3244
+ def to_location(self) -> Location:
3245
+ """
3246
+ Gets or sets the location that this player moved to.
3247
+ """
3248
+ @to_location.setter
3249
+ def to_location(self, arg1: Location) -> None:
3250
+ ...
3251
+ class PlayerPickupItemEvent(PlayerEvent, Cancellable):
3252
+ """
3253
+ Called when a player picks an item up from the ground.
3254
+ """
3255
+ @property
3256
+ def item(self) -> ItemStack:
3257
+ """
3258
+ Gets the Item picked up by the entity.
3259
+ """
2830
3260
  class PlayerQuitEvent(PlayerEvent):
2831
3261
  """
2832
3262
  Called when a player leaves a server.
2833
3263
  """
2834
- @staticmethod
2835
- def _pybind11_conduit_v1_(*args, **kwargs):
2836
- ...
2837
3264
  @property
2838
3265
  def quit_message(self) -> str:
2839
3266
  """
@@ -2846,39 +3273,14 @@ class PlayerRespawnEvent(PlayerEvent):
2846
3273
  """
2847
3274
  Called when a player respawns.
2848
3275
  """
2849
- @staticmethod
2850
- def _pybind11_conduit_v1_(*args, **kwargs):
2851
- ...
2852
- class PlayerTeleportEvent(PlayerEvent, Cancellable):
3276
+ class PlayerTeleportEvent(PlayerMoveEvent):
2853
3277
  """
2854
3278
  Called when a player is teleported from one location to another.
2855
3279
  """
2856
- @staticmethod
2857
- def _pybind11_conduit_v1_(*args, **kwargs):
2858
- ...
2859
- @property
2860
- def from_location(self) -> Location:
2861
- """
2862
- Gets or sets the location that this player moved from.
2863
- """
2864
- @from_location.setter
2865
- def from_location(self, arg1: Location) -> None:
2866
- ...
2867
- @property
2868
- def to_location(self) -> Location:
2869
- """
2870
- Gets or sets the location that this player moved to.
2871
- """
2872
- @to_location.setter
2873
- def to_location(self, arg1: Location) -> None:
2874
- ...
2875
3280
  class Plugin(CommandExecutor):
2876
3281
  """
2877
3282
  Represents a Plugin
2878
3283
  """
2879
- @staticmethod
2880
- def _pybind11_conduit_v1_(*args, **kwargs):
2881
- ...
2882
3284
  def __init__(self) -> None:
2883
3285
  ...
2884
3286
  def _get_description(self) -> PluginDescription:
@@ -2933,9 +3335,6 @@ class PluginCommand(Command):
2933
3335
  """
2934
3336
  Represents a Command belonging to a Plugin
2935
3337
  """
2936
- @staticmethod
2937
- def _pybind11_conduit_v1_(*args, **kwargs):
2938
- ...
2939
3338
  @property
2940
3339
  def executor(self) -> CommandExecutor:
2941
3340
  """
@@ -2953,9 +3352,6 @@ class PluginDescription:
2953
3352
  """
2954
3353
  Represents the basic information about a plugin that the plugin loader needs to know.
2955
3354
  """
2956
- @staticmethod
2957
- def _pybind11_conduit_v1_(*args, **kwargs):
2958
- ...
2959
3355
  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
3356
  ...
2961
3357
  @property
@@ -3047,9 +3443,6 @@ class PluginDisableEvent(ServerEvent):
3047
3443
  """
3048
3444
  Called when a plugin is disabled.
3049
3445
  """
3050
- @staticmethod
3051
- def _pybind11_conduit_v1_(*args, **kwargs):
3052
- ...
3053
3446
  @property
3054
3447
  def plugin(self) -> Plugin:
3055
3448
  ...
@@ -3057,9 +3450,6 @@ class PluginEnableEvent(ServerEvent):
3057
3450
  """
3058
3451
  Called when a plugin is enabled.
3059
3452
  """
3060
- @staticmethod
3061
- def _pybind11_conduit_v1_(*args, **kwargs):
3062
- ...
3063
3453
  @property
3064
3454
  def plugin(self) -> Plugin:
3065
3455
  ...
@@ -3070,9 +3460,6 @@ class PluginLoadOrder:
3070
3460
  POSTWORLD: typing.ClassVar[PluginLoadOrder] # value = <PluginLoadOrder.POSTWORLD: 1>
3071
3461
  STARTUP: typing.ClassVar[PluginLoadOrder] # value = <PluginLoadOrder.STARTUP: 0>
3072
3462
  __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
3463
  def __eq__(self, other: typing.Any) -> bool:
3077
3464
  ...
3078
3465
  def __getstate__(self) -> int:
@@ -3103,9 +3490,6 @@ class PluginLoader:
3103
3490
  """
3104
3491
  Represents a plugin loader, which handles direct access to specific types of plugins
3105
3492
  """
3106
- @staticmethod
3107
- def _pybind11_conduit_v1_(*args, **kwargs):
3108
- ...
3109
3493
  def __init__(self, server: Server) -> None:
3110
3494
  ...
3111
3495
  def disable_plugin(self, plugin: Plugin) -> None:
@@ -3138,9 +3522,6 @@ class PluginManager:
3138
3522
  """
3139
3523
  Represents a plugin manager that handles all plugins from the Server
3140
3524
  """
3141
- @staticmethod
3142
- def _pybind11_conduit_v1_(*args, **kwargs):
3143
- ...
3144
3525
  def call_event(self, event: Event) -> None:
3145
3526
  """
3146
3527
  Calls an event which will be passed to plugins.
@@ -3257,9 +3638,6 @@ class Position(Vector):
3257
3638
  """
3258
3639
  Represents a 3-dimensional position in a dimension within a level.
3259
3640
  """
3260
- @staticmethod
3261
- def _pybind11_conduit_v1_(*args, **kwargs):
3262
- ...
3263
3641
  def __init__(self, dimension: Dimension, x: float, y: float, z: float) -> None:
3264
3642
  ...
3265
3643
  def __repr__(self) -> str:
@@ -3293,9 +3671,6 @@ class ProxiedCommandSender(CommandSender):
3293
3671
  """
3294
3672
  Represents a proxied command sender.
3295
3673
  """
3296
- @staticmethod
3297
- def _pybind11_conduit_v1_(*args, **kwargs):
3298
- ...
3299
3674
  @property
3300
3675
  def callee(self) -> CommandSender:
3301
3676
  """
@@ -3312,9 +3687,6 @@ class RenderType:
3312
3687
  """
3313
3688
  INTEGER: typing.ClassVar[RenderType] # value = <RenderType.INTEGER: 0>
3314
3689
  __members__: typing.ClassVar[dict[str, RenderType]] # value = {'INTEGER': <RenderType.INTEGER: 0>}
3315
- @staticmethod
3316
- def _pybind11_conduit_v1_(*args, **kwargs):
3317
- ...
3318
3690
  def __eq__(self, other: typing.Any) -> bool:
3319
3691
  ...
3320
3692
  def __getstate__(self) -> int:
@@ -3345,9 +3717,6 @@ class Scheduler:
3345
3717
  """
3346
3718
  Represents a scheduler that executes various tasks
3347
3719
  """
3348
- @staticmethod
3349
- def _pybind11_conduit_v1_(*args, **kwargs):
3350
- ...
3351
3720
  def cancel_task(self, id: int) -> None:
3352
3721
  """
3353
3722
  Removes task from scheduler.
@@ -3376,9 +3745,6 @@ class Score:
3376
3745
  """
3377
3746
  Represents a score for an objective on a scoreboard.
3378
3747
  """
3379
- @staticmethod
3380
- def _pybind11_conduit_v1_(*args, **kwargs):
3381
- ...
3382
3748
  @property
3383
3749
  def entry(self) -> Player | Actor | str:
3384
3750
  """
@@ -3411,9 +3777,6 @@ class Scoreboard:
3411
3777
  """
3412
3778
  Represents a scoreboard
3413
3779
  """
3414
- @staticmethod
3415
- def _pybind11_conduit_v1_(*args, **kwargs):
3416
- ...
3417
3780
  def add_objective(self, name: str, criteria: Criteria.Type, display_name: str | None = None, render_type: RenderType = RenderType.INTEGER) -> Objective:
3418
3781
  """
3419
3782
  Registers an Objective on this Scoreboard with a name displayed to players
@@ -3458,9 +3821,6 @@ class ScriptMessageEvent(ServerEvent, Cancellable):
3458
3821
  """
3459
3822
  Called when a message is sent by `/scriptevent` command
3460
3823
  """
3461
- @staticmethod
3462
- def _pybind11_conduit_v1_(*args, **kwargs):
3463
- ...
3464
3824
  @property
3465
3825
  def message(self) -> str:
3466
3826
  """
@@ -3480,9 +3840,6 @@ class Server:
3480
3840
  """
3481
3841
  Represents a server implementation.
3482
3842
  """
3483
- @staticmethod
3484
- def _pybind11_conduit_v1_(*args, **kwargs):
3485
- ...
3486
3843
  def broadcast(self, message: str | Translatable, permission: str) -> None:
3487
3844
  """
3488
3845
  Broadcasts the specified message to every user with the given permission name.
@@ -3574,11 +3931,26 @@ class Server:
3574
3931
  Gets the current ticks per second (TPS).
3575
3932
  """
3576
3933
  @property
3934
+ def enchantment_registry(self) -> EnchantmentRegistry:
3935
+ """
3936
+ Returns the registry for all the enchantments.
3937
+ """
3938
+ @property
3577
3939
  def ip_ban_list(self) -> IpBanList:
3578
3940
  """
3579
3941
  Gets the IP ban list.
3580
3942
  """
3581
3943
  @property
3944
+ def item_factory(self) -> ItemFactory:
3945
+ """
3946
+ Gets the instance of the item factory (for ItemMeta).
3947
+ """
3948
+ @property
3949
+ def item_registry(self) -> ItemRegistry:
3950
+ """
3951
+ Returns the registry for all the item types.
3952
+ """
3953
+ @property
3582
3954
  def language(self) -> Language:
3583
3955
  """
3584
3956
  Gets the current language interface used by the server.
@@ -3627,6 +3999,16 @@ class Server:
3627
3999
  Gets the plugin manager for interfacing with plugins.
3628
4000
  """
3629
4001
  @property
4002
+ def port(self) -> int:
4003
+ """
4004
+ Get the game port that the server runs on.
4005
+ """
4006
+ @property
4007
+ def port_v6(self) -> int:
4008
+ """
4009
+ Get the game port (IPv6) that the server runs on.
4010
+ """
4011
+ @property
3630
4012
  def scheduler(self) -> Scheduler:
3631
4013
  """
3632
4014
  Gets the scheduler for managing scheduled events.
@@ -3655,9 +4037,6 @@ class ServerCommandEvent(ServerEvent, Cancellable):
3655
4037
  """
3656
4038
  Called when the console runs a command, early in the process.
3657
4039
  """
3658
- @staticmethod
3659
- def _pybind11_conduit_v1_(*args, **kwargs):
3660
- ...
3661
4040
  @property
3662
4041
  def command(self) -> str:
3663
4042
  """
@@ -3675,16 +4054,10 @@ class ServerEvent(Event):
3675
4054
  """
3676
4055
  Represents a server-related event
3677
4056
  """
3678
- @staticmethod
3679
- def _pybind11_conduit_v1_(*args, **kwargs):
3680
- ...
3681
4057
  class ServerListPingEvent(ServerEvent, Cancellable):
3682
4058
  """
3683
4059
  Called when a server ping is coming in.
3684
4060
  """
3685
- @staticmethod
3686
- def _pybind11_conduit_v1_(*args, **kwargs):
3687
- ...
3688
4061
  @property
3689
4062
  def game_mode(self) -> GameMode:
3690
4063
  """
@@ -3779,9 +4152,6 @@ class ServerLoadEvent(Event):
3779
4152
  class LoadType:
3780
4153
  STARTUP: typing.ClassVar[ServerLoadEvent.LoadType] # value = <LoadType.STARTUP: 0>
3781
4154
  __members__: typing.ClassVar[dict[str, ServerLoadEvent.LoadType]] # value = {'STARTUP': <LoadType.STARTUP: 0>}
3782
- @staticmethod
3783
- def _pybind11_conduit_v1_(*args, **kwargs):
3784
- ...
3785
4155
  def __eq__(self, other: typing.Any) -> bool:
3786
4156
  ...
3787
4157
  def __getstate__(self) -> int:
@@ -3809,9 +4179,6 @@ class ServerLoadEvent(Event):
3809
4179
  def value(self) -> int:
3810
4180
  ...
3811
4181
  STARTUP: typing.ClassVar[ServerLoadEvent.LoadType] # value = <LoadType.STARTUP: 0>
3812
- @staticmethod
3813
- def _pybind11_conduit_v1_(*args, **kwargs):
3814
- ...
3815
4182
  @property
3816
4183
  def type(self) -> ServerLoadEvent.LoadType:
3817
4184
  ...
@@ -3819,18 +4186,12 @@ class Service:
3819
4186
  """
3820
4187
  Represents a list of methods.
3821
4188
  """
3822
- @staticmethod
3823
- def _pybind11_conduit_v1_(*args, **kwargs):
3824
- ...
3825
4189
  def __init__(self) -> None:
3826
4190
  ...
3827
4191
  class ServiceManager:
3828
4192
  """
3829
4193
  Represent a service manager that manages services and service providers.
3830
4194
  """
3831
- @staticmethod
3832
- def _pybind11_conduit_v1_(*args, **kwargs):
3833
- ...
3834
4195
  def load(self, name: str) -> Service:
3835
4196
  ...
3836
4197
  def register(self, name: str, provider: Service, plugin: Plugin, priority: ServicePriority) -> None:
@@ -3861,9 +4222,6 @@ class ServicePriority:
3861
4222
  LOWEST: typing.ClassVar[ServicePriority] # value = <ServicePriority.LOWEST: 0>
3862
4223
  NORMAL: typing.ClassVar[ServicePriority] # value = <ServicePriority.NORMAL: 2>
3863
4224
  __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
4225
  def __eq__(self, other: typing.Any) -> bool:
3868
4226
  ...
3869
4227
  def __getstate__(self) -> int:
@@ -3894,38 +4252,32 @@ class Skin:
3894
4252
  """
3895
4253
  Represents a player skin.
3896
4254
  """
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:
4255
+ 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
4256
  ...
3902
4257
  @property
3903
- def cape_data(self) -> numpy.ndarray[numpy.uint8] | None:
3904
- """
3905
- Get the Cape data.
3906
- """
3907
- @property
3908
4258
  def cape_id(self) -> str | None:
3909
4259
  """
3910
4260
  Get the Cape ID.
3911
4261
  """
3912
4262
  @property
3913
- def skin_data(self) -> numpy.ndarray[numpy.uint8]:
4263
+ def cape_image(self) -> numpy.ndarray[numpy.uint8]:
3914
4264
  """
3915
- Get the Skin data.
4265
+ Get the Cape image.
3916
4266
  """
3917
4267
  @property
3918
- def skin_id(self) -> str:
4268
+ def id(self) -> str:
3919
4269
  """
3920
4270
  Get the Skin ID.
3921
4271
  """
4272
+ @property
4273
+ def image(self) -> numpy.ndarray[numpy.uint8]:
4274
+ """
4275
+ Get the Skin image.
4276
+ """
3922
4277
  class Slider:
3923
4278
  """
3924
4279
  Represents a slider with a label.
3925
4280
  """
3926
- @staticmethod
3927
- def _pybind11_conduit_v1_(*args, **kwargs):
3928
- ...
3929
4281
  def __init__(self, label: str | Translatable = '', min: float = 0, max: float = 100, step: float = 20, default_value: float | None = None) -> None:
3930
4282
  ...
3931
4283
  @property
@@ -3972,9 +4324,6 @@ class SocketAddress:
3972
4324
  """
3973
4325
  Represents an IP Socket Address (hostname + port number).
3974
4326
  """
3975
- @staticmethod
3976
- def _pybind11_conduit_v1_(*args, **kwargs):
3977
- ...
3978
4327
  @typing.overload
3979
4328
  def __init__(self) -> None:
3980
4329
  ...
@@ -3999,9 +4348,6 @@ class StepSlider:
3999
4348
  """
4000
4349
  Represents a step slider with a set of predefined options.
4001
4350
  """
4002
- @staticmethod
4003
- def _pybind11_conduit_v1_(*args, **kwargs):
4004
- ...
4005
4351
  def __init__(self, label: str | Translatable = '', options: list[str] | None = None, default_index: int | None = None) -> None:
4006
4352
  ...
4007
4353
  def add_option(self, option: str) -> Dropdown:
@@ -4036,9 +4382,6 @@ class Task:
4036
4382
  """
4037
4383
  Represents a task being executed by the scheduler
4038
4384
  """
4039
- @staticmethod
4040
- def _pybind11_conduit_v1_(*args, **kwargs):
4041
- ...
4042
4385
  def cancel(self) -> None:
4043
4386
  """
4044
4387
  Attempts to cancel this task.
@@ -4067,9 +4410,6 @@ class TextInput:
4067
4410
  """
4068
4411
  Represents a text input field.
4069
4412
  """
4070
- @staticmethod
4071
- def _pybind11_conduit_v1_(*args, **kwargs):
4072
- ...
4073
4413
  def __init__(self, label: str | Translatable = '', placeholder: str | Translatable = '', default_value: str | None = None) -> None:
4074
4414
  ...
4075
4415
  @property
@@ -4100,9 +4440,6 @@ class ThunderChangeEvent(WeatherEvent, Cancellable):
4100
4440
  """
4101
4441
  Called when the thunder state in a world is changing.
4102
4442
  """
4103
- @staticmethod
4104
- def _pybind11_conduit_v1_(*args, **kwargs):
4105
- ...
4106
4443
  @property
4107
4444
  def to_thunder_state(self) -> bool:
4108
4445
  """
@@ -4112,9 +4449,6 @@ class Toggle:
4112
4449
  """
4113
4450
  Represents a toggle button with a label.
4114
4451
  """
4115
- @staticmethod
4116
- def _pybind11_conduit_v1_(*args, **kwargs):
4117
- ...
4118
4452
  def __init__(self, label: str | Translatable = '', default_value: bool = False) -> None:
4119
4453
  ...
4120
4454
  @property
@@ -4137,9 +4471,6 @@ class Translatable:
4137
4471
  """
4138
4472
  Represents an object with a text representation that can be translated by the Minecraft client.
4139
4473
  """
4140
- @staticmethod
4141
- def _pybind11_conduit_v1_(*args, **kwargs):
4142
- ...
4143
4474
  def __init__(self, text: str, params: list[str] | None = None) -> None:
4144
4475
  ...
4145
4476
  @property
@@ -4156,9 +4487,6 @@ class Vector:
4156
4487
  """
4157
4488
  Represents a 3-dimensional vector.
4158
4489
  """
4159
- @staticmethod
4160
- def _pybind11_conduit_v1_(*args, **kwargs):
4161
- ...
4162
4490
  @typing.overload
4163
4491
  def __add__(self, arg0: Vector) -> Vector:
4164
4492
  ...
@@ -4255,9 +4583,6 @@ class WeatherChangeEvent(WeatherEvent, Cancellable):
4255
4583
  """
4256
4584
  Called when the weather (rain) state in a world is changing.
4257
4585
  """
4258
- @staticmethod
4259
- def _pybind11_conduit_v1_(*args, **kwargs):
4260
- ...
4261
4586
  @property
4262
4587
  def to_weather_state(self) -> bool:
4263
4588
  """
@@ -4267,9 +4592,6 @@ class WeatherEvent(Event):
4267
4592
  """
4268
4593
  Represents a weather-related event
4269
4594
  """
4270
- @staticmethod
4271
- def _pybind11_conduit_v1_(*args, **kwargs):
4272
- ...
4273
4595
  @property
4274
4596
  def level(self) -> Level:
4275
4597
  """