mirror of
https://github.com/ammaraskar/pyCraft.git
synced 2024-11-22 10:15:55 +01:00
Added support for snapshot 20w18a
This commit is contained in:
parent
180c698ce1
commit
8cb02e7f7f
@ -238,6 +238,7 @@ SUPPORTED_MINECRAFT_VERSIONS = {
|
|||||||
'20w15a': 711,
|
'20w15a': 711,
|
||||||
'20w16a': 712,
|
'20w16a': 712,
|
||||||
'20w17a': 713,
|
'20w17a': 713,
|
||||||
|
'20w18a': 714,
|
||||||
}
|
}
|
||||||
|
|
||||||
# Those Minecraft versions supported by pyCraft which are "release" versions,
|
# Those Minecraft versions supported by pyCraft which are "release" versions,
|
||||||
|
@ -279,6 +279,7 @@ class RespawnPacket(Packet):
|
|||||||
{'hashed_seed': Long} if context.protocol_version >= 552 else {},
|
{'hashed_seed': Long} if context.protocol_version >= 552 else {},
|
||||||
{'game_mode': UnsignedByte},
|
{'game_mode': UnsignedByte},
|
||||||
{'level_type': String},
|
{'level_type': String},
|
||||||
|
{'copy_metadata': Boolean},
|
||||||
])
|
])
|
||||||
|
|
||||||
# These aliases declare the Enum type corresponding to each field:
|
# These aliases declare the Enum type corresponding to each field:
|
||||||
|
Loading…
Reference in New Issue
Block a user