From e6f59e0541c413d61192f25c404a45f751a70199 Mon Sep 17 00:00:00 2001 From: Daleth Darko Date: Tue, 16 Sep 2025 17:05:41 -0400 Subject: [PATCH 1/2] Change shift key check to crouching in WineBoxBlock --- .../main/java/net/satisfy/vinery/core/block/WineBoxBlock.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/net/satisfy/vinery/core/block/WineBoxBlock.java b/common/src/main/java/net/satisfy/vinery/core/block/WineBoxBlock.java index 673eda70..3a0fccd8 100644 --- a/common/src/main/java/net/satisfy/vinery/core/block/WineBoxBlock.java +++ b/common/src/main/java/net/satisfy/vinery/core/block/WineBoxBlock.java @@ -93,7 +93,7 @@ public boolean propagatesSkylightDown(BlockState state, BlockGetter world, Block @Override public @NotNull InteractionResult use(BlockState state, Level world, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hit) { ItemStack stack = player.getItemInHand(hand); - if (player.isShiftKeyDown() && stack.isEmpty()) { + if (player.isCrouching() && stack.isEmpty()) { if (!world.isClientSide()) { world.setBlock(pos, state.setValue(OPEN, !state.getValue(OPEN)), Block.UPDATE_ALL); } From e5a078925ad5ea36b3499481ebe2af991605565e Mon Sep 17 00:00:00 2001 From: Daleth Darko Date: Tue, 16 Sep 2025 17:06:40 -0400 Subject: [PATCH 2/2] Change shift key check to crouching in use method --- .../net/satisfy/vinery/core/block/BigBottleStorageBlock.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/net/satisfy/vinery/core/block/BigBottleStorageBlock.java b/common/src/main/java/net/satisfy/vinery/core/block/BigBottleStorageBlock.java index 8e4ea3cf..62b0c610 100644 --- a/common/src/main/java/net/satisfy/vinery/core/block/BigBottleStorageBlock.java +++ b/common/src/main/java/net/satisfy/vinery/core/block/BigBottleStorageBlock.java @@ -41,7 +41,7 @@ public BigBottleStorageBlock(Properties settings) { @Override public @NotNull InteractionResult use(BlockState state, Level world, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hit) { ItemStack stack = player.getItemInHand(hand); - if (player.isShiftKeyDown() && stack.isEmpty()) { + if (player.isCrouching() && stack.isEmpty()) { if (!world.isClientSide()) { world.playSound(null, pos, OPEN_SOUND, SoundSource.BLOCKS, 0.4f, 0.4f); world.setBlock(pos, state.setValue(OPEN, !state.getValue(OPEN)), UPDATE_ALL);