#[repr(u8)]pub enum loot_condition_type {
Show 19 variants
inverted = 0,
any_of = 1,
all_of = 2,
random_chance = 3,
random_chance_with_enchanted_bonus = 4,
entity_properties = 5,
killed_by_player = 6,
entity_scores = 7,
block_state_property = 8,
match_tool = 9,
table_bonus = 10,
survives_explosion = 11,
damage_source_properties = 12,
location_check = 13,
weather_check = 14,
reference = 15,
time_check = 16,
value_check = 17,
enchantment_active_check = 18,
}Variants§
inverted = 0
any_of = 1
all_of = 2
random_chance = 3
random_chance_with_enchanted_bonus = 4
entity_properties = 5
killed_by_player = 6
entity_scores = 7
block_state_property = 8
match_tool = 9
table_bonus = 10
survives_explosion = 11
damage_source_properties = 12
location_check = 13
weather_check = 14
reference = 15
time_check = 16
value_check = 17
enchantment_active_check = 18
Implementations§
Trait Implementations§
Source§impl Clone for loot_condition_type
impl Clone for loot_condition_type
Source§fn clone(&self) -> loot_condition_type
fn clone(&self) -> loot_condition_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_condition_type
impl Debug for loot_condition_type
Source§impl Display for loot_condition_type
impl Display for loot_condition_type
Source§impl Hash for loot_condition_type
impl Hash for loot_condition_type
Source§impl PartialEq for loot_condition_type
impl PartialEq for loot_condition_type
Source§impl Write for loot_condition_type
impl Write for loot_condition_type
impl Copy for loot_condition_type
impl Eq for loot_condition_type
impl StructuralPartialEq for loot_condition_type
Auto Trait Implementations§
impl Freeze for loot_condition_type
impl RefUnwindSafe for loot_condition_type
impl Send for loot_condition_type
impl Sync for loot_condition_type
impl Unpin for loot_condition_type
impl UnwindSafe for loot_condition_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