clientbound__play

Enum clientbound__play 

Source
#[repr(u8)]
pub enum clientbound__play {
Show 139 variants bundle_delimiter = 0, add_entity = 1, animate = 2, award_stats = 3, block_changed_ack = 4, block_destruction = 5, block_entity_data = 6, block_event = 7, block_update = 8, boss_event = 9, change_difficulty = 10, chunk_batch_finished = 11, chunk_batch_start = 12, chunks_biomes = 13, clear_titles = 14, command_suggestions = 15, commands = 16, container_close = 17, container_set_content = 18, container_set_data = 19, container_set_slot = 20, cookie_request = 21, cooldown = 22, custom_chat_completions = 23, custom_payload = 24, damage_event = 25, debug_block_value = 26, debug_chunk_value = 27, debug_entity_value = 28, debug_event = 29, debug_sample = 30, delete_chat = 31, disconnect = 32, disguised_chat = 33, entity_event = 34, entity_position_sync = 35, explode = 36, forget_level_chunk = 37, game_event = 38, game_test_highlight_pos = 39, mount_screen_open = 40, hurt_animation = 41, initialize_border = 42, keep_alive = 43, level_chunk_with_light = 44, level_event = 45, level_particles = 46, light_update = 47, login = 48, map_item_data = 49, merchant_offers = 50, move_entity_pos = 51, move_entity_pos_rot = 52, move_minecart_along_track = 53, move_entity_rot = 54, move_vehicle = 55, open_book = 56, open_screen = 57, open_sign_editor = 58, ping = 59, pong_response = 60, place_ghost_recipe = 61, player_abilities = 62, player_chat = 63, player_combat_end = 64, player_combat_enter = 65, player_combat_kill = 66, player_info_remove = 67, player_info_update = 68, player_look_at = 69, player_position = 70, player_rotation = 71, recipe_book_add = 72, recipe_book_remove = 73, recipe_book_settings = 74, remove_entities = 75, remove_mob_effect = 76, reset_score = 77, resource_pack_pop = 78, resource_pack_push = 79, respawn = 80, rotate_head = 81, section_blocks_update = 82, select_advancements_tab = 83, server_data = 84, set_action_bar_text = 85, set_border_center = 86, set_border_lerp_size = 87, set_border_size = 88, set_border_warning_delay = 89, set_border_warning_distance = 90, set_camera = 91, set_chunk_cache_center = 92, set_chunk_cache_radius = 93, set_cursor_item = 94, set_default_spawn_position = 95, set_display_objective = 96, set_entity_data = 97, set_entity_link = 98, set_entity_motion = 99, set_equipment = 100, set_experience = 101, set_health = 102, set_held_slot = 103, set_objective = 104, set_passengers = 105, set_player_inventory = 106, set_player_team = 107, set_score = 108, set_simulation_distance = 109, set_subtitle_text = 110, set_time = 111, set_title_text = 112, set_titles_animation = 113, sound_entity = 114, sound = 115, start_configuration = 116, stop_sound = 117, store_cookie = 118, system_chat = 119, tab_list = 120, tag_query = 121, take_item_entity = 122, teleport_entity = 123, test_instance_block_status = 124, ticking_state = 125, ticking_step = 126, transfer = 127, update_advancements = 128, update_attributes = 129, update_mob_effect = 130, update_recipes = 131, update_tags = 132, projectile_power = 133, custom_report_details = 134, server_links = 135, waypoint = 136, clear_dialog = 137, show_dialog = 138,
}

Variants§

§

bundle_delimiter = 0

§

add_entity = 1

§

animate = 2

§

award_stats = 3

§

block_changed_ack = 4

§

block_destruction = 5

§

block_entity_data = 6

§

block_event = 7

§

block_update = 8

§

boss_event = 9

§

change_difficulty = 10

§

chunk_batch_finished = 11

§

chunk_batch_start = 12

§

chunks_biomes = 13

§

clear_titles = 14

§

command_suggestions = 15

§

commands = 16

§

container_close = 17

§

container_set_content = 18

§

container_set_data = 19

§

container_set_slot = 20

§

cookie_request = 21

§

cooldown = 22

§

custom_chat_completions = 23

§

custom_payload = 24

§

damage_event = 25

§

debug_block_value = 26

§

debug_chunk_value = 27

§

debug_entity_value = 28

§

debug_event = 29

§

debug_sample = 30

§

delete_chat = 31

§

disconnect = 32

§

disguised_chat = 33

§

entity_event = 34

§

entity_position_sync = 35

§

explode = 36

§

forget_level_chunk = 37

§

game_event = 38

§

game_test_highlight_pos = 39

§

mount_screen_open = 40

§

hurt_animation = 41

§

initialize_border = 42

§

keep_alive = 43

§

level_chunk_with_light = 44

§

level_event = 45

§

level_particles = 46

§

light_update = 47

§

login = 48

§

map_item_data = 49

§

merchant_offers = 50

§

move_entity_pos = 51

§

move_entity_pos_rot = 52

§

move_minecart_along_track = 53

§

move_entity_rot = 54

§

move_vehicle = 55

§

open_book = 56

§

open_screen = 57

§

open_sign_editor = 58

§

ping = 59

§

pong_response = 60

§

place_ghost_recipe = 61

§

player_abilities = 62

§

player_chat = 63

§

player_combat_end = 64

§

player_combat_enter = 65

§

player_combat_kill = 66

§

player_info_remove = 67

§

player_info_update = 68

§

player_look_at = 69

§

player_position = 70

§

player_rotation = 71

§

recipe_book_add = 72

§

recipe_book_remove = 73

§

recipe_book_settings = 74

§

remove_entities = 75

§

remove_mob_effect = 76

§

reset_score = 77

§

resource_pack_pop = 78

§

resource_pack_push = 79

§

respawn = 80

§

rotate_head = 81

§

section_blocks_update = 82

§

select_advancements_tab = 83

§

server_data = 84

§

set_action_bar_text = 85

§

set_border_center = 86

§

set_border_lerp_size = 87

§

set_border_size = 88

§

set_border_warning_delay = 89

§

set_border_warning_distance = 90

§

set_camera = 91

§

set_chunk_cache_center = 92

§

set_chunk_cache_radius = 93

§

set_cursor_item = 94

§

set_default_spawn_position = 95

§

set_display_objective = 96

§

set_entity_data = 97

§

set_entity_motion = 99

§

set_equipment = 100

§

set_experience = 101

§

set_health = 102

§

set_held_slot = 103

§

set_objective = 104

§

set_passengers = 105

§

set_player_inventory = 106

§

set_player_team = 107

§

set_score = 108

§

set_simulation_distance = 109

§

set_subtitle_text = 110

§

set_time = 111

§

set_title_text = 112

§

set_titles_animation = 113

§

sound_entity = 114

§

sound = 115

§

start_configuration = 116

§

stop_sound = 117

§

system_chat = 119

§

tab_list = 120

§

tag_query = 121

§

take_item_entity = 122

§

teleport_entity = 123

§

test_instance_block_status = 124

§

ticking_state = 125

§

ticking_step = 126

§

transfer = 127

§

update_advancements = 128

§

update_attributes = 129

§

update_mob_effect = 130

§

update_recipes = 131

§

update_tags = 132

§

projectile_power = 133

§

custom_report_details = 134

§

waypoint = 136

§

clear_dialog = 137

§

show_dialog = 138

Implementations§

Source§

impl clientbound__play

Source

pub const fn name(self) -> &'static str

Source

pub fn parse(name: &[u8]) -> Option<Self>

Source§

impl clientbound__play

Source

pub const MAX: u8 = 138u8

Source

pub const fn new(n: u8) -> Option<Self>

Source

pub const fn id(self) -> u8

Trait Implementations§

Source§

impl Clone for clientbound__play

Source§

fn clone(&self) -> clientbound__play

Returns a duplicate of the value. Read more
1.0.0§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for clientbound__play

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for clientbound__play

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Display for clientbound__play

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Hash for clientbound__play

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for clientbound__play

Source§

fn eq(&self, other: &clientbound__play) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Read<'_> for clientbound__play

Source§

fn read(n: &mut &[u8]) -> Result<Self, Error>

Source§

impl Write for clientbound__play

Source§

fn sz(&self) -> usize

Source§

unsafe fn write(&self, w: &mut UnsafeWriter)

Safety Read more
Source§

impl Copy for clientbound__play

Source§

impl Eq for clientbound__play

Source§

impl StructuralPartialEq for clientbound__play

Auto Trait Implementations§

Blanket Implementations§

§

impl<T> Any for T
where T: 'static + ?Sized,

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Borrow<T> for T
where T: ?Sized,

§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
§

impl<T> BorrowMut<T> for T
where T: ?Sized,

§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CloneToUninit for T
where T: Clone,

§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
§

impl<T> From<T> for T

§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T, U> Into<U> for T
where U: From<T>,

§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.