stevenarella/src/types
ice_iix 46999f59bb Add protocol version global mutable to merge Metadata18/19 into one
Cleans up https://github.com/iceiix/steven/pull/57 1.8.9 (47) multiprotocol support
which added too much code duplication, Metadata19 vs Metadata18, and
different packets for each, the only difference being how it was parsed.

Instead, switch back to using only one Metadata implementation, but with
parsing conditionalized on a new global mutable: SUPPORTED_PROTOCOL_VERSION.
Accessing global mutable state is unsafe but it is only set when
initializing the connection, and only read when deep enough in the code
where it is not feasible to pass otherwise. More elegant, worth it.
2018-12-11 18:18:25 -08:00
..
bit Use field init shorthand, instead of x:x, just x, 2018-11-04 13:43:30 -08:00
hash.rs Initial block model support 2016-03-24 15:39:57 +00:00
metadata.rs Add protocol version global mutable to merge Metadata18/19 into one 2018-12-11 18:18:25 -08:00
mod.rs Replace usages of x,y,z for block positions with Position 2016-04-03 20:53:40 +01:00
nibble.rs Implement chunk loading 2016-03-21 14:05:13 +00:00