Package net.minecraft.world.level.block
Interface SimpleWaterloggedBlock
- All Superinterfaces:
BucketPickup
,IForgeBucketPickup
,LiquidBlockContainer
- 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
,HeavyCoreBlock
,IronBarsBlock
,LadderBlock
,LanternBlock
,LeavesBlock
,LightBlock
,LightningRodBlock
,MangroveLeavesBlock
,MangrovePropaguleBlock
,MangroveRootsBlock
,PointedDripstoneBlock
,PoweredRailBlock
,RailBlock
,ScaffoldingBlock
,SculkSensorBlock
,SculkShriekerBlock
,SculkVeinBlock
,SeaPickleBlock
,SignBlock
,SlabBlock
,SmallDripleafBlock
,StainedGlassPaneBlock
,StairBlock
,StandingSignBlock
,TrapDoorBlock
,TrappedChestBlock
,WallBlock
,WallHangingSignBlock
,WallSignBlock
,WaterloggedTransparentBlock
,WeatheringCopperGrateBlock
,WeatheringCopperSlabBlock
,WeatheringCopperStairBlock
,WeatheringCopperTrapDoorBlock
-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
canPlaceLiquid
(Player p_298313_, BlockGetter p_56301_, BlockPos p_56302_, BlockState p_56303_, Fluid p_56304_) default Optional
<SoundEvent> default ItemStack
pickupBlock
(Player p_301318_, LevelAccessor p_154560_, BlockPos p_154561_, BlockState p_154562_) default boolean
placeLiquid
(LevelAccessor p_56306_, BlockPos p_56307_, BlockState p_56308_, FluidState p_56309_) Methods inherited from interface net.minecraftforge.common.extensions.IForgeBucketPickup
getPickupSound
-
Method Details
-
canPlaceLiquid
default boolean canPlaceLiquid(@Nullable Player p_298313_, 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
default ItemStack pickupBlock(@Nullable Player p_301318_, LevelAccessor p_154560_, BlockPos p_154561_, BlockState p_154562_) - Specified by:
pickupBlock
in interfaceBucketPickup
-
getPickupSound
- Specified by:
getPickupSound
in interfaceBucketPickup
-