Fix trapdoors

This commit is contained in:
Thinkofname 2016-03-29 21:04:35 +01:00
parent 357c695a3a
commit ec50947617
1 changed files with 9 additions and 13 deletions

View File

@ -2124,10 +2124,10 @@ define_blocks! {
},
data {
let data = match facing {
Direction::South => 0,
Direction::North => 1,
Direction::East => 2,
Direction::West => 3,
Direction::North => 0,
Direction::South => 1,
Direction::West => 2,
Direction::East => 3,
_ => unreachable!(),
};
@ -3687,10 +3687,10 @@ define_blocks! {
},
data {
let data = match facing {
Direction::South => 0,
Direction::North => 1,
Direction::East => 2,
Direction::West => 3,
Direction::North => 0,
Direction::South => 1,
Direction::West => 2,
Direction::East => 3,
_ => unreachable!(),
};
@ -3705,7 +3705,7 @@ define_blocks! {
force_shade: false,
transparent: false,
},
model { ("minecraft", "sponge" ) },
model { ("minecraft", "iron_trapdoor" ) },
variant format!("facing={},half={},open={}", facing.as_string(), half.as_string(), open),
}
Prismarine {
@ -5707,8 +5707,4 @@ impl FlowerPotVariant {
FlowerPotVariant::Oxeye => "oxeye_daisy",
}
}
fn data(&self) -> usize { // TODO: How should this be implemented?
0
}
}