Module game_
mode
valence_
protocol
0.2.0-alpha.1+mc.1.20.1
Module game_
mode
Structs
Enums
In crate valence_
protocol
Modules
block
block_pos
chunk_pos
chunk_section_pos
decode
encode
game_mode
item
packet_id
packets
profile
sound
status_effects
var_int
Macros
ident
Structs
BiomePos
BlockState
Bounded
ByteAngle
CompressionThreshold
FixedArray
FixedBitSet
GlobalPos
Ident
RawBytes
Text
VarLong
Velocity
Enums
BlockKind
Difficulty
Direction
Hand
ItemKind
PacketSide
PacketState
Sound
Constants
MAX_PACKET_SIZE
MINECRAFT_VERSION
PROTOCOL_VERSION
Traits
Decode
Encode
Packet
Derive Macros
Decode
Encode
Packet
?
Settings
Module
valence_protocol
::
game_mode
Copy item path
source
·
[
−
]
Structs
§
OptGame
Mode
An optional
GameMode
with
None
encoded as
-1
. Isomorphic to
Option<GameMode>
.
Enums
§
Game
Mode