Uses of Class
net.minecraftforge.common.SoundAction
Package
Description
-
Uses of SoundAction in net.minecraftforge.common
Modifier and TypeFieldDescriptionstatic final SoundAction
SoundActions.BUCKET_EMPTY
When a bucket is emptying a fluid.static final SoundAction
SoundActions.BUCKET_FILL
When a bucket is being filled by a fluid.static final SoundAction
SoundActions.FLUID_VAPORIZE
When the fluid is being vaporized.Modifier and TypeFieldDescriptionprivate static final Map<String,
SoundAction> SoundAction.ACTIONS
Modifier and TypeMethodDescriptionstatic SoundAction
Gets or creates a newSoundAction
for the given name. -
Uses of SoundAction in net.minecraftforge.common.extensions
Modifier and TypeMethodDescriptiondefault @Nullable SoundEvent
IForgeEntity.getSoundFromFluidType
(FluidType type, SoundAction action) Returns a sound to play when a certain action is performed by the entity in the fluid. -
Uses of SoundAction in net.minecraftforge.fluids
Modifier and TypeFieldDescriptionprivate final Map<SoundAction,
SoundEvent> FluidType.Properties.sounds
protected final Map<SoundAction,
SoundEvent> FluidType.sounds
A map of actions performed to sound that should be played.Modifier and TypeMethodDescription@Nullable SoundEvent
FluidType.getSound
(@Nullable Player player, BlockGetter getter, BlockPos pos, SoundAction action) Returns a sound to play when a certain action is performed at a position.@Nullable SoundEvent
FluidType.getSound
(Entity entity, SoundAction action) Returns a sound to play when a certain action is performed by the entity in the fluid.@Nullable SoundEvent
FluidType.getSound
(SoundAction action) Returns a sound to play when a certain action is performed.@Nullable SoundEvent
FluidType.getSound
(FluidStack stack, SoundAction action) Returns a sound to play when a certain action is performed.FluidType.Properties.sound
(SoundAction action, SoundEvent sound) Sets a sound to play when a certain action is performed.