#[repr(u8)]pub enum loot_function_type {
Show 27 variants
set_count = 0,
enchant_with_levels = 1,
enchant_randomly = 2,
set_enchantments = 3,
set_nbt = 4,
furnace_smelt = 5,
looting_enchant = 6,
set_damage = 7,
set_attributes = 8,
set_name = 9,
exploration_map = 10,
set_stew_effect = 11,
copy_name = 12,
set_contents = 13,
limit_count = 14,
apply_bonus = 15,
set_loot_table = 16,
explosion_decay = 17,
set_lore = 18,
fill_player_head = 19,
copy_nbt = 20,
copy_state = 21,
set_banner_pattern = 22,
set_potion = 23,
set_instrument = 24,
reference = 25,
sequence = 26,
}Variants§
set_count = 0
enchant_with_levels = 1
enchant_randomly = 2
set_enchantments = 3
set_nbt = 4
furnace_smelt = 5
looting_enchant = 6
set_damage = 7
set_attributes = 8
set_name = 9
exploration_map = 10
set_stew_effect = 11
copy_name = 12
set_contents = 13
limit_count = 14
apply_bonus = 15
set_loot_table = 16
explosion_decay = 17
set_lore = 18
fill_player_head = 19
copy_nbt = 20
copy_state = 21
set_potion = 23
set_instrument = 24
reference = 25
sequence = 26
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§fn eq(&self, other: &loot_function_type) -> bool
fn eq(&self, other: &loot_function_type) -> bool
This method tests for
self and other values to be equal, and is used
by ==.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 StructuralEq for loot_function_type
impl StructuralPartialEq for loot_function_type
Auto Trait Implementations§
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