Readd dropped CauldronInteraction hunk

This commit is contained in:
Nassim Jahnke
2024-12-15 16:09:49 +01:00
parent ac9ac5e7ea
commit 0895318159
2 changed files with 8 additions and 4 deletions

View File

@@ -227,7 +227,7 @@
) {
return (InteractionResult)(isUnderWater(level, pos)
? InteractionResult.CONSUME
@@ -269,50 +_,65 @@
@@ -269,53 +_,68 @@
hand,
filledStack,
Blocks.POWDER_SNOW_CAULDRON.defaultBlockState().setValue(LayeredCauldronBlock.LEVEL, Integer.valueOf(3)),
@@ -298,4 +298,8 @@
+ // CraftBukkit end
stack.remove(DataComponents.DYED_COLOR);
player.awardStat(Stats.CLEAN_ARMOR);
LayeredCauldronBlock.lowerFillLevel(state, level, pos);
- LayeredCauldronBlock.lowerFillLevel(state, level, pos);
+ // LayeredCauldronBlock.lowerFillLevel(state, level, pos); // CraftBukkit
}
return InteractionResult.SUCCESS;