updated type hints
This commit is contained in:
parent
1d519c022f
commit
942441554f
185 changed files with 358 additions and 345 deletions
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
@ -8,21 +8,21 @@ class PacketBossBar(Packet):
|
||||||
__slots__ = ( 'id', 'action', 'color', 'dividers', 'entityUUID', 'flags', 'health', 'title' )
|
__slots__ = ( 'id', 'action', 'color', 'dividers', 'entityUUID', 'flags', 'health', 'title' )
|
||||||
|
|
||||||
action : int
|
action : int
|
||||||
color : bytes
|
color : Union[None, int]
|
||||||
dividers : bytes
|
dividers : Union[None, int]
|
||||||
entityUUID : str
|
entityUUID : str
|
||||||
flags : bytes
|
flags : Union[None, int]
|
||||||
health : bytes
|
health : Union[float, None]
|
||||||
title : bytes
|
title : Union[str, None]
|
||||||
|
|
||||||
def __init__(self, proto:int,
|
def __init__(self, proto:int,
|
||||||
action:int=None,
|
action:int=None,
|
||||||
color:bytes=None,
|
color:Union[None, int]=None,
|
||||||
dividers:bytes=None,
|
dividers:Union[None, int]=None,
|
||||||
entityUUID:str=None,
|
entityUUID:str=None,
|
||||||
flags:bytes=None,
|
flags:Union[None, int]=None,
|
||||||
health:bytes=None,
|
health:Union[float, None]=None,
|
||||||
title:bytes=None
|
title:Union[str, None]=None
|
||||||
):
|
):
|
||||||
super().__init__(proto,
|
super().__init__(proto,
|
||||||
action=action,
|
action=action,
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,24 +1,24 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketCombatEvent(Packet):
|
class PacketCombatEvent(Packet):
|
||||||
__slots__ = ( 'id', 'duration', 'entityId', 'event', 'message', 'playerId' )
|
__slots__ = ( 'id', 'duration', 'entityId', 'event', 'message', 'playerId' )
|
||||||
|
|
||||||
duration : bytes
|
duration : Union[None, int]
|
||||||
entityId : bytes
|
entityId : Union[None, int]
|
||||||
event : int
|
event : int
|
||||||
message : bytes
|
message : Union[str, None]
|
||||||
playerId : bytes
|
playerId : Union[None, int]
|
||||||
|
|
||||||
def __init__(self, proto:int,
|
def __init__(self, proto:int,
|
||||||
duration:bytes=None,
|
duration:Union[None, int]=None,
|
||||||
entityId:bytes=None,
|
entityId:Union[None, int]=None,
|
||||||
event:int=None,
|
event:int=None,
|
||||||
message:bytes=None,
|
message:Union[str, None]=None,
|
||||||
playerId:bytes=None
|
playerId:Union[None, int]=None
|
||||||
):
|
):
|
||||||
super().__init__(proto,
|
super().__init__(proto,
|
||||||
duration=duration,
|
duration=duration,
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,17 +1,17 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketCraftRecipeResponse(Packet):
|
class PacketCraftRecipeResponse(Packet):
|
||||||
__slots__ = ( 'id', 'recipe', 'windowId' )
|
__slots__ = ( 'id', 'recipe', 'windowId' )
|
||||||
|
|
||||||
recipe : Union[int,str]
|
recipe : Union[str,int]
|
||||||
windowId : int
|
windowId : int
|
||||||
|
|
||||||
def __init__(self, proto:int,
|
def __init__(self, proto:int,
|
||||||
recipe:Union[int,str]=None,
|
recipe:Union[str,int]=None,
|
||||||
windowId:int=None
|
windowId:int=None
|
||||||
):
|
):
|
||||||
super().__init__(proto,
|
super().__init__(proto,
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
@ -11,14 +11,14 @@ class PacketEntityEffect(Packet):
|
||||||
duration : int
|
duration : int
|
||||||
effectId : int
|
effectId : int
|
||||||
entityId : int
|
entityId : int
|
||||||
hideParticles : Union[int,bool]
|
hideParticles : Union[bool,int]
|
||||||
|
|
||||||
def __init__(self, proto:int,
|
def __init__(self, proto:int,
|
||||||
amplifier:int=None,
|
amplifier:int=None,
|
||||||
duration:int=None,
|
duration:int=None,
|
||||||
effectId:int=None,
|
effectId:int=None,
|
||||||
entityId:int=None,
|
entityId:int=None,
|
||||||
hideParticles:Union[int,bool]=None
|
hideParticles:Union[bool,int]=None
|
||||||
):
|
):
|
||||||
super().__init__(proto,
|
super().__init__(proto,
|
||||||
amplifier=amplifier,
|
amplifier=amplifier,
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketFacePlayer(Packet):
|
class PacketFacePlayer(Packet):
|
||||||
__slots__ = ( 'id', 'entityId', 'entity_feet_eyes', 'feet_eyes', 'isEntity', 'x', 'y', 'z' )
|
__slots__ = ( 'id', 'entityId', 'entity_feet_eyes', 'feet_eyes', 'isEntity', 'x', 'y', 'z' )
|
||||||
|
|
||||||
entityId : bytes
|
entityId : Union[None, int]
|
||||||
entity_feet_eyes : bytes
|
entity_feet_eyes : Union[str, None]
|
||||||
feet_eyes : int
|
feet_eyes : int
|
||||||
isEntity : bool
|
isEntity : bool
|
||||||
x : float
|
x : float
|
||||||
|
@ -16,8 +16,8 @@ class PacketFacePlayer(Packet):
|
||||||
z : float
|
z : float
|
||||||
|
|
||||||
def __init__(self, proto:int,
|
def __init__(self, proto:int,
|
||||||
entityId:bytes=None,
|
entityId:Union[None, int]=None,
|
||||||
entity_feet_eyes:bytes=None,
|
entity_feet_eyes:Union[str, None]=None,
|
||||||
feet_eyes:int=None,
|
feet_eyes:int=None,
|
||||||
isEntity:bool=None,
|
isEntity:bool=None,
|
||||||
x:float=None,
|
x:float=None,
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
@ -8,8 +8,8 @@ class PacketLogin(Packet):
|
||||||
__slots__ = ( 'id', 'difficulty', 'dimension', 'dimensionCodec', 'enableRespawnScreen', 'entityId', 'gameMode', 'hashedSeed', 'isDebug', 'isFlat', 'isHardcore', 'levelType', 'maxPlayers', 'previousGameMode', 'reducedDebugInfo', 'simulationDistance', 'viewDistance', 'worldName', 'worldNames' )
|
__slots__ = ( 'id', 'difficulty', 'dimension', 'dimensionCodec', 'enableRespawnScreen', 'entityId', 'gameMode', 'hashedSeed', 'isDebug', 'isFlat', 'isHardcore', 'levelType', 'maxPlayers', 'previousGameMode', 'reducedDebugInfo', 'simulationDistance', 'viewDistance', 'worldName', 'worldNames' )
|
||||||
|
|
||||||
difficulty : int
|
difficulty : int
|
||||||
dimension : Union[int,bytes,str]
|
dimension : Union[dict,str,int]
|
||||||
dimensionCodec : bytes
|
dimensionCodec : dict
|
||||||
enableRespawnScreen : bool
|
enableRespawnScreen : bool
|
||||||
entityId : int
|
entityId : int
|
||||||
gameMode : int
|
gameMode : int
|
||||||
|
@ -28,8 +28,8 @@ class PacketLogin(Packet):
|
||||||
|
|
||||||
def __init__(self, proto:int,
|
def __init__(self, proto:int,
|
||||||
difficulty:int=None,
|
difficulty:int=None,
|
||||||
dimension:Union[int,bytes,str]=None,
|
dimension:Union[dict,str,int]=None,
|
||||||
dimensionCodec:bytes=None,
|
dimensionCodec:dict=None,
|
||||||
enableRespawnScreen:bool=None,
|
enableRespawnScreen:bool=None,
|
||||||
entityId:int=None,
|
entityId:int=None,
|
||||||
gameMode:int=None,
|
gameMode:int=None,
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
@ -8,27 +8,27 @@ class PacketMap(Packet):
|
||||||
__slots__ = ( 'id', 'columns', 'data', 'icons', 'itemDamage', 'locked', 'rows', 'scale', 'trackingPosition', 'x', 'y' )
|
__slots__ = ( 'id', 'columns', 'data', 'icons', 'itemDamage', 'locked', 'rows', 'scale', 'trackingPosition', 'x', 'y' )
|
||||||
|
|
||||||
columns : int
|
columns : int
|
||||||
data : bytes
|
data : Union[None, bytes]
|
||||||
icons : Union[tuple,list]
|
icons : Union[tuple,list]
|
||||||
itemDamage : int
|
itemDamage : int
|
||||||
locked : bool
|
locked : bool
|
||||||
rows : bytes
|
rows : Union[None, int]
|
||||||
scale : int
|
scale : int
|
||||||
trackingPosition : bool
|
trackingPosition : bool
|
||||||
x : bytes
|
x : Union[None, int]
|
||||||
y : bytes
|
y : Union[None, int]
|
||||||
|
|
||||||
def __init__(self, proto:int,
|
def __init__(self, proto:int,
|
||||||
columns:int=None,
|
columns:int=None,
|
||||||
data:bytes=None,
|
data:Union[None, bytes]=None,
|
||||||
icons:Union[tuple,list]=None,
|
icons:Union[tuple,list]=None,
|
||||||
itemDamage:int=None,
|
itemDamage:int=None,
|
||||||
locked:bool=None,
|
locked:bool=None,
|
||||||
rows:bytes=None,
|
rows:Union[None, int]=None,
|
||||||
scale:int=None,
|
scale:int=None,
|
||||||
trackingPosition:bool=None,
|
trackingPosition:bool=None,
|
||||||
x:bytes=None,
|
x:Union[None, int]=None,
|
||||||
y:bytes=None
|
y:Union[None, int]=None
|
||||||
):
|
):
|
||||||
super().__init__(proto,
|
super().__init__(proto,
|
||||||
columns=columns,
|
columns=columns,
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketMapChunk(Packet):
|
class PacketMapChunk(Packet):
|
||||||
__slots__ = ( 'id', 'biomes', 'bitMap', 'blockEntities', 'blockLight', 'blockLightMask', 'chunkData', 'emptyBlockLightMask', 'emptySkyLightMask', 'groundUp', 'heightmaps', 'ignoreOldData', 'skyLight', 'skyLightMask', 'trustEdges', 'x', 'z' )
|
__slots__ = ( 'id', 'biomes', 'bitMap', 'blockEntities', 'blockLight', 'blockLightMask', 'chunkData', 'emptyBlockLightMask', 'emptySkyLightMask', 'groundUp', 'heightmaps', 'ignoreOldData', 'skyLight', 'skyLightMask', 'trustEdges', 'x', 'z' )
|
||||||
|
|
||||||
biomes : Union[bytes,list]
|
biomes : Union[Union[None, list],list]
|
||||||
bitMap : Union[int,list]
|
bitMap : Union[int,list]
|
||||||
blockEntities : list
|
blockEntities : list
|
||||||
blockLight : list
|
blockLight : list
|
||||||
|
@ -16,7 +16,7 @@ class PacketMapChunk(Packet):
|
||||||
emptyBlockLightMask : list
|
emptyBlockLightMask : list
|
||||||
emptySkyLightMask : list
|
emptySkyLightMask : list
|
||||||
groundUp : bool
|
groundUp : bool
|
||||||
heightmaps : bytes
|
heightmaps : dict
|
||||||
ignoreOldData : bool
|
ignoreOldData : bool
|
||||||
skyLight : list
|
skyLight : list
|
||||||
skyLightMask : list
|
skyLightMask : list
|
||||||
|
@ -25,7 +25,7 @@ class PacketMapChunk(Packet):
|
||||||
z : int
|
z : int
|
||||||
|
|
||||||
def __init__(self, proto:int,
|
def __init__(self, proto:int,
|
||||||
biomes:Union[bytes,list]=None,
|
biomes:Union[Union[None, list],list]=None,
|
||||||
bitMap:Union[int,list]=None,
|
bitMap:Union[int,list]=None,
|
||||||
blockEntities:list=None,
|
blockEntities:list=None,
|
||||||
blockLight:list=None,
|
blockLight:list=None,
|
||||||
|
@ -34,7 +34,7 @@ class PacketMapChunk(Packet):
|
||||||
emptyBlockLightMask:list=None,
|
emptyBlockLightMask:list=None,
|
||||||
emptySkyLightMask:list=None,
|
emptySkyLightMask:list=None,
|
||||||
groundUp:bool=None,
|
groundUp:bool=None,
|
||||||
heightmaps:bytes=None,
|
heightmaps:dict=None,
|
||||||
ignoreOldData:bool=None,
|
ignoreOldData:bool=None,
|
||||||
skyLight:list=None,
|
skyLight:list=None,
|
||||||
skyLightMask:list=None,
|
skyLightMask:list=None,
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,17 +1,17 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketNbtQueryResponse(Packet):
|
class PacketNbtQueryResponse(Packet):
|
||||||
__slots__ = ( 'id', 'nbt', 'transactionId' )
|
__slots__ = ( 'id', 'nbt', 'transactionId' )
|
||||||
|
|
||||||
nbt : bytes
|
nbt : Optional[dict]
|
||||||
transactionId : int
|
transactionId : int
|
||||||
|
|
||||||
def __init__(self, proto:int,
|
def __init__(self, proto:int,
|
||||||
nbt:bytes=None,
|
nbt:Optional[dict]=None,
|
||||||
transactionId:int=None
|
transactionId:int=None
|
||||||
):
|
):
|
||||||
super().__init__(proto,
|
super().__init__(proto,
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,21 +1,21 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketOpenWindow(Packet):
|
class PacketOpenWindow(Packet):
|
||||||
__slots__ = ( 'id', 'entityId', 'inventoryType', 'slotCount', 'windowId', 'windowTitle' )
|
__slots__ = ( 'id', 'entityId', 'inventoryType', 'slotCount', 'windowId', 'windowTitle' )
|
||||||
|
|
||||||
entityId : bytes
|
entityId : Union[None, int]
|
||||||
inventoryType : Union[int,str]
|
inventoryType : Union[str,int]
|
||||||
slotCount : int
|
slotCount : int
|
||||||
windowId : int
|
windowId : int
|
||||||
windowTitle : str
|
windowTitle : str
|
||||||
|
|
||||||
def __init__(self, proto:int,
|
def __init__(self, proto:int,
|
||||||
entityId:bytes=None,
|
entityId:Union[None, int]=None,
|
||||||
inventoryType:Union[int,str]=None,
|
inventoryType:Union[str,int]=None,
|
||||||
slotCount:int=None,
|
slotCount:int=None,
|
||||||
windowId:int=None,
|
windowId:int=None,
|
||||||
windowTitle:str=None
|
windowTitle:str=None
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ class PacketRespawn(Packet):
|
||||||
|
|
||||||
copyMetadata : bool
|
copyMetadata : bool
|
||||||
difficulty : int
|
difficulty : int
|
||||||
dimension : Union[int,bytes,str]
|
dimension : Union[dict,str,int]
|
||||||
gamemode : int
|
gamemode : int
|
||||||
hashedSeed : int
|
hashedSeed : int
|
||||||
isDebug : bool
|
isDebug : bool
|
||||||
|
@ -21,7 +21,7 @@ class PacketRespawn(Packet):
|
||||||
def __init__(self, proto:int,
|
def __init__(self, proto:int,
|
||||||
copyMetadata:bool=None,
|
copyMetadata:bool=None,
|
||||||
difficulty:int=None,
|
difficulty:int=None,
|
||||||
dimension:Union[int,bytes,str]=None,
|
dimension:Union[dict,str,int]=None,
|
||||||
gamemode:int=None,
|
gamemode:int=None,
|
||||||
hashedSeed:int=None,
|
hashedSeed:int=None,
|
||||||
isDebug:bool=None,
|
isDebug:bool=None,
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
@ -8,15 +8,15 @@ class PacketScoreboardObjective(Packet):
|
||||||
__slots__ = ( 'id', 'action', 'displayText', 'name', 'type' )
|
__slots__ = ( 'id', 'action', 'displayText', 'name', 'type' )
|
||||||
|
|
||||||
action : int
|
action : int
|
||||||
displayText : bytes
|
displayText : Union[str, None]
|
||||||
name : str
|
name : str
|
||||||
type : bytes
|
type : Union[Union[str, None],Union[None, int]]
|
||||||
|
|
||||||
def __init__(self, proto:int,
|
def __init__(self, proto:int,
|
||||||
action:int=None,
|
action:int=None,
|
||||||
displayText:bytes=None,
|
displayText:Union[str, None]=None,
|
||||||
name:str=None,
|
name:str=None,
|
||||||
type:bytes=None
|
type:Union[Union[str, None],Union[None, int]]=None
|
||||||
):
|
):
|
||||||
super().__init__(proto,
|
super().__init__(proto,
|
||||||
action=action,
|
action=action,
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
@ -10,13 +10,13 @@ class PacketScoreboardScore(Packet):
|
||||||
action : int
|
action : int
|
||||||
itemName : str
|
itemName : str
|
||||||
scoreName : str
|
scoreName : str
|
||||||
value : bytes
|
value : Union[None, int]
|
||||||
|
|
||||||
def __init__(self, proto:int,
|
def __init__(self, proto:int,
|
||||||
action:int=None,
|
action:int=None,
|
||||||
itemName:str=None,
|
itemName:str=None,
|
||||||
scoreName:str=None,
|
scoreName:str=None,
|
||||||
value:bytes=None
|
value:Union[None, int]=None
|
||||||
):
|
):
|
||||||
super().__init__(proto,
|
super().__init__(proto,
|
||||||
action=action,
|
action=action,
|
||||||
|
|
|
@ -1,33 +1,33 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketScoreboardTeam(Packet):
|
class PacketScoreboardTeam(Packet):
|
||||||
__slots__ = ( 'id', 'collisionRule', 'color', 'friendlyFire', 'mode', 'name', 'nameTagVisibility', 'players', 'prefix', 'suffix', 'team' )
|
__slots__ = ( 'id', 'collisionRule', 'color', 'friendlyFire', 'mode', 'name', 'nameTagVisibility', 'players', 'prefix', 'suffix', 'team' )
|
||||||
|
|
||||||
collisionRule : bytes
|
collisionRule : Union[str, None]
|
||||||
color : bytes
|
color : Union[None, int]
|
||||||
friendlyFire : bytes
|
friendlyFire : Union[None, int]
|
||||||
mode : int
|
mode : int
|
||||||
name : bytes
|
name : Union[str, None]
|
||||||
nameTagVisibility : bytes
|
nameTagVisibility : Union[str, None]
|
||||||
players : bytes
|
players : Union[None, list]
|
||||||
prefix : bytes
|
prefix : Union[str, None]
|
||||||
suffix : bytes
|
suffix : Union[str, None]
|
||||||
team : str
|
team : str
|
||||||
|
|
||||||
def __init__(self, proto:int,
|
def __init__(self, proto:int,
|
||||||
collisionRule:bytes=None,
|
collisionRule:Union[str, None]=None,
|
||||||
color:bytes=None,
|
color:Union[None, int]=None,
|
||||||
friendlyFire:bytes=None,
|
friendlyFire:Union[None, int]=None,
|
||||||
mode:int=None,
|
mode:int=None,
|
||||||
name:bytes=None,
|
name:Union[str, None]=None,
|
||||||
nameTagVisibility:bytes=None,
|
nameTagVisibility:Union[str, None]=None,
|
||||||
players:bytes=None,
|
players:Union[None, list]=None,
|
||||||
prefix:bytes=None,
|
prefix:Union[str, None]=None,
|
||||||
suffix:bytes=None,
|
suffix:Union[str, None]=None,
|
||||||
team:str=None
|
team:str=None
|
||||||
):
|
):
|
||||||
super().__init__(proto,
|
super().__init__(proto,
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
@ -8,13 +8,13 @@ class PacketSculkVibrationSignal(Packet):
|
||||||
__slots__ = ( 'id', 'arrivalTicks', 'destination', 'destinationIdentifier', 'sourcePosition' )
|
__slots__ = ( 'id', 'arrivalTicks', 'destination', 'destinationIdentifier', 'sourcePosition' )
|
||||||
|
|
||||||
arrivalTicks : int
|
arrivalTicks : int
|
||||||
destination : bytes
|
destination : Union[None, int, tuple]
|
||||||
destinationIdentifier : str
|
destinationIdentifier : str
|
||||||
sourcePosition : tuple
|
sourcePosition : tuple
|
||||||
|
|
||||||
def __init__(self, proto:int,
|
def __init__(self, proto:int,
|
||||||
arrivalTicks:int=None,
|
arrivalTicks:int=None,
|
||||||
destination:bytes=None,
|
destination:Union[None, int, tuple]=None,
|
||||||
destinationIdentifier:str=None,
|
destinationIdentifier:str=None,
|
||||||
sourcePosition:tuple=None
|
sourcePosition:tuple=None
|
||||||
):
|
):
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ class PacketSpawnEntity(Packet):
|
||||||
|
|
||||||
entityId : int
|
entityId : int
|
||||||
entityUUID : str
|
entityUUID : str
|
||||||
objectData : Union[int,dict]
|
objectData : Union[dict,int]
|
||||||
objectUUID : str
|
objectUUID : str
|
||||||
pitch : int
|
pitch : int
|
||||||
type : int
|
type : int
|
||||||
|
@ -24,7 +24,7 @@ class PacketSpawnEntity(Packet):
|
||||||
def __init__(self, proto:int,
|
def __init__(self, proto:int,
|
||||||
entityId:int=None,
|
entityId:int=None,
|
||||||
entityUUID:str=None,
|
entityUUID:str=None,
|
||||||
objectData:Union[int,dict]=None,
|
objectData:Union[dict,int]=None,
|
||||||
objectUUID:str=None,
|
objectUUID:str=None,
|
||||||
pitch:int=None,
|
pitch:int=None,
|
||||||
type:int=None,
|
type:int=None,
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
@ -11,14 +11,14 @@ class PacketSpawnEntityPainting(Packet):
|
||||||
entityId : int
|
entityId : int
|
||||||
entityUUID : str
|
entityUUID : str
|
||||||
location : tuple
|
location : tuple
|
||||||
title : Union[int,str]
|
title : Union[str,int]
|
||||||
|
|
||||||
def __init__(self, proto:int,
|
def __init__(self, proto:int,
|
||||||
direction:int=None,
|
direction:int=None,
|
||||||
entityId:int=None,
|
entityId:int=None,
|
||||||
entityUUID:str=None,
|
entityUUID:str=None,
|
||||||
location:tuple=None,
|
location:tuple=None,
|
||||||
title:Union[int,str]=None
|
title:Union[str,int]=None
|
||||||
):
|
):
|
||||||
super().__init__(proto,
|
super().__init__(proto,
|
||||||
direction=direction,
|
direction=direction,
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""[!] This file is autogenerated"""
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
from typing import Tuple, List, Dict, Union
|
from typing import Tuple, List, Dict, Union, Optional
|
||||||
from ....packet import Packet
|
from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue