pub enum StatisticKind {
Show 50 variants
LeaveGame,
PlayOneMinute,
TimeSinceDeath,
SneakTime,
WealkOneCm,
CrouchOneCm,
SprintOneCm,
SwimOneCm,
FallOneCm,
ClimbOneCm,
FlyOneCm,
DiveOneCm,
MinecartOneCm,
BoatOneCm,
PigOneCm,
HorseOneCm,
AviateOneCm,
Jumps,
Drops,
DamageDealt,
DamageTaken,
Deaths,
MobKills,
AnimalsBread,
PlayerKills,
FishCaught,
TalkedToVillager,
TradedWithVillager,
EatCakeSlice,
FillCauldron,
UseCauldron,
CleanArmor,
CleanBanner,
InteractWithBrewingStand,
InteractWithBeaccon,
InspectDropper,
InspectHopper,
InspectDispenser,
PlayNoteBlock,
TuneNoteBlock,
PotFlower,
TriggerTrappedChest,
OpenEnderChest,
EnchantItem,
PlayRecord,
InteractWithFurnace,
InteractWithCraftingTable,
OpenChest,
SleepInBed,
OpenShulkerBox,
}Variants§
LeaveGame
PlayOneMinute
TimeSinceDeath
SneakTime
WealkOneCm
CrouchOneCm
SprintOneCm
SwimOneCm
FallOneCm
ClimbOneCm
FlyOneCm
DiveOneCm
MinecartOneCm
BoatOneCm
PigOneCm
HorseOneCm
AviateOneCm
Jumps
Drops
DamageDealt
DamageTaken
Deaths
MobKills
AnimalsBread
PlayerKills
FishCaught
TalkedToVillager
TradedWithVillager
EatCakeSlice
FillCauldron
UseCauldron
CleanArmor
CleanBanner
InteractWithBrewingStand
InteractWithBeaccon
InspectDropper
InspectHopper
InspectDispenser
PlayNoteBlock
TuneNoteBlock
PotFlower
TriggerTrappedChest
OpenEnderChest
EnchantItem
PlayRecord
InteractWithFurnace
InteractWithCraftingTable
OpenChest
SleepInBed
OpenShulkerBox
Implementations§
Source§impl StatisticKind
impl StatisticKind
pub const fn variant_count() -> usize
pub fn deserialize_with_id<'a>( id: VarInt, data: &'a [u8], ) -> DeserializeResult<'a, Self>
pub fn name(&self) -> &str
pub fn id(&self) -> VarInt
pub fn serialize_body<S: Serializer>(&self, to: &mut S) -> SerializeResult
Trait Implementations§
Source§impl Clone for StatisticKind
impl Clone for StatisticKind
Source§fn clone(&self) -> StatisticKind
fn clone(&self) -> StatisticKind
Returns a duplicate 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 StatisticKind
impl Debug for StatisticKind
Source§impl Deserialize for StatisticKind
impl Deserialize for StatisticKind
fn mc_deserialize(data: &[u8]) -> DeserializeResult<'_, Self>
Source§impl PartialEq for StatisticKind
impl PartialEq for StatisticKind
Source§impl Serialize for StatisticKind
impl Serialize for StatisticKind
fn mc_serialize<S: Serializer>(&self, to: &mut S) -> SerializeResult
impl StructuralPartialEq for StatisticKind
Auto Trait Implementations§
impl Freeze for StatisticKind
impl RefUnwindSafe for StatisticKind
impl Send for StatisticKind
impl Sync for StatisticKind
impl Unpin for StatisticKind
impl UnwindSafe for StatisticKind
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