valence/examples
Carson McManus a885b949da
Better consume for inventories (#147)
- rework `consume_one` into `consume`
- update `consume_one_held_item` to `consume_held_item` to match
`consume`
- remove an unnecessary clone

Originally, I was planning on removing this function altogether. After
thinking about it for a bit though, I think it provides enough of a
convenience for end users to warrant keeping it.

This also implements the fix that was originally in #124
2022-11-01 19:31:28 -07:00
..
biomes.rs Redesign packet processing and improve Client update procedure. (#146) 2022-11-01 03:11:51 -07:00
building.rs Better consume for inventories (#147) 2022-11-01 19:31:28 -07:00
chest.rs Redesign packet processing and improve Client update procedure. (#146) 2022-11-01 03:11:51 -07:00
combat.rs Redesign packet processing and improve Client update procedure. (#146) 2022-11-01 03:11:51 -07:00
conway.rs Redesign packet processing and improve Client update procedure. (#146) 2022-11-01 03:11:51 -07:00
cow_sphere.rs Redesign packet processing and improve Client update procedure. (#146) 2022-11-01 03:11:51 -07:00
death.rs Redesign packet processing and improve Client update procedure. (#146) 2022-11-01 03:11:51 -07:00
entity_raycast.rs Redesign packet processing and improve Client update procedure. (#146) 2022-11-01 03:11:51 -07:00
inventory_piano.rs Redesign packet processing and improve Client update procedure. (#146) 2022-11-01 03:11:51 -07:00
parkour.rs Redesign packet processing and improve Client update procedure. (#146) 2022-11-01 03:11:51 -07:00
resource_pack.rs Redesign packet processing and improve Client update procedure. (#146) 2022-11-01 03:11:51 -07:00
terrain.rs Redesign packet processing and improve Client update procedure. (#146) 2022-11-01 03:11:51 -07:00