pub struct ItemBlockPredicate {
pub block_set: Option<HolderSet>,
pub properties: Option<Vec<ItemBlockProperty>>,
pub nbt: Option<AnonNbt>,
pub components: DataComponentMatchers,
}Expand description
Named type ItemBlockPredicate.
Fields§
§block_set: Option<HolderSet>blockSet
properties: Option<Vec<ItemBlockProperty>>properties
nbt: Option<AnonNbt>nbt
components: DataComponentMatcherscomponents
Trait Implementations§
Source§impl Clone for ItemBlockPredicate
impl Clone for ItemBlockPredicate
Source§impl Debug for ItemBlockPredicate
impl Debug for ItemBlockPredicate
Source§impl Decode for ItemBlockPredicate
Available on crate feature v26_2 only.
impl Decode for ItemBlockPredicate
Available on crate feature
v26_2 only.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 ItemBlockPredicate
Available on crate feature v26_2 only.
impl Encode for ItemBlockPredicate
Available on crate feature
v26_2 only.Source§fn encode(&self, w: &mut BytesMut) -> EncodeResult
fn encode(&self, w: &mut BytesMut) -> EncodeResult
Appends the encoding of
self to w.Source§impl Generate for ItemBlockPredicate
Available on crate features testgen and v26_2 only.
impl Generate for ItemBlockPredicate
Available on crate features
testgen and v26_2 only.Source§impl PartialEq for ItemBlockPredicate
impl PartialEq for ItemBlockPredicate
impl StructuralPartialEq for ItemBlockPredicate
Auto Trait Implementations§
impl !Freeze for ItemBlockPredicate
impl Forget for ItemBlockPredicate
impl Move for ItemBlockPredicate
impl RefUnwindSafe for ItemBlockPredicate
impl Send for ItemBlockPredicate
impl Sync for ItemBlockPredicate
impl Unpin for ItemBlockPredicate
impl UnsafeUnpin for ItemBlockPredicate
impl UnwindSafe for ItemBlockPredicate
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