bench facing fix

This commit is contained in:
Darto KLoning
2026-10-03 14:34:08 +07:00
parent d6b3c68c1f
commit 2132d9d7f3
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ org.gradle.jvmargs=-Xmx4G
org.gradle.parallel=true
org.gradle.caching=true
mod_version=4.0.13
mod_version=4.0.14
maven_group=earth.terrarium.handcrafted
archives_base_name=handcrafted
@@ -81,9 +81,9 @@ public class BenchBlock extends ModularSeatBlock {
@Override
protected InteractionResult useWithoutItem(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) {
// A backless bench has no canonical facing for the rider. Passing null
// makes Seat free-rotating, just like the standalone cushion/dining bench.
this.sitOn(level, pos, player, null);
// Bench models have a backrest, so the rider must inherit the bench facing.
// DiningBenchBlock remains free-rotating because it is the backless variant.
this.sitOn(level, pos, player, state.getValue(FACING));
return InteractionResult.SUCCESS;
}