ISound .java

net.minecraft.client.audio.ISound (interface): members: AttenuationType, getAttenuationType, getSoundLocation, getRepeatDelay, canRepeat, getXPosF.

net.minecraft.client.audiointerface43 linesclient671 B

API Surface (1)

int getTypeInt()

Code Graph: Dependencies (1)

Edges (calls / imports / inherits / references) resolved by graphify from the AST. Every chip opens the class source.

Full Source

ISound.java43 lines · MCP 1.8.9 · verbatimOriginal ↗
1
package net.minecraft.client.audio;
2
3
import net.minecraft.util.ResourceLocation;
4
5
public interface ISound
6
{
7
    ResourceLocation getSoundLocation();
8
9
    boolean canRepeat();
10
11
    int getRepeatDelay();
12
13
    float getVolume();
14
15
    float getPitch();
16
17
    float getXPosF();
18
19
    float getYPosF();
20
21
    float getZPosF();
22
23
    ISound.AttenuationType getAttenuationType();
24
25
    public static enum AttenuationType
26
    {
27
        NONE(0),
28
        LINEAR(2);
29
30
        private final int type;
31
32
        private AttenuationType(int typeIn)
33
        {
34
            this.type = typeIn;
35
        }
36
37
        public int getTypeInt()
38
        {
39
            return this.type;
40
        }
41
    }
42
}
43

Deobfuscated MCP 1.8.9 source of ISound from Marcelektro/MavenMCP-1.8.9 (net/minecraft/client/audio/ISound.java), stored verbatim.