Interface IForgeBucketPickup
- All Known Subinterfaces:
BucketPickup,SimpleWaterloggedBlock
- All Known Implementing Classes:
AmethystClusterBlock,BaseCoralFanBlock,BaseCoralPlantBlock,BaseCoralPlantTypeBlock,BaseCoralWallFanBlock,BaseRailBlock,BigDripleafBlock,BigDripleafStemBlock,BubbleColumnBlock,CampfireBlock,CandleBlock,ChainBlock,ChestBlock,ConduitBlock,CoralFanBlock,CoralPlantBlock,CoralWallFanBlock,CrossCollisionBlock,CustomSignsTest.CustomStandingSignBlock,CustomSignsTest.CustomWallSignBlock,DetectorRailBlock,EnderChestBlock,FenceBlock,GlowLichenBlock,HangingRootsBlock,HideNeighborFaceTest.GlassSlab,IronBarsBlock,LadderBlock,LanternBlock,LightBlock,LightningRodBlock,LiquidBlock,NewFluidTest.FluidloggableBlock,PointedDripstoneBlock,PowderSnowBlock,PoweredRailBlock,RailBlock,ScaffoldingBlock,ScaffoldingTest.ScaffoldingMethodTestBlock,SculkSensorBlock,SeaPickleBlock,SignBlock,SlabBlock,SmallDripleafBlock,StainedGlassPaneBlock,StairBlock,StandingSignBlock,TrapDoorBlock,TrappedChestBlock,ValidRailShapeTest.RailSlopeBlock,WallBlock,WallSignBlock,WeatheringCopperSlabBlock,WeatheringCopperStairBlock
public interface IForgeBucketPickup
-
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.
-