public class SoundRewriter extends Object
Modifier and Type | Field and Description |
---|---|
protected IdRewriteFunction |
idRewriter |
protected Protocol |
protocol |
Constructor and Description |
---|
SoundRewriter(Protocol protocol) |
SoundRewriter(Protocol protocol,
IdRewriteFunction idRewriter) |
Modifier and Type | Method and Description |
---|---|
PacketHandler |
getSoundHandler() |
void |
registerSound(ClientboundPacketType packetType) |
protected final Protocol protocol
protected final IdRewriteFunction idRewriter
public SoundRewriter(Protocol protocol)
public SoundRewriter(Protocol protocol, IdRewriteFunction idRewriter)
public void registerSound(ClientboundPacketType packetType)
public PacketHandler getSoundHandler()
Copyright © 2016–2021. All rights reserved.