Interface IBucketPickupExtension
- All Known Subinterfaces:
BucketPickup,SimpleWaterloggedBlock
- All Known Implementing Classes:
AmethystClusterBlock,BarrierBlock,BaseCoralFanBlock,BaseCoralPlantBlock,BaseCoralPlantTypeBlock,BaseCoralWallFanBlock,BaseRailBlock,BigDripleafBlock,BigDripleafStemBlock,BubbleColumnBlock,CalibratedSculkSensorBlock,CampfireBlock,CandleBlock,CeilingHangingSignBlock,ChainBlock,ChestBlock,ConduitBlock,CopperChestBlock,CopperGolemStatueBlock,CoralFanBlock,CoralPlantBlock,CoralWallFanBlock,CrossCollisionBlock,DecoratedPotBlock,DetectorRailBlock,DriedGhastBlock,EnderChestBlock,FenceBlock,GlowLichenBlock,HangingRootsBlock,HeavyCoreBlock,IronBarsBlock,LadderBlock,LanternBlock,LeavesBlock,LightBlock,LightningRodBlock,LiquidBlock,MangroveLeavesBlock,MangrovePropaguleBlock,MangroveRootsBlock,MultifaceBlock,MultifaceSpreadeableBlock,PointedDripstoneBlock,PowderSnowBlock,PoweredRailBlock,RailBlock,ScaffoldingBlock,SculkSensorBlock,SculkShriekerBlock,SculkVeinBlock,SeaPickleBlock,ShelfBlock,SignBlock,SlabBlock,SmallDripleafBlock,StainedGlassPaneBlock,StairBlock,StandingSignBlock,TintedParticleLeavesBlock,TrapDoorBlock,TrappedChestBlock,UntintedParticleLeavesBlock,WallBlock,WallHangingSignBlock,WallSignBlock,WaterloggedTransparentBlock,WeatheringCopperBarsBlock,WeatheringCopperChainBlock,WeatheringCopperChestBlock,WeatheringCopperGolemStatueBlock,WeatheringCopperGrateBlock,WeatheringCopperSlabBlock,WeatheringCopperStairBlock,WeatheringCopperTrapDoorBlock,WeatheringLanternBlock,WeatheringLightningRodBlock
public interface IBucketPickupExtension
-
Method Summary
Modifier and TypeMethodDescriptiondefault Optional<SoundEvent> getPickupSound(BlockState state) State sensitive variant ofBucketPickup.getPickupSound().private BucketPickupself()
-
Method Details
-
self
-
getPickupSound
State sensitive variant ofBucketPickup.getPickupSound(). Override to change the pickup sound based on theBlockStateof the object being picked up.- Parameters:
state- State- Returns:
- Sound event for pickup sound or empty if there isn't a pickup sound.
-