Uses of Class
net.neoforged.neoforge.common.SoundAction
Packages that use SoundAction
Package
Description
-
Uses of SoundAction in net.neoforged.neoforge.common
Fields in net.neoforged.neoforge.common declared as SoundActionModifier and TypeFieldDescriptionstatic final SoundActionSoundActions.BUCKET_EMPTYWhen a bucket is emptying a fluid.static final SoundActionSoundActions.BUCKET_FILLWhen a bucket is being filled by a fluid.static final SoundActionSoundActions.CAULDRON_DRIPWhen a Pointed Dripstone drips this fluid into an empty cauldron.static final SoundActionSoundActions.FLUID_VAPORIZEWhen the fluid is being vaporized.Fields in net.neoforged.neoforge.common with type parameters of type SoundActionModifier and TypeFieldDescriptionprivate static final Map<String, SoundAction> SoundAction.ACTIONSMethods in net.neoforged.neoforge.common that return SoundActionModifier and TypeMethodDescriptionstatic SoundActionGets or creates a newSoundActionfor the given name. -
Uses of SoundAction in net.neoforged.neoforge.common.extensions
Methods in net.neoforged.neoforge.common.extensions with parameters of type SoundActionModifier and TypeMethodDescriptiondefault @Nullable SoundEventIEntityExtension.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.neoforged.neoforge.fluids
Fields in net.neoforged.neoforge.fluids with type parameters of type SoundActionModifier and TypeFieldDescriptionprivate final Map<SoundAction, SoundEvent> FluidType.Properties.soundsprotected final Map<SoundAction, SoundEvent> FluidType.soundsA map of actions performed to sound that should be played.Methods in net.neoforged.neoforge.fluids with parameters of type SoundActionModifier and TypeMethodDescription@Nullable SoundEventFluidType.getSound(Entity entity, SoundAction action) Returns a sound to play when a certain action is performed by the entity in the fluid.@Nullable SoundEventFluidType.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 SoundEventFluidType.getSound(SoundAction action) Returns a sound to play when a certain action is performed.@Nullable SoundEventFluidType.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.