From 65c7390874e91ce353faee42771ede7bf53b07c7 Mon Sep 17 00:00:00 2001 From: TelepathicGrunt <40846040+TelepathicGrunt@users.noreply.github.com> Date: Mon, 29 May 2023 15:16:05 -0400 Subject: [PATCH] Loosen access for BucketItem's canBlockContainFluid (#9429) --- .../minecraft/net/minecraft/world/item/BucketItem.java.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/minecraft/net/minecraft/world/item/BucketItem.java.patch b/patches/minecraft/net/minecraft/world/item/BucketItem.java.patch index cb3e457bae..97a8dc1b74 100644 --- a/patches/minecraft/net/minecraft/world/item/BucketItem.java.patch +++ b/patches/minecraft/net/minecraft/world/item/BucketItem.java.patch @@ -107,7 +107,7 @@ + private final java.util.function.Supplier fluidSupplier; + public Fluid getFluid() { return fluidSupplier.get(); } + -+ private boolean canBlockContainFluid(Level worldIn, BlockPos posIn, BlockState blockstate) ++ protected boolean canBlockContainFluid(Level worldIn, BlockPos posIn, BlockState blockstate) + { + return blockstate.m_60734_() instanceof LiquidBlockContainer && ((LiquidBlockContainer)blockstate.m_60734_()).m_6044_(worldIn, posIn, blockstate, this.f_40687_); }