#[repr(u8)]pub enum loot_condition_type {
Show 16 variants
inverted = 0,
alternative = 1,
random_chance = 2,
random_chance_with_looting = 3,
entity_properties = 4,
killed_by_player = 5,
entity_scores = 6,
block_state_property = 7,
match_tool = 8,
table_bonus = 9,
survives_explosion = 10,
damage_source_properties = 11,
location_check = 12,
weather_check = 13,
reference = 14,
time_check = 15,
}Variants§
inverted = 0
alternative = 1
random_chance = 2
random_chance_with_looting = 3
entity_properties = 4
killed_by_player = 5
entity_scores = 6
block_state_property = 7
match_tool = 8
table_bonus = 9
survives_explosion = 10
damage_source_properties = 11
location_check = 12
weather_check = 13
reference = 14
time_check = 15
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 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