Package net.minecraft.world.level.block
Interface SimpleWaterloggedBlock
- All Superinterfaces:
BucketPickup
,LiquidBlockContainer
- All Known Implementing Classes:
AmethystClusterBlock
,BaseCoralFanBlock
,BaseCoralPlantBlock
,BaseCoralPlantTypeBlock
,BaseCoralWallFanBlock
,BaseRailBlock
,BigDripleafBlock
,BigDripleafStemBlock
,CampfireBlock
,CandleBlock
,ChainBlock
,ChestBlock
,ConduitBlock
,CoralFanBlock
,CoralPlantBlock
,CoralWallFanBlock
,CrossCollisionBlock
,CustomSignsTest.CustomStandingSignBlock
,CustomSignsTest.CustomWallSignBlock
,DetectorRailBlock
,EnderChestBlock
,FenceBlock
,GlowLichenBlock
,HangingRootsBlock
,IronBarsBlock
,LadderBlock
,LanternBlock
,LightBlock
,LightningRodBlock
,NewFluidTest.FluidloggableBlock
,PointedDripstoneBlock
,PoweredRailBlock
,RailBlock
,ScaffoldingBlock
,ScaffoldingTest.ScaffoldingMethodTestBlock
,SculkSensorBlock
,SeaPickleBlock
,SignBlock
,SlabBlock
,SmallDripleafBlock
,StainedGlassPaneBlock
,StairBlock
,StandingSignBlock
,TrapDoorBlock
,TrappedChestBlock
,WallBlock
,WallSignBlock
,WeatheringCopperSlabBlock
,WeatheringCopperStairBlock
-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
canPlaceLiquid(BlockGetter p_56301_, BlockPos p_56302_, BlockState p_56303_, Fluid p_56304_)
default Optional<SoundEvent>
default ItemStack
pickupBlock(LevelAccessor p_154560_, BlockPos p_154561_, BlockState p_154562_)
default boolean
placeLiquid(LevelAccessor p_56306_, BlockPos p_56307_, BlockState p_56308_, FluidState p_56309_)
-
Method Details
-
canPlaceLiquid
default boolean canPlaceLiquid(BlockGetter p_56301_, BlockPos p_56302_, BlockState p_56303_, Fluid p_56304_)- Specified by:
canPlaceLiquid
in interfaceLiquidBlockContainer
-
placeLiquid
default boolean placeLiquid(LevelAccessor p_56306_, BlockPos p_56307_, BlockState p_56308_, FluidState p_56309_)- Specified by:
placeLiquid
in interfaceLiquidBlockContainer
-
pickupBlock
- Specified by:
pickupBlock
in interfaceBucketPickup
-
getPickupSound
- Specified by:
getPickupSound
in interfaceBucketPickup
-