Struct minecraft_json::minecraft::data::conditions::Block [−][src]
pub struct Block { pub blocks: Vec<String>, pub tag: Option<String>, pub nbt: Option<String>, pub state: BTreeMap<String, PlainValue>, }
Expand description
Block conditions.
Fields
blocks: Vec<String>
A list of block IDs.
tag: Option<String>
The block Tag.
nbt: Option<String>
The block NBT.
state: BTreeMap<String, PlainValue>
A map of block property names to values. Test will fail if the block doesn’t match.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more