private PacketContainer newRemovePacket() {
        // http://wiki.vg/Protocol#Teams
        PacketContainer packet = new PacketContainer(PacketType.Play.Server.SCOREBOARD_TEAM);

        // remove packet only has the default fields

        // set team name - 	String (16)
        packet.getStrings().write(0, getId());

        // set mode - byte
        packet.getIntegers().write(GTEQ_1_13 ? 0 : 1, UpdateType.REMOVE.getCode());

        return packet;
    }
Creates a new scoreboard team

@param id the id of this team
@param displayName the initial display name
helper/src/main/java/me/lucko/helper/scoreboard/PacketScoreboardTeam.java