Fix trapdoors
This commit is contained in:
parent
357c695a3a
commit
ec50947617
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue