pub struct TileTick {
pub id: String,
pub priority: i32,
pub ticks: i32,
pub x: i32,
pub y: i32,
pub z: i32,
}
Expand description
Fields§
§id: String
The ID of the block; used to activate the correct block update procedure.
priority: i32
If multiple tile ticks are scheduled for the same tick, tile ticks with lower priority are processed first. If they also have the same priority, the order is unknown.
ticks: i32
The number of ticks until processing should occur. May be negative when processing is overdue.
x: i32
x position
y: i32
y position
z: i32
z position
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TileTick
impl<'de> Deserialize<'de> for TileTick
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for TileTick
impl StructuralPartialEq for TileTick
Auto Trait Implementations§
impl Freeze for TileTick
impl RefUnwindSafe for TileTick
impl Send for TileTick
impl Sync for TileTick
impl Unpin for TileTick
impl UnwindSafe for TileTick
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