aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/v1_17_1.rs167
1 files changed, 107 insertions, 60 deletions
diff --git a/src/v1_17_1.rs b/src/v1_17_1.rs
index bbfe4fa..c043816 100644
--- a/src/v1_17_1.rs
+++ b/src/v1_17_1.rs
@@ -3383,72 +3383,100 @@ proto_varint_enum!(EntityPose,
0x03 :: Swimming,
0x04 :: SpinAttack,
0x05 :: Sneaking,
- 0x06 :: Dying
+ 0x06 :: LongJumping,
+ 0x07 :: Dying
);
proto_varint_enum!(ParticleSpec,
0x00 :: AmbientEntityEffect,
0x01 :: AngryVillager,
0x02 :: Barrier,
- 0x03 :: Block(BlockParticleData),
- 0x04 :: Bubble,
- 0x05 :: Cloud,
- 0x06 :: Crit,
- 0x07 :: DamageIndicator,
- 0x08 :: DragonBreath,
- 0x09 :: DrippingLava,
- 0x0A :: FallingLava,
- 0x0B :: LandingLava,
- 0x0C :: DrippingWater,
- 0x0D :: FallingWater,
- 0x0E :: Dust(DustParticleData),
- 0x0F :: Effect,
- 0x10 :: ElderGuardian,
- 0x11 :: EnchantedHit,
- 0x12 :: Enchant,
- 0x13 :: EndRod,
- 0x14 :: EntityEffect,
- 0x15 :: ExposionEmitter,
- 0x16 :: Explosion,
- 0x17 :: FallingDust(DustParticleData),
- 0x18 :: Firework,
- 0x19 :: Fishing,
- 0x1A :: Flame,
- 0x1B :: Flash,
- 0x1C :: HappyVillager,
- 0x1D :: Composter,
- 0x1E :: Heart,
- 0x1F :: InstantEffect,
- 0x20 :: Item(Slot),
- 0x21 :: ItemSlime,
- 0x22 :: ItemSnowball,
- 0x23 :: LargeSmoke,
- 0x24 :: Lava,
- 0x25 :: Mycelium,
- 0x26 :: Note,
- 0x27 :: Poof,
- 0x28 :: Portal,
- 0x29 :: Rain,
- 0x2A :: Smoke,
- 0x2B :: Sneeze,
- 0x2C :: Spit,
- 0x2D :: SquidInk,
- 0x2E :: SweepAttack,
- 0x2F :: TotemOfUndying,
- 0x30 :: Underwater,
- 0x31 :: Splash,
- 0x32 :: Witch,
- 0x33 :: BubblePop,
- 0x34 :: CurrentDown,
- 0x35 :: BubbleColumnUp,
- 0x36 :: Nautilus,
- 0x37 :: Dolphin,
- 0x38 :: CampfireCosySmoke,
- 0x39 :: CampfireSignalSmoke,
- 0x3A :: DrippingHoney,
- 0x3B :: FallingHoney,
- 0x3C :: LandingHoney,
- 0x3D :: FallingNectar
+ 0x03 :: Light,
+ 0x04 :: Block(BlockParticleData),
+ 0x05 :: Bubble,
+ 0x06 :: Cloud,
+ 0x07 :: Crit,
+ 0x08 :: DamageIndicator,
+ 0x09 :: DragonBreath,
+ 0x0A :: DrippingLava,
+ 0x0B :: FallingLava,
+ 0x0C :: LandingLava,
+ 0x0D :: DrippingWater,
+ 0x0E :: FallingWater,
+ 0x0F :: Dust(DustParticleData),
+ 0x10 :: DustColorTransition(DustColorTransitionData),
+ 0x11 :: Effect,
+ 0x12 :: ElderGuardian,
+ 0x13 :: EnchantedHit,
+ 0x14 :: Enchant,
+ 0x15 :: EndRod,
+ 0x16 :: EntityEffect,
+ 0x17 :: ExplosionEmitter,
+ 0x18 :: Explosion,
+ 0x19 :: FallingDust(DustParticleData),
+ 0x1A :: Firework,
+ 0x1B :: Fishing,
+ 0x1C :: Flame,
+ 0x1D :: SoulFireFlame,
+ 0x1E :: Soul,
+ 0x1F :: Flash,
+ 0x20 :: HappyVillager,
+ 0x21 :: Composter,
+ 0x22 :: Heart,
+ 0x23 :: InstantEffect,
+ 0x24 :: Item(Slot),
+ 0x25 :: Vibration(VibrationData),
+ 0x26 :: ItemSlime,
+ 0x27 :: ItemSnowball,
+ 0x28 :: LargeSmoke,
+ 0x29 :: Lava,
+ 0x2A :: Mycelium,
+ 0x2B :: Note,
+ 0x2C :: Poof,
+ 0x2D :: Portal,
+ 0x2E :: Rain,
+ 0x2F :: Smoke,
+ 0x30 :: Sneeze,
+ 0x31 :: Spit,
+ 0x32 :: SquidInk,
+ 0x33 :: SweepAttack,
+ 0x34 :: TotemOfUndying,
+ 0x35 :: Underwater,
+ 0x36 :: Splash,
+ 0x37 :: Witch,
+ 0x38 :: BubblePop,
+ 0x39 :: CurrentDown,
+ 0x3A :: BubbleColumnUp,
+ 0x3B :: Nautilus,
+ 0x3C :: Dolphin,
+ 0x3D :: CampfireCosySmoke,
+ 0x3E :: CampfireSignalSmoke,
+ 0x3F :: DrippingHoney,
+ 0x40 :: FallingHoney,
+ 0x41 :: LandingHoney,
+ 0x42 :: FallingNectar,
+ 0x43 :: FallingSporeBlossom,
+ 0x44 :: Ash,
+ 0x45 :: CrimsonSpore,
+ 0x46 :: WarpedSpore,
+ 0x47 :: SporeBlossomAir,
+ 0x48 :: DrippingObsidianTear,
+ 0x49 :: FallingObsidianTear,
+ 0x4A :: LandingObsidianTear,
+ 0x4B :: ReversePortal,
+ 0x4C :: WhiteAsh,
+ 0x4D :: SmallFlame,
+ 0x4E :: Snowflake,
+ 0x4F :: DrippingDripstoneLava,
+ 0x50 :: FallingDripstoneLava,
+ 0x51 :: DrippingDripstoneWater,
+ 0x52 :: FallingDripstoneWater,
+ 0x53 :: GlowSquidInk,
+ 0x54 :: Glow,
+ 0x55 :: WaxOn,
+ 0x56 :: WaxOff,
+ 0x57 :: ElectricSpark,
+ 0x58 :: Scrape
);
proto_struct!(BlockParticleData {
@@ -3462,6 +3490,25 @@ proto_struct!(DustParticleData {
scale: f32
});
+proto_struct!(DustColorTransitionData {
+ from_red: f32,
+ from_green: f32,
+ from_blue: f32,
+ scale: f32,
+ to_red: f32,
+ to_green: f32,
+ to_blue: f32
+});
+
+proto_struct!(VibrationData {
+ origin_x: f64,
+ origin_y: f64,
+ origin_z: f64,
+ dest_x: f64,
+ dest_y: f64,
+ dest_z: f64
+});
+
#[cfg(all(test, feature = "std"))]
pub mod tests {
use super::*;