@@ -1,6 +1,6 @@
|
||||
--- a/net/minecraft/world/level/block/BlockSponge.java
|
||||
+++ b/net/minecraft/world/level/block/BlockSponge.java
|
||||
@@ -12,6 +12,13 @@
|
||||
@@ -13,6 +13,13 @@
|
||||
import net.minecraft.world.level.block.state.IBlockData;
|
||||
import net.minecraft.world.level.material.Fluid;
|
||||
|
||||
@@ -13,8 +13,8 @@
|
||||
+
|
||||
public class BlockSponge extends Block {
|
||||
|
||||
public static final int MAX_DEPTH = 6;
|
||||
@@ -44,7 +51,8 @@
|
||||
public static final MapCodec<BlockSponge> CODEC = simpleCodec(BlockSponge::new);
|
||||
@@ -51,7 +58,8 @@
|
||||
}
|
||||
|
||||
private boolean removeWaterBreadthFirstSearch(World world, BlockPosition blockposition) {
|
||||
@@ -24,7 +24,7 @@
|
||||
EnumDirection[] aenumdirection = BlockSponge.ALL_DIRECTIONS;
|
||||
int i = aenumdirection.length;
|
||||
|
||||
@@ -58,8 +66,10 @@
|
||||
@@ -65,8 +73,10 @@
|
||||
if (blockposition1.equals(blockposition)) {
|
||||
return true;
|
||||
} else {
|
||||
@@ -37,7 +37,7 @@
|
||||
|
||||
if (!fluid.is(TagsFluid.WATER)) {
|
||||
return false;
|
||||
@@ -69,27 +79,64 @@
|
||||
@@ -76,27 +86,64 @@
|
||||
if (block instanceof IFluidSource) {
|
||||
IFluidSource ifluidsource = (IFluidSource) block;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user