#[repr(u8)]pub enum loot_function_type {
Show 21 variants
set_count = 0,
enchant_with_levels = 1,
enchant_randomly = 2,
set_nbt = 3,
furnace_smelt = 4,
looting_enchant = 5,
set_damage = 6,
set_attributes = 7,
set_name = 8,
exploration_map = 9,
set_stew_effect = 10,
copy_name = 11,
set_contents = 12,
limit_count = 13,
apply_bonus = 14,
set_loot_table = 15,
explosion_decay = 16,
set_lore = 17,
fill_player_head = 18,
copy_nbt = 19,
copy_state = 20,
}Variants§
set_count = 0
enchant_with_levels = 1
enchant_randomly = 2
set_nbt = 3
furnace_smelt = 4
looting_enchant = 5
set_damage = 6
set_attributes = 7
set_name = 8
exploration_map = 9
set_stew_effect = 10
copy_name = 11
set_contents = 12
limit_count = 13
apply_bonus = 14
set_loot_table = 15
explosion_decay = 16
set_lore = 17
fill_player_head = 18
copy_nbt = 19
copy_state = 20
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 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