mirror of
https://github.com/italicsjenga/valence.git
synced 2025-01-27 05:56:33 +11:00
Rename valence_protocol to valence::protocol (#280)
## Description Replaced the remaining `valence_protcol` with `valence::protocol` in the examples
This commit is contained in:
parent
7cd483afb7
commit
52fadb6dd8
3 changed files with 5 additions and 5 deletions
|
@ -6,9 +6,9 @@ use rand::Rng;
|
|||
use valence::client::despawn_disconnected_clients;
|
||||
use valence::client::event::default_event_handler;
|
||||
use valence::prelude::*;
|
||||
use valence_protocol::packet::s2c::play::TitleFadeS2c;
|
||||
use valence_protocol::sound::Sound;
|
||||
use valence_protocol::types::SoundCategory;
|
||||
use valence::protocol::packet::s2c::play::TitleFadeS2c;
|
||||
use valence::protocol::sound::Sound;
|
||||
use valence::protocol::types::SoundCategory;
|
||||
|
||||
const START_POS: BlockPos = BlockPos::new(0, 100, 0);
|
||||
const VIEW_DIST: u8 = 10;
|
||||
|
|
|
@ -3,7 +3,7 @@ use valence::client::event::{
|
|||
default_event_handler, PlayerInteract, ResourcePackStatus, ResourcePackStatusChange,
|
||||
};
|
||||
use valence::prelude::*;
|
||||
use valence_protocol::packet::c2s::play::player_interact::Interaction;
|
||||
use valence::protocol::packet::c2s::play::player_interact::Interaction;
|
||||
|
||||
const SPAWN_Y: i32 = 64;
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
use valence::client::despawn_disconnected_clients;
|
||||
use valence::client::event::default_event_handler;
|
||||
use valence::prelude::*;
|
||||
use valence_protocol::translation_key;
|
||||
use valence::protocol::translation_key;
|
||||
|
||||
const SPAWN_Y: i32 = 64;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue