Package net.minecraft.network.play.server

Examples of net.minecraft.network.play.server.S3FPacketCustomPayload


        String[] params = event.getParameters();
        String send = event.getTypeId();
        if (params.length > 0) {
            send = send + "|" + StringUtil.joinString(params, "|");
        }
        S3FPacketCustomPayload packet = new S3FPacketCustomPayload(ForgeWorldEdit.CUI_PLUGIN_CHANNEL, send.getBytes(WECUIPacketHandler.UTF_8_CHARSET));
        this.player.playerNetServerHandler.sendPacket(packet);
    }
View Full Code Here


        {
            TerrainControl.printStackTrace(LogMarker.FATAL, e);
        }

        // Make the packet
        S3FPacketCustomPayload packet = new S3FPacketCustomPayload(PluginStandardValues.ChannelName, outputStream.toByteArray());

        // Send the packet
        player.playerNetServerHandler.sendPacket(packet);
    }
View Full Code Here

        return new C17PacketCustomPayload(channel, payload.array());
    }

    public Packet toS3FPacket()
    {
        return new S3FPacketCustomPayload(channel, payload.array());
    }
View Full Code Here

TOP

Related Classes of net.minecraft.network.play.server.S3FPacketCustomPayload

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.