Fix LiquidBlock's fluid field not being redirected to the supplier getFluid. Closes #7922

This commit is contained in:
LexManos committed 2021-11-30 08:43:37 -08:00
1 parent b4feee8046
commit 82a7ee1416
2 files changed
+7 -3

No files matched your search

@@ -1,6 +1,12 @@
--- a/net/minecraft/world/level/block/LiquidBlock.java
+++ b/net/minecraft/world/level/block/LiquidBlock.java
@@ -35,6 +_,7 @@
@@ -30,11 +_,12 @@
public class LiquidBlock extends Block implements BucketPickup {
public static final IntegerProperty f_54688_ = BlockStateProperties.f_61422_;
- protected final FlowingFluid f_54689_;
+ private final FlowingFluid f_54689_;
private final List<FluidState> f_54691_;
public static final VoxelShape f_54690_ = Block.m_49796_(0.0D, 0.0D, 0.0D, 16.0D, 8.0D, 16.0D);
public static final ImmutableList<Direction> f_181233_ = ImmutableList.of(Direction.DOWN, Direction.SOUTH, Direction.NORTH, Direction.EAST, Direction.WEST);
@@ -12,7 +12,6 @@ function initializeCoreMod() {
return classNode;
}
},
/* TODO
'flowing_fluid_block': {
'target': {
'type': 'CLASS',
@@ -23,7 +22,6 @@ function initializeCoreMod() {
return classNode;
}
},
*/
'bucketitem': {
'target': {
'type': 'CLASS',