pub struct BlockBreakAnimation {
pub entity_id: i32,
pub location: BlockPos,
pub destroy_stage: i8,
}Expand description
block_break_animation (clientbound play, id 0x25).
Fields§
§entity_id: i32entityId
location: BlockPoslocation
destroy_stage: i8destroyStage
Trait Implementations§
Source§impl Clone for BlockBreakAnimation
impl Clone for BlockBreakAnimation
Source§impl Debug for BlockBreakAnimation
impl Debug for BlockBreakAnimation
Source§impl Decode for BlockBreakAnimation
impl Decode for BlockBreakAnimation
Source§fn decode(r: &mut Reader<'_>) -> DecodeResult<Self>
fn decode(r: &mut Reader<'_>) -> DecodeResult<Self>
Decodes one value, advancing the reader past it.
Source§impl Encode for BlockBreakAnimation
impl Encode for BlockBreakAnimation
Source§fn encode(&self, w: &mut BytesMut) -> EncodeResult
fn encode(&self, w: &mut BytesMut) -> EncodeResult
Appends the encoding of
self to w.Source§impl From<BlockBreakAnimation> for ClientboundPlayPacket
impl From<BlockBreakAnimation> for ClientboundPlayPacket
Source§fn from(p: BlockBreakAnimation) -> Self
fn from(p: BlockBreakAnimation) -> Self
Converts to this type from the input type.
Source§impl Generate for BlockBreakAnimation
Available on crate feature testgen only.
impl Generate for BlockBreakAnimation
Available on crate feature
testgen only.Source§impl Packet for BlockBreakAnimation
impl Packet for BlockBreakAnimation
Source§impl PartialEq for BlockBreakAnimation
impl PartialEq for BlockBreakAnimation
impl StructuralPartialEq for BlockBreakAnimation
Auto Trait Implementations§
impl Forget for BlockBreakAnimation
impl Freeze for BlockBreakAnimation
impl RefUnwindSafe for BlockBreakAnimation
impl Send for BlockBreakAnimation
impl Sync for BlockBreakAnimation
impl Unpin for BlockBreakAnimation
impl UnsafeUnpin for BlockBreakAnimation
impl UnwindSafe for BlockBreakAnimation
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