pub enum LootType {
Show 13 variants
Block,
Entity,
Chest,
Fishing,
Gift,
Archaeology,
Vault,
Shearing,
Equipment,
Selector,
EntityInteract,
BlockInteract,
Barter,
}Expand description
The type of loot table, determining when/how it’s used.
Variants§
Block
Entity
Chest
Fishing
Gift
Archaeology
Vault
Shearing
Equipment
Selector
EntityInteract
BlockInteract
Barter
Trait Implementations§
impl Copy for LootType
impl Eq for LootType
impl StructuralPartialEq for LootType
Auto Trait Implementations§
impl Freeze for LootType
impl RefUnwindSafe for LootType
impl Send for LootType
impl Sync for LootType
impl Unpin for LootType
impl UnsafeUnpin for LootType
impl UnwindSafe for LootType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.