Package api.block
Class ModStepSound
java.lang.Object
net.minecraft.src.StepSound
api.block.ModStepSound
- Direct Known Subclasses:
CropStepSound,GrassStepSound,StoneStepSound
-
Field Summary
FieldsFields inherited from class net.minecraft.src.StepSound
stepSoundMap, stepSoundName, stepSoundPitch, stepSoundVolume -
Constructor Summary
ConstructorsConstructorDescriptionModStepSound(String sound, float volume, float pitch) ModStepSound(String sound, float volume, float pitch, boolean hasSeparatePlaceSound) -
Method Summary
Modifier and TypeMethodDescriptionUsed when a block breaks, EXA: Player break, Shep eating grass, etc..Used when a player places a block.Used when a entity walks over, or otherwise interacts with the block.Methods inherited from class net.minecraft.src.StepSound
getBreakPitch, getBreakVolume, getPitch, getPlacePitch, getPlaceVolume, getStepPitch, getStepVolume, getVolume
-
Field Details
-
namespace
-
modSoundName
-
hasSeparatePlaceSound
public final boolean hasSeparatePlaceSound
-
-
Constructor Details
-
ModStepSound
-
ModStepSound
-
-
Method Details
-
getBreakSound
Description copied from class:StepSoundUsed when a block breaks, EXA: Player break, Shep eating grass, etc..- Overrides:
getBreakSoundin classStepSound
-
getStepSound
Description copied from class:StepSoundUsed when a entity walks over, or otherwise interacts with the block.- Overrides:
getStepSoundin classStepSound
-
getPlaceSound
Description copied from class:StepSoundUsed when a player places a block.- Overrides:
getPlaceSoundin classStepSound
-