Java 类net.minecraft.util.org.apache.commons.io.Charsets 实例源码

项目:CraftBukkit    文件:EntityPlayer.java   
public void setResourcePack(String s) {
    this.playerConnection.sendPacket(new PacketPlayOutCustomPayload("MC|RPack", s.getBytes(Charsets.UTF_8)));
}
项目:Tweakkit-Server    文件:EntityPlayer.java   
public void setResourcePack(String s) {
    this.playerConnection.sendPacket(new PacketPlayOutCustomPayload("MC|RPack", s.getBytes(Charsets.UTF_8)));
}