Search in sources :

Example 1 with BlockItemPackets1_11

use of com.viaversion.viabackwards.protocol.protocol1_10to1_11.packets.BlockItemPackets1_11 in project ViaBackwards by ViaVersion.

the class Protocol1_10To1_11 method registerPackets.

@Override
protected void registerPackets() {
    (blockItemPackets = new BlockItemPackets1_11(this)).register();
    entityPackets.register();
    new PlayerPackets1_11().register(this);
    SoundRewriter soundRewriter = new SoundRewriter(this);
    soundRewriter.registerNamedSound(ClientboundPackets1_9_3.NAMED_SOUND);
    soundRewriter.registerSound(ClientboundPackets1_9_3.SOUND);
}
Also used : BlockItemPackets1_11(com.viaversion.viabackwards.protocol.protocol1_10to1_11.packets.BlockItemPackets1_11) SoundRewriter(com.viaversion.viabackwards.api.rewriters.SoundRewriter) PlayerPackets1_11(com.viaversion.viabackwards.protocol.protocol1_10to1_11.packets.PlayerPackets1_11)

Aggregations

SoundRewriter (com.viaversion.viabackwards.api.rewriters.SoundRewriter)1 BlockItemPackets1_11 (com.viaversion.viabackwards.protocol.protocol1_10to1_11.packets.BlockItemPackets1_11)1 PlayerPackets1_11 (com.viaversion.viabackwards.protocol.protocol1_10to1_11.packets.PlayerPackets1_11)1