Uses of Class
net.minecraftforge.common.SoundAction
Packages that use SoundAction
Package
Description
-
Uses of SoundAction in net.minecraftforge.common
Fields in net.minecraftforge.common declared as SoundActionModifier 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.Fields in net.minecraftforge.common with type parameters of type SoundActionModifier and TypeFieldDescriptionprivate static final Map<String,
SoundAction> SoundAction.ACTIONS
Methods in net.minecraftforge.common that return SoundActionModifier and TypeMethodDescriptionstatic SoundAction
Gets or creates a newSoundAction
for the given name. -
Uses of SoundAction in net.minecraftforge.common.extensions
Methods in net.minecraftforge.common.extensions with parameters of type SoundActionModifier 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
Fields in net.minecraftforge.fluids with type parameters of type SoundActionModifier 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.Methods in net.minecraftforge.fluids with parameters of type SoundActionModifier 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.