valence/src/protocol
Carson McManus 4574e18d49
inventory client events (#66)
* finish packet definition for ClickContainer

* add CloseScreen client event

* add DropItem client event

* add SetSlotCreative client event

* implement ClientEvent::CloseScreen

* ClientEvent::DropItem

* implement ClientEvent::SetSlotCreative

* cargo fmt

* add inventory_piano example to demo inventory slot click events

* lints

* implement ClickContainer event

* inventory_piano: deduplicate note playing logic

* add DropItemStack client event

* implement ClientEvent::DropItemStack

* adjust logging

* tweak inventory_piano example, send text to chat instead of stdout

* fix lint

* move Slot outside of protocol module

* avoid cloning slot in ClickContainer packet handler

* fix inventory_piano example
2022-09-19 11:29:41 -07:00
..
packets inventory client events (#66) 2022-09-19 11:29:41 -07:00
byte_angle.rs Add support for Slot data decoding (#25) 2022-09-08 21:39:08 -07:00
codec.rs Packet filtering (#67) 2022-09-16 05:31:37 -07:00
packets.rs inventory client events (#66) 2022-09-19 11:29:41 -07:00
var_int.rs Add support for Slot data decoding (#25) 2022-09-08 21:39:08 -07:00
var_long.rs Add support for Slot data decoding (#25) 2022-09-08 21:39:08 -07:00