Struct minecraft_json::minecraft::data::conditions::Location [−][src]
pub struct Location {
pub biome: Option<String>,
pub block: Option<Box<Block>>,
pub dimension: Option<String>,
pub feature: Option<String>,
pub fluid: Option<Box<Fluid>>,
pub light: Option<Ranged<isize>>,
pub position: Option<Box<Vector3d<Ranged<isize>>>>,
pub smokey: Option<bool>,
}Expand description
Tags common to all locations.
Fields
biome: Option<String>The biome the entity is currently in.
block: Option<Box<Block>>The block at the location.
dimension: Option<String>The dimension the entity is currently in.
feature: Option<String>Name of a structure.
fluid: Option<Box<Fluid>>The fluid at the location.
light: Option<Ranged<isize>>The light Level of visible light. Calculated using: max(sky - darkening, block).
position: Option<Box<Vector3d<Ranged<isize>>>>Block coordinate of this location.
smokey: Option<bool>True if the block is closely above a campfire or soul campfire.
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