Struct minecraft_json::minecraft::data::conditions::Fluid [−][src]
pub struct Fluid { pub fluid: Option<String>, pub tag: Option<String>, pub state: BTreeMap<String, PlainValue>, }
Expand description
Fluid conditions.
Fields
fluid: Option<String>
The fluid ID.
tag: Option<String>
The fluid Tag.
state: BTreeMap<String, PlainValue>
A map of fluid property names to values. Test will fail if the fluid 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