#[repr(u8)]pub enum loot_function_type {
Show 40 variants
set_count = 0,
set_item = 1,
enchant_with_levels = 2,
enchant_randomly = 3,
set_enchantments = 4,
set_custom_data = 5,
set_components = 6,
furnace_smelt = 7,
enchanted_count_increase = 8,
set_damage = 9,
set_attributes = 10,
set_name = 11,
exploration_map = 12,
set_stew_effect = 13,
copy_name = 14,
set_contents = 15,
modify_contents = 16,
filtered = 17,
limit_count = 18,
apply_bonus = 19,
set_loot_table = 20,
explosion_decay = 21,
set_lore = 22,
fill_player_head = 23,
copy_custom_data = 24,
copy_state = 25,
set_banner_pattern = 26,
set_potion = 27,
set_instrument = 28,
reference = 29,
sequence = 30,
copy_components = 31,
set_fireworks = 32,
set_firework_explosion = 33,
set_book_cover = 34,
set_written_book_pages = 35,
set_writable_book_pages = 36,
toggle_tooltips = 37,
set_ominous_bottle_amplifier = 38,
set_custom_model_data = 39,
}Variants§
set_count = 0
set_item = 1
enchant_with_levels = 2
enchant_randomly = 3
set_enchantments = 4
set_custom_data = 5
set_components = 6
furnace_smelt = 7
enchanted_count_increase = 8
set_damage = 9
set_attributes = 10
set_name = 11
exploration_map = 12
set_stew_effect = 13
copy_name = 14
set_contents = 15
modify_contents = 16
filtered = 17
limit_count = 18
apply_bonus = 19
set_loot_table = 20
explosion_decay = 21
set_lore = 22
fill_player_head = 23
copy_custom_data = 24
copy_state = 25
set_potion = 27
set_instrument = 28
reference = 29
sequence = 30
copy_components = 31
set_fireworks = 32
set_firework_explosion = 33
set_book_cover = 34
set_written_book_pages = 35
set_writable_book_pages = 36
toggle_tooltips = 37
set_ominous_bottle_amplifier = 38
set_custom_model_data = 39
Implementations§
Trait Implementations§
Source§impl Clone for loot_function_type
impl Clone for loot_function_type
Source§fn clone(&self) -> loot_function_type
fn clone(&self) -> loot_function_type
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for loot_function_type
impl Debug for loot_function_type
Source§impl Display for loot_function_type
impl Display for loot_function_type
Source§impl Hash for loot_function_type
impl Hash for loot_function_type
Source§impl PartialEq for loot_function_type
impl PartialEq for loot_function_type
Source§impl Write for loot_function_type
impl Write for loot_function_type
impl Copy for loot_function_type
impl Eq for loot_function_type
impl StructuralPartialEq for loot_function_type
Auto Trait Implementations§
impl Freeze for loot_function_type
impl RefUnwindSafe for loot_function_type
impl Send for loot_function_type
impl Sync for loot_function_type
impl Unpin for loot_function_type
impl UnwindSafe for loot_function_type
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more