#[repr(u8)]pub enum loot_condition_type {
Show 18 variants
inverted = 0,
any_of = 1,
all_of = 2,
random_chance = 3,
random_chance_with_looting = 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,
}Variants§
inverted = 0
any_of = 1
all_of = 2
random_chance = 3
random_chance_with_looting = 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
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§fn eq(&self, other: &loot_condition_type) -> bool
fn eq(&self, other: &loot_condition_type) -> bool
This method tests for
self and other values to be equal, and is used
by ==.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 StructuralEq for loot_condition_type
impl StructuralPartialEq for loot_condition_type
Auto Trait Implementations§
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