Package net.minecraft.world.level.block
Interface LiquidBlockContainer
- All Known Subinterfaces:
SimpleWaterloggedBlock
- All Known Implementing Classes:
AmethystClusterBlock
,BarrierBlock
,BaseCoralFanBlock
,BaseCoralPlantBlock
,BaseCoralPlantTypeBlock
,BaseCoralWallFanBlock
,BaseRailBlock
,BigDripleafBlock
,BigDripleafStemBlock
,CalibratedSculkSensorBlock
,CampfireBlock
,CandleBlock
,CeilingHangingSignBlock
,ChainBlock
,CherryLeavesBlock
,ChestBlock
,ConduitBlock
,CoralFanBlock
,CoralPlantBlock
,CoralWallFanBlock
,CrossCollisionBlock
,DecoratedPotBlock
,DetectorRailBlock
,EnderChestBlock
,FenceBlock
,GlowLichenBlock
,HangingRootsBlock
,IronBarsBlock
,KelpBlock
,KelpPlantBlock
,LadderBlock
,LanternBlock
,LeavesBlock
,LightBlock
,LightningRodBlock
,MangroveLeavesBlock
,MangrovePropaguleBlock
,MangroveRootsBlock
,PointedDripstoneBlock
,PoweredRailBlock
,RailBlock
,ScaffoldingBlock
,SculkSensorBlock
,SculkShriekerBlock
,SculkVeinBlock
,SeagrassBlock
,SeaPickleBlock
,SignBlock
,SlabBlock
,SmallDripleafBlock
,StainedGlassPaneBlock
,StairBlock
,StandingSignBlock
,TallSeagrassBlock
,TrapDoorBlock
,TrappedChestBlock
,WallBlock
,WallHangingSignBlock
,WallSignBlock
,WeatheringCopperSlabBlock
,WeatheringCopperStairBlock
public interface LiquidBlockContainer
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canPlaceLiquid
(Player p_300220_, BlockGetter p_54766_, BlockPos p_54767_, BlockState p_54768_, Fluid p_54769_) boolean
placeLiquid
(LevelAccessor p_54770_, BlockPos p_54771_, BlockState p_54772_, FluidState p_54773_)
-
Method Details
-
canPlaceLiquid
boolean canPlaceLiquid(@Nullable Player p_300220_, BlockGetter p_54766_, BlockPos p_54767_, BlockState p_54768_, Fluid p_54769_) -
placeLiquid
boolean placeLiquid(LevelAccessor p_54770_, BlockPos p_54771_, BlockState p_54772_, FluidState p_54773_)
-