SoundEventAccessor .java

net.minecraft.client.audio.SoundEventAccessor (class, 24 lines): implements ISoundEventAccessor. members: entry, weight, cloneEntry, getWeight.

net.minecraft.client.audioclass24 linesclient485 B

Implements

API Surface (2)

int getWeight()
SoundPoolEntry cloneEntry()

Fields & Constants (2)

entry
weight

Code Graph: Dependencies (2)

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

Full Source

SoundEventAccessor.java24 lines · MCP 1.8.9 · verbatimOriginal ↗
1
package net.minecraft.client.audio;
2
3
public class SoundEventAccessor implements ISoundEventAccessor<SoundPoolEntry>
4
{
5
    private final SoundPoolEntry entry;
6
    private final int weight;
7
8
    SoundEventAccessor(SoundPoolEntry entry, int weight)
9
    {
10
        this.entry = entry;
11
        this.weight = weight;
12
    }
13
14
    public int getWeight()
15
    {
16
        return this.weight;
17
    }
18
19
    public SoundPoolEntry cloneEntry()
20
    {
21
        return new SoundPoolEntry(this.entry);
22
    }
23
}
24

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